summaryrefslogtreecommitdiff
path: root/source4/wrepl_server
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2006-04-20 11:42:03 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:11 -0500
commitc53c91963aaa717c9c612715bd3f01a5a6d76b35 (patch)
tree4fc382f0ad0aac04a6bedc13a37e6094fc3365fa /source4/wrepl_server
parentbc1314bfd3d0eda0521031da7e406ae8cd32dd6c (diff)
downloadsamba-c53c91963aaa717c9c612715bd3f01a5a6d76b35.tar.gz
samba-c53c91963aaa717c9c612715bd3f01a5a6d76b35.tar.bz2
samba-c53c91963aaa717c9c612715bd3f01a5a6d76b35.zip
r15147: make some more stuff static
metze (This used to be commit c49ac7f40d366aad3701623dd36568efb88eccb5)
Diffstat (limited to 'source4/wrepl_server')
-rw-r--r--source4/wrepl_server/wrepl_out_helpers.c18
-rw-r--r--source4/wrepl_server/wrepl_out_helpers.h12
2 files changed, 15 insertions, 15 deletions
diff --git a/source4/wrepl_server/wrepl_out_helpers.c b/source4/wrepl_server/wrepl_out_helpers.c
index e1dca20671..8be6cab85e 100644
--- a/source4/wrepl_server/wrepl_out_helpers.c
+++ b/source4/wrepl_server/wrepl_out_helpers.c
@@ -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;
diff --git a/source4/wrepl_server/wrepl_out_helpers.h b/source4/wrepl_server/wrepl_out_helpers.h
index ead24fc643..5154ca3f9c 100644
--- a/source4/wrepl_server/wrepl_out_helpers.h
+++ b/source4/wrepl_server/wrepl_out_helpers.h
@@ -20,18 +20,6 @@
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;