[SCM] Samba Shared Repository - branch v3-3-test updated - release-3-2-0pre2-3706-gc9e38fe

Günther Deschner gd at samba.org
Wed Aug 13 11:33:02 GMT 2008


The branch, v3-3-test has been updated
       via  c9e38fef647520e4038f04bd163678bf4b30853d (commit)
      from  3102582f0232359069577174b2faea37e5489014 (commit)

http://gitweb.samba.org/?p=samba.git;a=shortlog;h=v3-3-test


- Log -----------------------------------------------------------------
commit c9e38fef647520e4038f04bd163678bf4b30853d
Author: Günther Deschner <gd at samba.org>
Date:   Tue Aug 12 19:38:22 2008 +0200

    netapi: add c++ guard.
    
    Guenther

-----------------------------------------------------------------------

Summary of changes:
 source/lib/netapi/netapi.h |    9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/netapi/netapi.h b/source/lib/netapi/netapi.h
index dbf293e..5f9cff9 100644
--- 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
 ****************************************************************/
@@ -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__ */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list