summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1998-08-30 15:58:17 +0000
committerAndrew Tridgell <tridge@samba.org>1998-08-30 15:58:17 +0000
commit998db177ba25d0fb1fc12b1528025bf975b7c6ad (patch)
tree204e34c03134b2fec4cba2815a26050537cf714c /source3/include
parentb29514427364105ba6286ad688d61444eafb22ea (diff)
downloadsamba-998db177ba25d0fb1fc12b1528025bf975b7c6ad.tar.gz
samba-998db177ba25d0fb1fc12b1528025bf975b7c6ad.tar.bz2
samba-998db177ba25d0fb1fc12b1528025bf975b7c6ad.zip
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)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h8
1 files changed, 8 insertions, 0 deletions
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,