summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-01-14 16:08:19 -0800
committerJeremy Allison <jra@samba.org>2009-01-14 16:08:19 -0800
commit907f085296e4c61410a7a0e2cfcd6a9db8176b16 (patch)
tree315254d40cfc716372a4641a089df8aaac78cbfd /source3/include
parent592ee76341de2936b1171ddb391a65a84836c95d (diff)
downloadsamba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.tar.gz
samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.tar.bz2
samba-907f085296e4c61410a7a0e2cfcd6a9db8176b16.zip
Remove smbclient globals that bled into clidfs.c. Now we only have
the connections list and authentication structures to worry about. Jeremy
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/proto.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 5d70c1c2fc..5d82ef090d 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2384,7 +2384,9 @@ struct cli_state *cli_cm_open(TALLOC_CTX *ctx,
const char *share,
bool show_hdr,
bool force_encrypt,
- int max_protocol);
+ int max_protocol,
+ int port,
+ int name_type);
void cli_cm_shutdown(void);
void cli_cm_display(void);
void cli_cm_set_credentials(struct user_auth_info *auth_info);
@@ -2435,7 +2437,7 @@ bool receive_getdc_response(TALLOC_CTX *mem_ctx,
int cli_set_message(char *buf,int num_words,int num_bytes,bool zero);
unsigned int cli_set_timeout(struct cli_state *cli, unsigned int timeout);
-int cli_set_port(struct cli_state *cli, int port);
+void cli_set_port(struct cli_state *cli, int port);
bool cli_receive_smb(struct cli_state *cli);
ssize_t cli_receive_smb_data(struct cli_state *cli, char *buffer, size_t len);
bool cli_receive_smb_readX_header(struct cli_state *cli);