From ebde083c541b5d202014c41450a3519f4d08e3c9 Mon Sep 17 00:00:00 2001 From: snowdrop Date: Wed, 20 Oct 2004 14:17:36 +0000 Subject: optimized for visualc 6 --- nanohttp/nanohttp-client.h | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'nanohttp/nanohttp-client.h') diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h index ec4a837..6b54a03 100644 --- a/nanohttp/nanohttp-client.h +++ b/nanohttp/nanohttp-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.h,v 1.10 2004/10/15 15:10:37 snowdrop Exp $ + * $Id: nanohttp-client.h,v 1.11 2004/10/20 14:17:41 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -47,6 +47,7 @@ typedef struct httpc_conn char errmsg[150]; http_output_stream_t *out; int id; /* uniq id */ + int block; }httpc_conn_t; @@ -140,8 +141,8 @@ hresponse_t *httpc_mime_end(httpc_conn_t *conn); Send boundary and part header and continue with next part */ -int -httpc_mime_send_file (httpc_conn_t * conn, + +int httpc_mime_send_file (httpc_conn_t * conn, const char *content_id, const char *content_type, const char *transfer_encoding, -- cgit v1.1-32-gdbae