summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorLuke Leighton <lkcl@samba.org>1999-07-12 21:33:11 +0000
committerLuke Leighton <lkcl@samba.org>1999-07-12 21:33:11 +0000
commitd9a18c82d13dda861e1cbcce8390b52aa73118a5 (patch)
tree6262edc2e1d04fa1e0900df548810573d48476ce /source3/include
parentac61e4aee2a263de6a882e3ff125b4b65a652a2b (diff)
downloadsamba-d9a18c82d13dda861e1cbcce8390b52aa73118a5.tar.gz
samba-d9a18c82d13dda861e1cbcce8390b52aa73118a5.tar.bz2
samba-d9a18c82d13dda861e1cbcce8390b52aa73118a5.zip
Jean-Francois Micouleau's rewrite of Nigel William's DFS support
(This used to be commit e6116c40d4d0473a7412e82791afd9f44e4905a4)
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/dfs.h53
1 files changed, 53 insertions, 0 deletions
diff --git a/source3/include/dfs.h b/source3/include/dfs.h
new file mode 100644
index 0000000000..1bf26e230b
--- /dev/null
+++ b/source3/include/dfs.h
@@ -0,0 +1,53 @@
+
+typedef struct _referal_trans_param
+{
+ uint16 level;
+ char directory[255];
+ uint16 type;
+} referal_trans_param;
+
+typedef struct _referal_ver_2
+{
+ uint16 version;
+ uint16 size;
+ uint16 server_type;
+ uint16 flags;
+ uint32 proximity;
+ uint32 ttl;
+ uint16 filename_offset;
+ uint16 mangledname_offset;
+ uint16 sharename_offset;
+ char sharename[255];
+} referal_ver_2;
+
+typedef struct _dfs_response
+{
+ uint16 path_consumed;
+ uint16 number_of_referal;
+ uint32 server_function;
+ referal_ver_2 *referal;
+ char filename[255];
+ char mangledname[255];
+ struct _dfs_response *next;
+} dfs_response;
+
+
+typedef struct _dfs_internal_table
+{
+ pstring localpath;
+ pstring mangledpath;
+ pstring sharename;
+ unsigned int proximity;
+ unsigned int type;
+ int localpath_length;
+ int mangledpath_length;
+ int sharename_length;
+} dfs_internal_table;
+
+typedef struct _dfs_internal
+{
+
+ dfs_internal_table *table;
+ int size;
+ BOOL ready;
+} dfs_internal;