From f2798d9d9f26f9b0fd730339feb10679fec753df Mon Sep 17 00:00:00 2001 From: snowdrop Date: Mon, 27 Feb 2006 00:00:14 +0000 Subject: added #ifdef __cplusplus { extern "C" macros --- nanohttp/nanohttp-client.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) 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 #include @@ -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 -- cgit v1.1-32-gdbae