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 <[EMAIL PROTECTED]>
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

Reply via email to