From 52767927889b305fe18b28ddfc5351f08b703d2d Mon Sep 17 00:00:00 2001 From: m0gg Date: Mon, 6 Mar 2006 13:37:38 +0000 Subject: Various changes see ChangeLog --- nanohttp/nanohttp-client.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'nanohttp/nanohttp-client.h') diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h index 5562ea6..b37001a 100644 --- a/nanohttp/nanohttp-client.h +++ b/nanohttp/nanohttp-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.h,v 1.22 2006/02/27 22:26:02 snowdrop Exp $ + * $Id: nanohttp-client.h,v 1.23 2006/03/06 13:37:38 m0gg Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -93,6 +93,9 @@ int httpc_set_header(httpc_conn_t * conn, const char *key, const char *value); int httpc_add_header(httpc_conn_t *conn, const char *key, const char *value); void httpc_add_headers(httpc_conn_t *conn, const hpair_t *values); +int httpc_set_basic_authorization(httpc_conn_t *conn, const char *user, const char *password); +int httpc_set_basic_proxy_authorization(httpc_conn_t *conn, const char *user, const char *password); + /** Invoke a "GET" method request and receive the response */ -- cgit v1.1-32-gdbae