diff options
author | snowdrop | 2006-02-27 00:00:14 +0000 |
---|---|---|
committer | snowdrop | 2006-02-27 00:00:14 +0000 |
commit | f2798d9d9f26f9b0fd730339feb10679fec753df (patch) | |
tree | 307eecf8e955bb49b2e8d754ff0f3f59b7330e24 | |
parent | 4b2f6cb757f6f0f0c031b50331ddb57c65dead07 (diff) | |
download | csoap-f2798d9d9f26f9b0fd730339feb10679fec753df.tar.gz csoap-f2798d9d9f26f9b0fd730339feb10679fec753df.tar.bz2 |
added #ifdef __cplusplus {
extern "C" macros
-rw-r--r-- | nanohttp/nanohttp-client.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-client.h b/nanohttp/nanohttp-client.h index 221ae34..d77f80f 100644 --- a/nanohttp/nanohttp-client.h +++ b/nanohttp/nanohttp-client.h @@ -1,5 +1,5 @@ /****************************************************************** - * $Id: nanohttp-client.h,v 1.20 2006/02/18 20:14:36 snowdrop Exp $ + * $Id: nanohttp-client.h,v 1.21 2006/02/27 00:00:14 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003 Ferhat Ayaz @@ -24,6 +24,9 @@ #ifndef NANO_HTTP_CLIENT_H #define NANO_HTTP_CLIENT_H +#ifdef __cplusplus +extern "C" { +#endif #include <nanohttp/nanohttp-common.h> #include <nanohttp/nanohttp-socket.h> @@ -164,4 +167,8 @@ herror_t httpc_mime_send_file(httpc_conn_t * conn, const char *transfer_encoding, const char *filename); +#ifdef __cplusplus +} +#endif + #endif |