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

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


The branch, v3-2-test has been updated
       via  5ea69915a75447d9f66b651ef5601c0a7ac6cfbb (commit)
      from  96d683d3ec1e95cddf9ec96326ebaf8e9cc2079c (commit)

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


- Log -----------------------------------------------------------------
commit 5ea69915a75447d9f66b651ef5601c0a7ac6cfbb
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 |   10 +++++++++-
 1 files changed, 9 insertions(+), 1 deletions(-)


Changeset truncated at 500 lines:

diff --git a/source/lib/netapi/netapi.h b/source/lib/netapi/netapi.h
index e9fcc37..ce97e4c 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
 ****************************************************************/
@@ -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__ */


-- 
Samba Shared Repository


More information about the samba-cvs mailing list