From: Günther Deschner Date: Tue, 12 Aug 2008 17:38:22 +0000 (+0200) Subject: netapi: add c++ guard. X-Git-Tag: samba-3.3.0pre1~113 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=c9e38fef647520e4038f04bd163678bf4b30853d;p=thirdparty%2Fsamba.git netapi: add c++ guard. Guenther --- diff --git a/source/lib/netapi/netapi.h b/source/lib/netapi/netapi.h index dbf293e25bd..5f9cff97db5 100644 --- a/source/lib/netapi/netapi.h +++ b/source/lib/netapi/netapi.h @@ -20,6 +20,10 @@ #ifndef __LIB_NETAPI_H__ #define __LIB_NETAPI_H__ +#ifdef __cplusplus +extern "C" { +#endif /* __cplusplus */ + /**************************************************************** NET_API_STATUS ****************************************************************/ @@ -1200,5 +1204,8 @@ NET_API_STATUS NetLocalGroupSetMembers(const char * server_name /* [in] */, NET_API_STATUS NetRemoteTOD(const char * server_name /* [in] */, uint8_t **buf /* [out] [ref] */); +#ifdef __cplusplus +} +#endif /* __cplusplus */ -#endif +#endif /* __LIB_NETAPI_H__ */