netapi: add c++ guard.
authorGünther Deschner <gd@samba.org>
Tue, 12 Aug 2008 17:38:22 +0000 (19:38 +0200)
committerGünther Deschner <gd@samba.org>
Wed, 13 Aug 2008 11:29:40 +0000 (13:29 +0200)
Guenther
(This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d)

source3/lib/netapi/netapi.h

index dbf293e25bd1f7daff012c0a760dfd6947b7f1f1..5f9cff97db5da180d36116a25ba33817fbde0083 100644 (file)
 #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__ */