summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-07-27 17:56:48 +0200
committerVolker Lendecke <vl@samba.org>2008-07-27 17:56:48 +0200
commit49403ee82f5b4a40f4feacd441b2e27f23e6c156 (patch)
tree81ba6055cd0de01594c4fac49b0acabe3bcd9215 /source3
parent9b5adeaa39aeee498794504d492f6fa617dafa19 (diff)
downloadsamba-49403ee82f5b4a40f4feacd441b2e27f23e6c156.tar.gz
samba-49403ee82f5b4a40f4feacd441b2e27f23e6c156.tar.bz2
samba-49403ee82f5b4a40f4feacd441b2e27f23e6c156.zip
Make create_conn_struct() public
(This used to be commit e115e2582256c34e6905afc8c2929efd6ea61088)
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h5
-rw-r--r--source3/smbd/msdfs.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index d1d2c90905..bf3adb556b 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -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 */
diff --git a/source3/smbd/msdfs.c b/source3/smbd/msdfs.c
index 8e83a6c17e..32240ff0d5 100644
--- a/source3/smbd/msdfs.c
+++ b/source3/smbd/msdfs.c
@@ -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,