summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--source/include/proto.h4
-rw-r--r--source/namedb.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index a3f522b2740..8b39c4437b6 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -111,6 +111,7 @@ struct work_record *remove_workgroup(struct domain_record *d,
void expire_browse_cache(time_t t);
struct work_record *find_workgroupstruct(struct domain_record *d, fstring name, BOOL add);
struct domain_record *find_domain(struct in_addr source_ip);
+void dump_workgroups(void);
struct domain_record *add_domain_entry(struct in_addr source_ip,
struct in_addr source_mask,
char *name, BOOL add);
@@ -142,7 +143,8 @@ void reply_netbios_packet(struct packet_struct *p1,int trn_id,int rcode,int opco
struct nmb_name *rr_name,int rr_type,int rr_class,int ttl,
char *data,int len);
uint16 initiate_netbios_packet(int fd,int quest_type,char *name,int name_type,
- int nb_flags,BOOL bcast,BOOL recurse,struct in_addr to_ip);
+ int nb_flags,BOOL bcast,BOOL recurse,
+ struct in_addr to_ip);
void queue_netbios_pkt_wins(int fd,int quest_type,enum cmd_type cmd,
char *name,int name_type,int nb_flags,
BOOL bcast,BOOL recurse,struct in_addr to_ip);
diff --git a/source/namedb.c b/source/namedb.c
index fc14c4d5c60..402617ffbd9 100644
--- a/source/namedb.c
+++ b/source/namedb.c
@@ -379,7 +379,7 @@ struct domain_record *find_domain(struct in_addr source_ip)
/****************************************************************************
dump a copy of the workgroup/domain database
**************************************************************************/
-static void dump_workgroups(void)
+void dump_workgroups(void)
{
struct domain_record *d;