r15147: make some more stuff static
authorStefan Metzmacher <metze@samba.org>
Thu, 20 Apr 2006 11:42:03 +0000 (11:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:11 +0000 (14:04 -0500)
metze

source/wrepl_server/wrepl_out_helpers.c
source/wrepl_server/wrepl_out_helpers.h

index e1dca206718aeef3c9c674353a75acf8c8b0c647..8be6cab85ea89d9846177887913d8ae1f74ae679 100644 (file)
@@ -228,6 +228,18 @@ static NTSTATUS wreplsrv_out_connect_recv(struct composite_context *c, TALLOC_CT
        
 }
 
+struct wreplsrv_pull_table_io {
+       struct {
+               struct wreplsrv_partner *partner;
+               uint32_t num_owners;
+               struct wrepl_wins_owner *owners;
+       } in;
+       struct {
+               uint32_t num_owners;
+               struct wrepl_wins_owner *owners;
+       } out;
+};
+
 enum wreplsrv_pull_table_stage {
        WREPLSRV_PULL_TABLE_STAGE_WAIT_CONNECTION,
        WREPLSRV_PULL_TABLE_STAGE_WAIT_TABLE_REPLY,
@@ -318,7 +330,7 @@ static void wreplsrv_pull_table_handler_req(struct wrepl_request *req)
        return;
 }
 
-struct composite_context *wreplsrv_pull_table_send(TALLOC_CTX *mem_ctx, struct wreplsrv_pull_table_io *io)
+static struct composite_context *wreplsrv_pull_table_send(TALLOC_CTX *mem_ctx, struct wreplsrv_pull_table_io *io)
 {
        struct composite_context *c = NULL;
        struct wreplsrv_service *service = io->in.partner->service;
@@ -357,8 +369,8 @@ failed:
        return NULL;
 }
 
-NTSTATUS wreplsrv_pull_table_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
-                                 struct wreplsrv_pull_table_io *io)
+static NTSTATUS wreplsrv_pull_table_recv(struct composite_context *c, TALLOC_CTX *mem_ctx,
+                                        struct wreplsrv_pull_table_io *io)
 {
        NTSTATUS status;
 
index ead24fc643150555d443c9e6dfeb85b64d619a7b..5154ca3f9c83be3b234ade2dea8629be0fa4d2b7 100644 (file)
    Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
 */
 
-struct wreplsrv_pull_table_io {
-       struct {
-               struct wreplsrv_partner *partner;
-               uint32_t num_owners;
-               struct wrepl_wins_owner *owners;
-       } in;
-       struct {
-               uint32_t num_owners;
-               struct wrepl_wins_owner *owners;
-       } out;
-};
-
 struct wreplsrv_pull_names_io {
        struct {
                struct wreplsrv_partner *partner;