1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-22 13:34:15 +03:00

fix a bug that meant alpha6 couldn't compile.

This commit is contained in:
Andrew Tridgell 0001-01-01 00:00:00 +00:00
parent 60a8a9c006
commit 07288091c3
2 changed files with 4 additions and 2 deletions

View File

@ -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);

View File

@ -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;