summaryrefslogtreecommitdiffstats
path: root/nanohttp
diff options
context:
space:
mode:
Diffstat (limited to 'nanohttp')
-rw-r--r--nanohttp/nanohttp-client.h9
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