diff options
author | snowdrop | 2004-01-05 10:42:14 +0000 |
---|---|---|
committer | snowdrop | 2004-01-05 10:42:14 +0000 |
commit | 49f500d8b52edea7a9d4ed81c16e83674e04e120 (patch) | |
tree | 98970398aa570187b8def6b80246d8468d9ee847 /nanohttp/nanohttp-client.h | |
parent | cec0d2ad1ed2d07e8075a348e47238f5bcd54fe8 (diff) | |
download | csoap-49f500d8b52edea7a9d4ed81c16e83674e04e120.tar.gz csoap-49f500d8b52edea7a9d4ed81c16e83674e04e120.tar.bz2 |
startet post function
Diffstat (limited to 'nanohttp/nanohttp-client.h')
-rw-r--r-- | nanohttp/nanohttp-client.h | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h index ed249f8..19ae110 100644 --- a/nanohttp/nanohttp-client.h +++ b/nanohttp/nanohttp-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.h,v 1.3 2003/12/18 15:32:09 snowdrop Exp $ + * $Id: nanohttp-client.h,v 1.4 2004/01/05 10:42:15 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -72,12 +72,15 @@ int httpc_post_cb(httpc_conn_t *conn, const char *url, -int httpc_post_open(httpc_conn_t *conn); -int httpc_post_send(httpc_conn_t *conn, const char* buffer); +/* + Chunked POST Module + */ +int httpc_post_open(httpc_conn_t *conn, const char *url); +int httpc_post_send(httpc_conn_t *conn, const char* buffer, int bufsize); hresponse_t *httpc_post_finish(httpc_conn_t *conn); int httpc_post_finish_cb(httpc_conn_t *conn, httpc_response_start_callback start_cb, - httpc_response_callback cb); + httpc_response_callback cb, void *userdata); #endif |