From 93d2a982fc98cc0bcd2896b9d1e6cd50fe384ae9 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Tue, 12 Aug 2008 19:38:22 +0200 Subject: netapi: add c++ guard. Guenther (This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d) --- source3/lib/netapi/netapi.h | 9 ++++++++- 1 file changed, 8 insertions(+), 1 deletion(-) (limited to 'source3/lib/netapi') diff --git a/source3/lib/netapi/netapi.h b/source3/lib/netapi/netapi.h index dbf293e25b..5f9cff97db 100644 --- a/source3/lib/netapi/netapi.h +++ b/source3/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__ */ -- cgit