From 998db177ba25d0fb1fc12b1528025bf975b7c6ad Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 30 Aug 1998 15:58:17 +0000 Subject: finished the asynchronous browse synchronisation code. It even seems to work (not a lot of testing yet though). Now we just need to deal with people worried about having more than two nmbd processes sometimes. (the async processes are created on demand for browse sync, so you'll only see more than 2 occasionally) (This used to be commit a350a54680e4170e2adf571b010ea508e7291780) --- source3/include/proto.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'source3/include/proto.h') diff --git a/source3/include/proto.h b/source3/include/proto.h index 56e7d7f88f..784d130d23 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -579,6 +579,7 @@ void dmb_expire_and_sync_browser_lists(time_t t); void announce_and_sync_with_domain_master_browser( struct subnet_record *subrec, struct work_record *work); void collect_all_workgroup_names_from_wins_server(time_t t); +void sync_all_dmbs(time_t t); /*The following definitions come from nmbd/nmbd_elections.c */ @@ -836,6 +837,13 @@ BOOL we_are_a_wins_client(void); struct subnet_record *get_next_subnet_maybe_unicast(struct subnet_record *subrec); struct subnet_record *get_next_subnet_maybe_unicast_or_wins_server(struct subnet_record *subrec); +/*The following definitions come from nmbd/nmbd_synclists.c */ + +void sync_browse_lists(struct work_record *work, + char *name, int nm_type, + struct in_addr ip, BOOL local, BOOL servers); +void sync_check_completion(void); + /*The following definitions come from nmbd/nmbd_winsproxy.c */ void make_wins_proxy_name_query_request( struct subnet_record *subrec, -- cgit