From 86f5105fbca56ab07f8a33e892fe656672600388 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 15 Mar 1998 03:06:50 +0000 Subject: - claim the null connection after the session request to mak sure we have the netbios name - fix another kill connection bug (This used to be commit c634b799874795d42dae28fb4440ea452dc89b1b) --- source3/include/proto.h | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) (limited to 'source3/include') diff --git a/source3/include/proto.h b/source3/include/proto.h index 88b340319e..9046fc2886 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -123,6 +123,11 @@ int process_tar(char *inbuf, char *outbuf); int clipfind(char **aret, int ret, char *tok); int tar_parseargs(int argc, char *argv[], char *Optarg, int Optind); +/*The following definitions come from connection.c */ + +BOOL yield_connection(int cnum,char *name,int max_connections); +BOOL claim_connection(int cnum,char *name,int max_connections,BOOL Clear); + /*The following definitions come from credentials.c */ char *credstr(uchar *cred); @@ -1631,8 +1636,6 @@ int reply_lanman1(char *outbuf); int reply_lanman2(char *outbuf); int reply_nt1(char *outbuf); void close_cnum(int cnum, uint16 vuid); -BOOL yield_connection(int cnum,char *name,int max_connections); -BOOL claim_connection(int cnum,char *name,int max_connections,BOOL Clear); void exit_server(char *reason); void standard_sub(int cnum,char *str); char *smb_fn_name(int type); @@ -1929,6 +1932,11 @@ void start_smbd(void); void start_nmbd(void); void stop_smbd(void); void stop_nmbd(void); +void kill_pid(int pid); + +/*The following definitions come from web/statuspage.c */ + +void status_page(void); /*The following definitions come from web/swat.c */ -- cgit