summaryrefslogtreecommitdiffstats
path: root/source3/include/msdfs.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2000-03-09 21:45:16 +0000
committerJeremy Allison <jra@samba.org>2000-03-09 21:45:16 +0000
commit6bb92a6d38db41a11e80c4369623d137763f0f52 (patch)
treeb1b08e75fccec7c0b1352d12c00e62431759daea /source3/include/msdfs.h
parent18465ec2cd94dc0f4da0a2984d395c18a23291f1 (diff)
downloadsamba-6bb92a6d38db41a11e80c4369623d137763f0f52.tar.gz
samba-6bb92a6d38db41a11e80c4369623d137763f0f52.tar.xz
samba-6bb92a6d38db41a11e80c4369623d137763f0f52.zip
Big update moving the multi-pdu support from 2.0.x into HEAD for JF
and the printer functions. Also tidied up some header includes and got the order right so you can now do a : make proto make clean make Jeremy. (This used to be commit 833cd9fba92e4ad5297b235d108dd2be8c17079b)
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 ea72c4c15f5..0c2e3c14df2 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)) \