summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1997-12-24 08:49:44 +0000
committerJeremy Allison <jra@samba.org>1997-12-24 08:49:44 +0000
commit5cdb60bd93fcf97fa9ee1c42642237eb7d4c2083 (patch)
treea25a261c11d94aac922f4ba0c6346e7215e95010 /source3/include
parent0c0777400fd4a2e0586761514345153c9ee218ed (diff)
downloadsamba-5cdb60bd93fcf97fa9ee1c42642237eb7d4c2083.tar.gz
samba-5cdb60bd93fcf97fa9ee1c42642237eb7d4c2083.tar.bz2
samba-5cdb60bd93fcf97fa9ee1c42642237eb7d4c2083.zip
nmbd_elections.c: Added new parameter to dump_workgroups call.
nmbd_incomingdgrams.c: Deal with announcements with servertype == 0 - these are announcements that a machine is shutting down and must be treated differently. nmbd_serverlistdb.c: Exposed remove_server_from_workgroup as external. Added code to dump out workgroups on signal correctly. nmbd_workgroupdb.c: Added new parameter to dump_workgroups call. Jeremy. (This used to be commit f7591109b968c66012af5e9fe818bba8e6f1cf23)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index df9c146cd9..7c2966b64f 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -724,6 +724,7 @@ void browse_sync_remote(time_t t);
void remove_all_servers(struct work_record *work);
struct server_record *find_server_in_workgroup(struct work_record *work, char *name);
+void remove_server_from_workgroup(struct work_record *work, struct server_record *servrec);
struct server_record *create_server_on_workgroup(struct work_record *work,
char *name,int servertype,
int ttl,char *comment);
@@ -770,7 +771,7 @@ struct work_record *create_workgroup_on_subnet(struct subnet_record *subrec,
fstring name, int ttl);
void update_workgroup_ttl(struct work_record *work, int ttl);
void initiate_myworkgroup_startup(struct subnet_record *subrec, struct work_record *work);
-void dump_workgroups(void);
+void dump_workgroups(BOOL force_write);
void expire_workgroups_and_servers(time_t t);
/*The following definitions come from nmblib.c */