From a02265cdc4ea359979f89af99f58fb0720d7c464 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 27 May 2009 18:26:15 +0200 Subject: [PATCH] s3:smbd: make make_connection_snum() non static metze --- source3/include/proto.h | 5 +++++ source3/smbd/service.c | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/source3/include/proto.h b/source3/include/proto.h index 7875c38a8a8..961b3e06a44 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -6959,6 +6959,11 @@ bool set_current_service(connection_struct *conn, uint16 flags, bool do_chdir); void load_registry_shares(void); int add_home_service(const char *service, const char *username, const char *homedir); int find_service(fstring service); +connection_struct *make_connection_snum(struct smbd_server_connection *sconn, + int snum, user_struct *vuser, + DATA_BLOB password, + const char *pdev, + NTSTATUS *pstatus); connection_struct *make_connection(struct smbd_server_connection *sconn, const char *service_in, DATA_BLOB password, const char *pdev, uint16 vuid, diff --git a/source3/smbd/service.c b/source3/smbd/service.c index 5ade8270d5d..508f71b44ee 100644 --- a/source3/smbd/service.c +++ b/source3/smbd/service.c @@ -636,8 +636,7 @@ static NTSTATUS create_connection_server_info(struct smbd_server_connection *sco connecting user if appropriate. ****************************************************************************/ -static connection_struct *make_connection_snum( - struct smbd_server_connection *sconn, +connection_struct *make_connection_snum(struct smbd_server_connection *sconn, int snum, user_struct *vuser, DATA_BLOB password, const char *pdev, -- 2.34.1