diff options
author | snowdrop | 2006-02-27 00:26:23 +0000 |
---|---|---|
committer | snowdrop | 2006-02-27 00:26:23 +0000 |
commit | c734a9e1a4fc7418911d8c50817d619221d2cd42 (patch) | |
tree | 78c4cb6456957d0dc606e82b10b12d9a539c7e02 /nanohttp/nanohttp-mime.h | |
parent | f2798d9d9f26f9b0fd730339feb10679fec753df (diff) | |
download | csoap-c734a9e1a4fc7418911d8c50817d619221d2cd42.tar.gz csoap-c734a9e1a4fc7418911d8c50817d619221d2cd42.tar.bz2 |
Added c++ macro
#ifdef __cplusplus
extern "C" {
#endif
...
#ifdef __cplusplus
}
#endf
Diffstat (limited to 'nanohttp/nanohttp-mime.h')
-rwxr-xr-x | nanohttp/nanohttp-mime.h | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/nanohttp/nanohttp-mime.h b/nanohttp/nanohttp-mime.h index 7ee04b0..bf3c8c0 100755 --- a/nanohttp/nanohttp-mime.h +++ b/nanohttp/nanohttp-mime.h @@ -3,7 +3,7 @@ * | \/ | | | | \/ | | _/ * |_''_| |_| |_''_| |_'/ PARSER * -* $Id: nanohttp-mime.h,v 1.6 2006/01/10 11:29:05 snowdrop Exp $ +* $Id: nanohttp-mime.h,v 1.7 2006/02/27 00:26:23 snowdrop Exp $ * * CSOAP Project: A http client/server library in C * Copyright (C) 2003-2004 Ferhat Ayaz @@ -29,6 +29,10 @@ #ifndef NANO_HTTP_MIME_PARSER_H #define NANO_HTTP_MIME_PARSER_H +#ifdef __cplusplus +extern "C" { +#endif + #include <nanohttp/nanohttp-common.h> #include <nanohttp/nanohttp-stream.h> #include <stdlib.h> @@ -44,5 +48,8 @@ herror_t mime_get_attachments(content_type_t * ctype, http_input_stream_t * in, attachments_t ** dest); +#ifdef __cplusplus +} +#endif #endif |