diff options
Diffstat (limited to 'nanohttp/nanohttp-request.h')
| -rwxr-xr-x | nanohttp/nanohttp-request.h | 10 | 
1 files changed, 5 insertions, 5 deletions
| diff --git a/nanohttp/nanohttp-request.h b/nanohttp/nanohttp-request.h index d89fa91..c0c014c 100755 --- a/nanohttp/nanohttp-request.h +++ b/nanohttp/nanohttp-request.h @@ -1,5 +1,5 @@  /****************************************************************** - *  $Id: nanohttp-request.h,v 1.5 2006/02/27 00:26:23 snowdrop Exp $ + *  $Id: nanohttp-request.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_REQUEST_H  #define NANO_HTTP_REQUEST_H -#ifdef __cplusplus -extern "C" { -#endif -  #include <nanohttp/nanohttp-stream.h>  #include <nanohttp/nanohttp-mime.h> @@ -49,6 +45,10 @@ typedef struct hrequest    char root_part_id[150];  } hrequest_t; +#ifdef __cplusplus +extern "C" { +#endif +  herror_t hrequest_new_from_socket(hsocket_t sock, hrequest_t ** out);  void hrequest_free(hrequest_t * req); | 
