git.samba.org
/
samba.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
96d683d
)
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:32:23 +0000
(13:32 +0200)
Guenther
source/lib/netapi/netapi.h
patch
|
blob
|
history
diff --git
a/source/lib/netapi/netapi.h
b/source/lib/netapi/netapi.h
index e9fcc3777a65b6a9f29d392768fe7164db75b11c..ce97e4c02e8ecf25fb47b10727585e824ebec6f2 100644
(file)
--- 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
****************************************************************/
@@
-459,4
+463,8
@@
NET_API_STATUS NetQueryDisplayInformation(const char * server_name /* [in] [uniq
uint32_t *entries_read /* [out] [ref] */,
void **buffer /* [out] [noprint,ref] */);
-#endif
+#ifdef __cplusplus
+}
+#endif /* __cplusplus */
+
+#endif /* __LIB_NETAPI_H__ */