s3:smbd: make make_connection_snum() non static
authorStefan Metzmacher <metze@samba.org>
Wed, 27 May 2009 16:26:15 +0000 (18:26 +0200)
committerStefan Metzmacher <metze@samba.org>
Wed, 3 Jun 2009 15:54:38 +0000 (17:54 +0200)
metze

source3/include/proto.h
source3/smbd/service.c

index 7875c38a8a82ddc15d56a6c0eec6555f6c594758..961b3e06a447796c3f7a415a414cb33ce2188559 100644 (file)
@@ -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,
index 5ade8270d5d64fa7c625b0cdcc281420f151a217..508f71b44eed77c6bec3ab1439b900c1f6361a8d 100644 (file)
@@ -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,