diff options
author | Jeremy Allison <jra@samba.org> | 1998-06-10 23:15:42 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 1998-06-10 23:15:42 +0000 |
commit | cd3de05fb53852cd0951cf7c9bc44ea0fbd66276 (patch) | |
tree | 19765c8f9c9fc53e2da0db9bcba58ae67c3e0bd5 /source3/include | |
parent | d4366df039dfd730fe24c95b9ef7d59306f35309 (diff) | |
download | samba-cd3de05fb53852cd0951cf7c9bc44ea0fbd66276.tar.gz samba-cd3de05fb53852cd0951cf7c9bc44ea0fbd66276.tar.bz2 samba-cd3de05fb53852cd0951cf7c9bc44ea0fbd66276.zip |
Minor changes as I've now discovered gcc -pedantic-errors. This
does the signed/unsigned warnings I've been missing.
Jeremy
(This used to be commit 6d94e67624d1f2c08ac2e1c0eea23facd1e618f2)
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 28 |
1 files changed, 19 insertions, 9 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 9ad6e6b183..7dd4918028 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -1314,16 +1314,25 @@ void refresh_my_names(time_t t); void set_samba_nb_type(void); BOOL ms_browser_name( char *name, int type ); +void update_name_in_namelist( struct subnet_record *subrec, + struct name_record *namerec ); void remove_name_from_namelist( struct subnet_record *subrec, - struct name_record *namerec ); -struct name_record *find_name_on_subnet(struct subnet_record *subrec, - struct nmb_name *nmbname, BOOL self_only); -struct name_record *find_name_for_remote_broadcast_subnet( struct nmb_name *nmbname, - BOOL self_only ); + struct name_record *namerec ); +struct name_record *find_name_on_subnet( struct subnet_record *subrec, + struct nmb_name *nmbname, + BOOL self_only ); +struct name_record *find_name_for_remote_broadcast_subnet( + struct nmb_name *nmbname, + BOOL self_only ); void update_name_ttl( struct name_record *namerec, int ttl ); -struct name_record *add_name_to_subnet(struct subnet_record *subrec, - char *name, int type, uint16 nb_flags, int ttl, - enum name_source source, int num_ips, struct in_addr *iplist); +struct name_record *add_name_to_subnet( struct subnet_record *subrec, + char *name, + int type, + uint16 nb_flags, + int ttl, + enum name_source source, + int num_ips, + struct in_addr *iplist); void standard_success_register(struct subnet_record *subrec, struct userdata_struct *userdata, struct nmb_name *nmbname, uint16 nb_flags, int ttl, @@ -1332,7 +1341,7 @@ void standard_fail_register( struct subnet_record *subrec, struct response_record *rrec, struct nmb_name *nmbname ); BOOL find_ip_in_name_record( struct name_record *namerec, struct in_addr ip ); -void add_ip_to_name_record(struct name_record *namerec, struct in_addr new_ip); +void add_ip_to_name_record( struct name_record *namerec, struct in_addr new_ip ); void remove_ip_from_name_record( struct name_record *namerec, struct in_addr remove_ip ); void standard_success_release( struct subnet_record *subrec, @@ -1505,6 +1514,7 @@ void write_browse_list(time_t t, BOOL force_write); /*The following definitions come from nmbd_subnetdb.c */ +int namelist_entry_compare( ubi_trItemPtr Item, ubi_trNodePtr Node ); BOOL create_subnets(void); BOOL we_are_a_wins_client(void); struct subnet_record *get_next_subnet_maybe_unicast(struct subnet_record *subrec); |