diff options
author | Günther Deschner <gd@samba.org> | 2008-08-12 19:38:22 +0200 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2008-08-13 13:29:40 +0200 |
commit | 93d2a982fc98cc0bcd2896b9d1e6cd50fe384ae9 (patch) | |
tree | 2f9b393e3fd6c3e411641620391e2756c1028b7c /source3/lib/netapi | |
parent | cde6c647af2a223aaf18a5420a9d4b0ce4c23630 (diff) | |
download | samba-93d2a982fc98cc0bcd2896b9d1e6cd50fe384ae9.tar.gz samba-93d2a982fc98cc0bcd2896b9d1e6cd50fe384ae9.tar.bz2 samba-93d2a982fc98cc0bcd2896b9d1e6cd50fe384ae9.zip |
netapi: add c++ guard.
Guenther
(This used to be commit c9e38fef647520e4038f04bd163678bf4b30853d)
Diffstat (limited to 'source3/lib/netapi')
-rw-r--r-- | source3/lib/netapi/netapi.h | 9 |
1 files changed, 8 insertions, 1 deletions
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__ */ |