summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2009-03-12 17:59:24 -0700
committerJeremy Allison <jra@samba.org>2009-03-12 17:59:24 -0700
commite5136e984922570ce9992c642c340dd3e937fc4e (patch)
tree90acd50687e0adf2352eb1663b4934f01df0a9fc /source3/include/proto.h
parentbace42d586f2e4364e5b66ccc80a0b19749b5e1c (diff)
downloadsamba-e5136e984922570ce9992c642c340dd3e937fc4e.tar.gz
samba-e5136e984922570ce9992c642c340dd3e937fc4e.tar.bz2
samba-e5136e984922570ce9992c642c340dd3e937fc4e.zip
Remove the static "struct client_connection" mess which is part of
the problem that stops libsmbclient being thread safe. Subsidiary DFS connections are now hung off a list inside the cli_state struct. Much more to do in order to get libsmbclient to thread safety, but this is a good start. Jeremy.
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index c8a066fa36..40024c5194 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -2355,7 +2355,6 @@ NTSTATUS cli_cm_force_encryption(struct cli_state *c,
const char *password,
const char *domain,
const char *sharename);
-const char *cli_cm_get_mntpoint(struct cli_state *c);
struct cli_state *cli_cm_open(TALLOC_CTX *ctx,
struct cli_state *referring_cli,
const char *server,
@@ -2365,8 +2364,7 @@ struct cli_state *cli_cm_open(TALLOC_CTX *ctx,
int max_protocol,
int port,
int name_type);
-void cli_cm_shutdown(void);
-void cli_cm_display(void);
+void cli_cm_display(const struct cli_state *c);
void cli_cm_set_credentials(struct user_auth_info *auth_info);
void cli_cm_set_port(int port_number);
void cli_cm_set_dest_name_type(int type);