summaryrefslogtreecommitdiffstats
path: root/nanohttp/nanohttp-client.h
diff options
context:
space:
mode:
authorGravatar snowdrop2004-01-05 10:42:14 +0000
committerGravatar snowdrop2004-01-05 10:42:14 +0000
commit49f500d8b52edea7a9d4ed81c16e83674e04e120 (patch)
tree98970398aa570187b8def6b80246d8468d9ee847 /nanohttp/nanohttp-client.h
parentcec0d2ad1ed2d07e8075a348e47238f5bcd54fe8 (diff)
downloadcsoap-49f500d8b52edea7a9d4ed81c16e83674e04e120.tar.gz
csoap-49f500d8b52edea7a9d4ed81c16e83674e04e120.tar.bz2
startet post function
Diffstat (limited to 'nanohttp/nanohttp-client.h')
-rw-r--r--nanohttp/nanohttp-client.h11
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