diff options
Diffstat (limited to 'nanohttp/nanohttp-response.h')
-rwxr-xr-x | nanohttp/nanohttp-response.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/nanohttp/nanohttp-response.h b/nanohttp/nanohttp-response.h index bd7bb50..3b3f532 100755 --- a/nanohttp/nanohttp-response.h +++ b/nanohttp/nanohttp-response.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-response.h,v 1.5 2006/02/27 00:26:23 snowdrop Exp $ + * $Id: nanohttp-response.h,v 1.6 2006/02/27 22:26:02 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -24,10 +24,6 @@ #ifndef NANO_HTTP_RESPONSE_H #define NANO_HTTP_RESPONSE_H -#ifdef __cplusplus -extern "C" { -#endif - #include <nanohttp/nanohttp-stream.h> #include <nanohttp/nanohttp-common.h> #include <nanohttp/nanohttp-mime.h> @@ -47,6 +43,10 @@ typedef struct hresponse char root_part_id[150]; } hresponse_t; +#ifdef __cplusplus +extern "C" { +#endif + herror_t hresponse_new_from_socket(hsocket_t sock, hresponse_t ** out); void hresponse_free(hresponse_t * res); |