From cec0d2ad1ed2d07e8075a348e47238f5bcd54fe8 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Thu, 18 Dec 2003 15:32:09 +0000 Subject: splitted httpc_talk_to_server() --- nanohttp/nanohttp-client.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'nanohttp/nanohttp-client.h') diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h index 7fad690..ed249f8 100644 --- a/nanohttp/nanohttp-client.h +++ b/nanohttp/nanohttp-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.h,v 1.2 2003/12/18 11:14:37 snowdrop Exp $ + * $Id: nanohttp-client.h,v 1.3 2003/12/18 15:32:09 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -70,7 +70,15 @@ int httpc_post_cb(httpc_conn_t *conn, const char *url, httpc_response_callback cb, int content_size, char *content, void *userdata); - + + +int httpc_post_open(httpc_conn_t *conn); +int httpc_post_send(httpc_conn_t *conn, const char* buffer); +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); + #endif -- cgit v1.1-32-gdbae