git.samba.org
/
metze
/
samba
/
wip.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
cde6c64
)
netapi: add c++ guard.
author
Günther Deschner
<gd@samba.org>
Tue, 12 Aug 2008 17:38:22 +0000
(19:38 +0200)
committer
Gü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
patch
|
blob
|
history
diff --git
a/source3/lib/netapi/netapi.h
b/source3/lib/netapi/netapi.h
index dbf293e25bd1f7daff012c0a760dfd6947b7f1f1..5f9cff97db5da180d36116a25ba33817fbde0083 100644
(file)
--- 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__ */