summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/include/proto.h4
-rw-r--r--source3/namedb.c2
2 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index a3f522b274..8b39c4437b 100644
--- a/source3/include/proto.h
+++ b/source3/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/source3/namedb.c b/source3/namedb.c
index fc14c4d5c6..402617ffbd 100644
--- a/source3/namedb.c
+++ b/source3/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;