diff options
author | snowdrop | 2005-12-19 14:18:26 +0000 |
---|---|---|
committer | snowdrop | 2005-12-19 14:18:26 +0000 |
commit | 8684b8cf790b76fc68e2cc2b7f797c505c70ee2f (patch) | |
tree | 57a5b9a7280a4dd18ebd0a5f5c64cfafaa024418 /nanohttp/nanohttp-client.h | |
parent | 99a176eedc568df17240abdb0abad9b0931b791e (diff) | |
download | csoap-8684b8cf790b76fc68e2cc2b7f797c505c70ee2f.tar.gz csoap-8684b8cf790b76fc68e2cc2b7f797c505c70ee2f.tar.bz2 |
pathed stuf from mailinglist after 1.0.4rc1
Diffstat (limited to 'nanohttp/nanohttp-client.h')
-rw-r--r-- | nanohttp/nanohttp-client.h | 10 |
1 files changed, 8 insertions, 2 deletions
diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h index 020f7e3..395b29a 100644 --- a/nanohttp/nanohttp-client.h +++ b/nanohttp/nanohttp-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.h,v 1.15 2005/07/27 07:45:57 snowdrop Exp $ + * $Id: nanohttp-client.h,v 1.16 2005/12/19 14:18:26 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -76,11 +76,17 @@ httpc_conn_t* httpc_new(); void httpc_close_free(httpc_conn_t* conn); /** - Release a connections + Release a connection + (use httpc_close_free() instead) */ void httpc_free(httpc_conn_t* conn); /** + * Close and release a connection + */ +void httpc_close_free(httpc_conn_t* conn); + +/** Set header element (key,value) pair. */ int httpc_set_header(httpc_conn_t *conn, const char* key, const char* value); |