From f1e28a0b410169d3bfc0a069bf5de50c6cc8a27c Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Fri, 5 Mar 2010 15:49:27 +0100 Subject: s4:libcli/wrepl: make struct wrepl_request private to winsrepl.c metze --- source4/libcli/wrepl/winsrepl.h | 31 ++----------------------------- 1 file changed, 2 insertions(+), 29 deletions(-) (limited to 'source4/libcli/wrepl/winsrepl.h') diff --git a/source4/libcli/wrepl/winsrepl.h b/source4/libcli/wrepl/winsrepl.h index 18838040ae..047e5d21c8 100644 --- a/source4/libcli/wrepl/winsrepl.h +++ b/source4/libcli/wrepl/winsrepl.h @@ -23,6 +23,8 @@ #include "librpc/gen_ndr/nbt.h" #include "librpc/gen_ndr/winsrepl.h" +struct wrepl_request; + /* main context structure for the wins replication client library */ @@ -59,35 +61,6 @@ struct wrepl_send_ctrl { bool disconnect_after_send; }; -enum wrepl_request_internal_state { - WREPL_REQUEST_INIT = 0, - WREPL_REQUEST_RECV = 1, - WREPL_REQUEST_DONE = 2, - WREPL_REQUEST_ERROR = 3 -}; - -/* - a WINS replication request -*/ -struct wrepl_request { - struct wrepl_request *next, *prev; - struct wrepl_socket *wrepl_socket; - - enum wrepl_request_internal_state state; - bool trigger; - NTSTATUS status; - - struct tevent_timer *te; - - struct wrepl_packet *packet; - - struct { - void (*fn)(struct wrepl_request *); - void *private_data; - } async; -}; - - /* setup an association */ -- cgit