summaryrefslogtreecommitdiff
path: root/source3/include/msdfs.h
diff options
context:
space:
mode:
Diffstat (limited to 'source3/include/msdfs.h')
-rw-r--r--source3/include/msdfs.h12
1 files changed, 10 insertions, 2 deletions
diff --git a/source3/include/msdfs.h b/source3/include/msdfs.h
index ea72c4c15f..0c2e3c14df 100644
--- a/source3/include/msdfs.h
+++ b/source3/include/msdfs.h
@@ -22,8 +22,6 @@
#ifndef _MSDFS_H
#define _MSDFS_H
-#ifdef MS_DFS
-
#define REFERRAL_TTL 600
/* Flags used in trans2 Get Referral reply */
@@ -46,6 +44,16 @@ struct junction_map
struct referral* referral_list;
};
+struct dfs_path
+{
+ pstring hostname;
+ pstring servicename;
+ pstring volumename;
+ pstring restofthepath;
+};
+
+#ifdef MS_DFS
+
#define RESOLVE_DFSPATH(name, conn, inbuf, outbuf) \
{ if(((SVAL(inbuf,smb_flg2) & FLAGS2_DFS_PATHNAMES)) && \
dfs_redirect(name,conn)) \