Keep libnetapi_NetX calls static for now.
authorGünther Deschner <gd@samba.org>
Thu, 20 Dec 2007 11:12:06 +0000 (12:12 +0100)
committerGünther Deschner <gd@samba.org>
Fri, 21 Dec 2007 14:29:11 +0000 (15:29 +0100)
Guenther
(This used to be commit c255654c68923aca3e258906e49be82d719d5ccd)

source3/lib/netapi/joindomain.c
source3/lib/netapi/serverinfo.c

index 0c8d645db975acd1e4434502a2615e8aaa3afd3e..0c3e0215208dbb1734c45887b65661b5a70edb23 100644 (file)
@@ -461,10 +461,10 @@ static WERROR NetGetJoinInformationLocal(struct libnetapi_ctx *ctx,
        return WERR_OK;
 }
 
-WERROR libnetapi_NetGetJoinInformation(struct libnetapi_ctx *ctx,
-                                      const char *server_name,
-                                      const char **name_buffer,
-                                      uint16_t *name_type)
+static WERROR libnetapi_NetGetJoinInformation(struct libnetapi_ctx *ctx,
+                                             const char *server_name,
+                                             const char **name_buffer,
+                                             uint16_t *name_type)
 {
        if (!server_name || is_myname_or_ipaddr(server_name)) {
                return NetGetJoinInformationLocal(ctx,
index d1bfa47649ddbe20b61356f3e004d4f6d4ed06d5..276a98c15e47074707ac28c011cbbd26926b6cca 100644 (file)
@@ -102,10 +102,10 @@ static WERROR NetServerGetInfoRemote(struct libnetapi_ctx *ctx,
        return werr;
 }
 
-WERROR libnetapi_NetServerGetInfo(struct libnetapi_ctx *ctx,
-                                 const char *server_name,
-                                 uint32_t level,
-                                 uint8_t **buffer)
+static WERROR libnetapi_NetServerGetInfo(struct libnetapi_ctx *ctx,
+                                        const char *server_name,
+                                        uint32_t level,
+                                        uint8_t **buffer)
 {
        if (!server_name || is_myname_or_ipaddr(server_name)) {
                return NetServerGetInfoLocal(ctx,
@@ -248,11 +248,11 @@ static WERROR NetServerSetInfoRemote(struct libnetapi_ctx *ctx,
        return werr;
 }
 
-WERROR libnetapi_NetServerSetInfo(struct libnetapi_ctx *ctx,
-                                 const char *server_name,
-                                 uint32_t level,
-                                 uint8_t *buffer,
-                                 uint32_t *parm_error)
+static WERROR libnetapi_NetServerSetInfo(struct libnetapi_ctx *ctx,
+                                        const char *server_name,
+                                        uint32_t level,
+                                        uint8_t *buffer,
+                                        uint32_t *parm_error)
 {
        if (!server_name || is_myname_or_ipaddr(server_name)) {
                return NetServerSetInfoLocal(ctx,