From 80838491e6ac9f4299daccfc5506b3e1e79fab38 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sun, 3 Jul 2011 19:59:37 +0200 Subject: s3: Make cli_cm_open return NTSTATUS Autobuild-User: Volker Lendecke Autobuild-Date: Sun Jul 3 23:57:53 CEST 2011 on sn-devel-104 --- source3/libsmb/proto.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'source3/libsmb/proto.h') diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h index 89b1ecd9b6..1caf0f904a 100644 --- a/source3/libsmb/proto.h +++ b/source3/libsmb/proto.h @@ -113,7 +113,7 @@ NTSTATUS cli_cm_force_encryption(struct cli_state *c, const char *password, const char *domain, const char *sharename); -struct cli_state *cli_cm_open(TALLOC_CTX *ctx, +NTSTATUS cli_cm_open(TALLOC_CTX *ctx, struct cli_state *referring_cli, const char *server, const char *share, @@ -122,7 +122,8 @@ struct cli_state *cli_cm_open(TALLOC_CTX *ctx, bool force_encrypt, int max_protocol, int port, - int name_type); + int name_type, + struct cli_state **pcli); void cli_cm_display(const struct cli_state *c); struct client_dfs_referral; NTSTATUS cli_dfs_get_referral(TALLOC_CTX *ctx, -- cgit