summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1996-06-08 05:37:33 +0000
committerAndrew Tridgell <tridge@samba.org>1996-06-08 05:37:33 +0000
commit3f6fb647e707d1c919f7942135e3225b78fb5b6c (patch)
tree0215b5625d266e5f1a936e0b647a87b7c8c7b686 /source3/include/proto.h
parent75390b839afbf0a7405bb814ad36e6bd9e719719 (diff)
downloadsamba-3f6fb647e707d1c919f7942135e3225b78fb5b6c.tar.gz
samba-3f6fb647e707d1c919f7942135e3225b78fb5b6c.tar.bz2
samba-3f6fb647e707d1c919f7942135e3225b78fb5b6c.zip
more changes from Luke
(This used to be commit df44f10d7492679dabe3b998e7bacfebbc49ea5e)
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h14
1 files changed, 9 insertions, 5 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 77c7129b2a..bb2bff241e 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -149,9 +149,9 @@ BOOL name_query(int fd,char *name,int name_type,
BOOL bcast,BOOL recurse,
struct in_addr to_ip, struct in_addr *ip,void (*fn)());
void expire_netbios_response_entries(time_t t);
-void reply_netbios_packet(struct packet_struct *p1,int trn_id,int rcode,int opcode,
- struct nmb_name *rr_name,int rr_type,int rr_class,int ttl,
- char *data,int len);
+void reply_netbios_packet(struct packet_struct *p1,int trn_id,int rcode,
+ int opcode,BOOL recurse,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);
@@ -182,6 +182,7 @@ struct name_record *add_netbios_entry(char *name, int type, int nb_flags,
void remove_name_entry(char *name,int type);
void add_name_entry(char *name,int type,int nb_flags);
void add_my_names(void);
+void remove_my_names();
void refresh_my_names(time_t t);
void expire_names(time_t t);
void response_name_release(struct packet_struct *p);
@@ -189,8 +190,7 @@ void reply_name_release(struct packet_struct *p);
void response_name_reg(struct packet_struct *p);
void reply_name_reg(struct packet_struct *p);
void reply_name_status(struct packet_struct *p);
-struct name_record *search_for_name(struct nmb_name *question,
- struct in_addr ip, int Time, int search);
+void reply_name_query(struct packet_struct *p);
void process_nmb(struct packet_struct *p);
void reset_server(char *name, int state, struct in_addr ip);
void tell_become_backup(void);
@@ -250,6 +250,10 @@ int get_printqueue(int snum,int cnum,print_queue_struct **queue,
print_status_struct *status);
void del_printqueue(int cnum,int snum,int jobid);
void status_printjob(int cnum,int snum,int jobid,int status);
+BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
+BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
+BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
+BOOL disk_quotas(char *path, int *bsize, int *dfree, int *dsize);
int reply_special(char *inbuf,char *outbuf);
int reply_tcon(char *inbuf,char *outbuf);
int reply_tcon_and_X(char *inbuf,char *outbuf,int length,int bufsize);