summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2009-05-27 18:26:15 +0200
committerStefan Metzmacher <metze@samba.org>2009-06-03 17:54:38 +0200
commita02265cdc4ea359979f89af99f58fb0720d7c464 (patch)
tree7c88db30f321b315fab00e4e2d620c0addf47a56 /source3
parentc8620180083c2bff2e54bb90bcbf89a3d5008fbd (diff)
downloadsamba-a02265cdc4ea359979f89af99f58fb0720d7c464.tar.gz
samba-a02265cdc4ea359979f89af99f58fb0720d7c464.tar.bz2
samba-a02265cdc4ea359979f89af99f58fb0720d7c464.zip
s3:smbd: make make_connection_snum() non static
metze
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h5
-rw-r--r--source3/smbd/service.c3
2 files changed, 6 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 7875c38a8a..961b3e06a4 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 5ade8270d5..508f71b44e 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,