summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>1997-10-21 09:39:45 +0000
committerAndrew Tridgell <tridge@samba.org>1997-10-21 09:39:45 +0000
commitc9ab32cebb6a788e96695ae63962ea9a812ae7c8 (patch)
treee78cbbc345dc6f57ff03985b9ab0bd950d215fc5 /source3
parent60328722098bf291664a8a63a245b35cb96fae28 (diff)
downloadsamba-c9ab32cebb6a788e96695ae63962ea9a812ae7c8.tar.gz
samba-c9ab32cebb6a788e96695ae63962ea9a812ae7c8.tar.bz2
samba-c9ab32cebb6a788e96695ae63962ea9a812ae7c8.zip
prototype updates
(This used to be commit 2b976cb7ecf50c118bd15923f6500bb8d2e058b7)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h35
1 files changed, 25 insertions, 10 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8e81954313..5bd1745958 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -32,19 +32,31 @@ void cmd_help(void);
BOOL reopen_connection(char *inbuf,char *outbuf);
char *smb_errstr(char *inbuf);
+/*The following definitions come from clientgen.c */
+
+BOOL cli_NetWkstaUserLogon(struct cli_state *cli,char *user, char *workstation);
+BOOL cli_session_setup(struct cli_state *cli,
+ char *user,
+ char *pass, int passlen,
+ char *ntpass, int ntpasslen,
+ char *workgroup);
+BOOL cli_send_tconX(struct cli_state *cli,
+ char *share, char *dev, char *pword, int passlen);
+BOOL cli_tdis(struct cli_state *cli);
+BOOL cli_negprot(struct cli_state *cli);
+BOOL cli_session_request(struct cli_state *cli, char *host, int name_type,
+ char *myname);
+BOOL cli_connect(struct cli_state *cli, char *host, struct in_addr *ip);
+BOOL cli_initialise(struct cli_state *cli);
+void cli_shutdown(struct cli_state *cli);
+
/*The following definitions come from clientutil.c */
-void cli_setup_pkt(char *outbuf);
-BOOL cli_receive_trans_response(char *inbuf,int trans,int *data_len,
- int *param_len, char **data,char **param);
-BOOL cli_send_session_request(char *inbuf, char *outbuf);
BOOL cli_send_login(char *inbuf, char *outbuf, BOOL start_session, BOOL use_setup);
void cli_send_logout(void);
BOOL cli_call_api(int prcnt,int drcnt,int mprcnt,int mdrcnt,int *rprcnt,
- int *rdrcnt, char *param,char *data, char **rparam,char **rdata);
-BOOL cli_send_trans_request(char *outbuf, int trans, char *name, int fid, int flags,
- char *data,char *param,uint16 *setup, int ldata,int lparam,
- int lsetup,int mdata,int mparam,int msetup);
+ int *rdrcnt, char *param,char *data,
+ char **rparam, char **rdata);
BOOL cli_open_sockets(int port);
BOOL cli_reopen_connection(char *inbuf,char *outbuf);
char *smb_errstr(char *inbuf);
@@ -624,8 +636,11 @@ BOOL user_ok(char *user,int snum);
BOOL authorise_login(int snum,char *user,char *password, int pwlen,
BOOL *guest,BOOL *force,uint16 vuid);
BOOL check_hosts_equiv(char *user);
-BOOL server_cryptkey(char *buf);
-BOOL server_validate(char *buf);
+struct cli_state *server_client(void);
+struct cli_state *server_cryptkey(void);
+BOOL server_validate(char *user, char *domain,
+ char *pass, int passlen,
+ char *ntpass, int ntpasslen);
/*The following definitions come from pcap.c */