Make create_conn_struct() public
authorVolker Lendecke <vl@samba.org>
Sun, 27 Jul 2008 15:56:48 +0000 (17:56 +0200)
committerVolker Lendecke <vl@samba.org>
Sun, 27 Jul 2008 15:56:48 +0000 (17:56 +0200)
(This used to be commit e115e2582256c34e6905afc8c2929efd6ea61088)

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

index d1d2c90905787f6626141d8281cb3a97c67447c4..bf3adb556b22d5b7b74795f3c3a85dacb699039d 100644 (file)
@@ -9829,6 +9829,11 @@ NTSTATUS resolve_dfspath_wcard(TALLOC_CTX *ctx,
                                const char *name_in,
                                char **pp_name_out,
                                bool *ppath_contains_wcard);
+NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
+                               connection_struct **pconn,
+                               int snum,
+                               const char *path,
+                           char **poldcwd);
 
 /* The following definitions come from smbd/negprot.c  */
 
index 8e83a6c17ec9bf7df58ed65026dfb81286a18d6f..32240ff0d511389f7aec066c396fc99ab86f156c 100644 (file)
@@ -215,7 +215,7 @@ static NTSTATUS parse_dfs_path(connection_struct *conn,
  Note this CHANGES CWD !!!! JRA.
 *********************************************************/
 
-static NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
+NTSTATUS create_conn_struct(TALLOC_CTX *ctx,
                                connection_struct **pconn,
                                int snum,
                                const char *path,