summaryrefslogtreecommitdiffstats
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-07-03 02:39:49 +0000
committerAndrew Tridgell <tridge@samba.org>1996-07-03 02:39:49 +0000
commit98568862ca5f9f48b389a42633732de831331189 (patch)
tree2670c44ca6b714763d44685769403fc284782a0c /source
parent609c3a5e1e3a8d9ba380a802ab3ecf6f47093846 (diff)
downloadsamba-98568862ca5f9f48b389a42633732de831331189.tar.gz
samba-98568862ca5f9f48b389a42633732de831331189.tar.xz
samba-98568862ca5f9f48b389a42633732de831331189.zip
fix Makefile - remove Lukes private stuff :-)
rerun proto generator
Diffstat (limited to 'source')
-rw-r--r--source/include/proto.h28
1 files changed, 17 insertions, 11 deletions
diff --git a/source/include/proto.h b/source/include/proto.h
index 8dc3df01834..87df5e3fd4a 100644
--- a/source/include/proto.h
+++ b/source/include/proto.h
@@ -292,6 +292,9 @@ void announce_request(struct work_record *work, struct in_addr ip);
void do_announce_request(char *info, char *to_name, int announce_type,
int from,
int to, struct in_addr dest_ip);
+void sync_server(enum state_type state, char *serv_name, char *work_name,
+ int name_type,
+ struct in_addr ip);
void announce_backup(void);
void do_announce_host(int command,
char *from_name, int from_type, struct in_addr from_ip,
@@ -303,11 +306,17 @@ void announce_server(struct subnet_record *d, struct work_record *work,
void announce_host(void);
void announce_master(void);
+/*The following definitions come from namebrowse.c */
+
+void expire_browse_cache(time_t t);
+struct browse_cache_record *add_browser_entry(char *name, int type, char *wg,
+ time_t ttl, struct in_addr ip);
+void do_browser_lists(void);
+
/*The following definitions come from namedb.c */
struct work_record *remove_workgroup(struct subnet_record *d,
struct work_record *work);
-void expire_browse_cache(time_t t);
struct work_record *find_workgroupstruct(struct subnet_record *d,
fstring name, BOOL add);
struct subnet_record *find_subnet(struct in_addr bcast_ip);
@@ -316,14 +325,13 @@ void add_subnet_interfaces(void);
struct subnet_record *add_subnet_entry(struct in_addr bcast_ip,
struct in_addr mask_ip,
char *name, BOOL add, BOOL lmhosts);
-struct browse_cache_record *add_browser_entry(char *name, int type, char *wg,
- time_t ttl, struct in_addr ip);
void remove_my_servers(void);
struct server_record *add_server_entry(struct subnet_record *d,
struct work_record *work,
char *name,int servertype,
int ttl,char *comment,
BOOL replace);
+void add_my_subnets(char *group);
void write_browse_list(void);
void expire_servers(time_t t);
@@ -339,6 +347,10 @@ void run_elections(void);
void process_election(struct packet_struct *p,char *buf);
BOOL check_elections(void);
+/*The following definitions come from namelogon.c */
+
+void process_logon_packet(struct packet_struct *p,char *buf,int len);
+
/*The following definitions come from namequery.c */
BOOL name_status(int fd,char *name,int name_type,BOOL recurse,
@@ -356,11 +368,11 @@ void reply_netbios_packet(struct packet_struct *p1,int trn_id,
struct nmb_name *rr_name,int rr_type,int rr_class,int ttl,
char *data,int len);
void queue_netbios_pkt_wins(struct subnet_record *d,
- int fd,int quest_type,enum cmd_type cmd,
+ int fd,int quest_type,enum state_type state,
char *name,int name_type,int nb_flags, time_t ttl,
BOOL bcast,BOOL recurse,struct in_addr to_ip);
void queue_netbios_packet(struct subnet_record *d,
- int fd,int quest_type,enum cmd_type cmd,char *name,
+ int fd,int quest_type,enum state_type state,char *name,
int name_type,int nb_flags, time_t ttl,
BOOL bcast,BOOL recurse, struct in_addr to_ip);
struct response_record *find_response_record(struct subnet_record **d,
@@ -409,14 +421,8 @@ void process_nmb(struct packet_struct *p);
void reset_server(char *name, int state, struct in_addr ip);
void tell_become_backup(void);
-void do_browser_lists(void);
-void sync_server(enum cmd_type cmd, char *serv_name, char *work_name,
- int name_type,
- struct in_addr ip);
-void add_my_subnets(char *group);
BOOL same_context(struct dgram_packet *dgram);
BOOL listening_name(struct work_record *work, struct nmb_name *n);
-void process_logon_packet(struct packet_struct *p,char *buf,int len);
BOOL listening_type(struct packet_struct *p, int command);
void process_browse_packet(struct packet_struct *p,char *buf,int len);
void process_dgram(struct packet_struct *p);