2 Unix SMB/Netbios implementation.
4 Samba parameters and setup
5 Copyright (C) Andrew Tridgell 1992-2000
6 Copyright (C) Luke Kenneth Casson Leighton 1996 - 2000
7 Copyright (C) Shirish Kalele 2000
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
19 You should have received a copy of the GNU General Public License
20 along with this program; if not, write to the Free Software
21 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
27 /* NETDFS pipe: calls */
28 #define DFS_EXIST 0x00
30 #define DFS_REMOVE 0x02
31 #define DFS_GET_INFO 0x04
35 #define DFSFLAG_ADD_VOLUME 0x00000001
36 #define DFSFLAG_RESTORE_VOLUME 0x00000002
38 typedef struct dfs_q_dfs_exist
44 /* status == 1 if dfs exists. */
45 typedef struct dfs_r_dfs_exist
47 uint32 status
; /* Not a WERROR or NTSTATUS code */
51 typedef struct dfs_q_dfs_add
53 uint32 ptr_DfsEntryPath
;
55 uint32 ptr_ServerName
;
65 typedef struct dfs_r_dfs_add
71 /********************************************/
72 typedef struct dfs_q_dfs_remove
75 uint32 ptr_ServerName
;
82 typedef struct dfs_r_dfs_remove
88 /********************************************/
89 typedef struct dfs_info_1
96 typedef struct dfs_info_2
107 typedef struct dfs_storage_info
110 uint32 ptr_servername
;
112 uint32 ptr_sharename
;
117 typedef struct dfs_info_3
119 uint32 ptr_entrypath
;
126 uint32 num_storage_infos
;
127 DFS_STORAGE_INFO
* storages
;
131 typedef struct dfs_info_ctr
136 uint32 ptr_dfs_ctr
; /* pointer to dfs info union */
146 typedef struct dfs_q_dfs_get_info
160 typedef struct dfs_r_dfs_get_info
169 typedef struct dfs_q_dfs_enum
175 uint32 ptr_num_entries
;
177 uint32 ptr_num_entries2
;
183 typedef struct dfs_r_dfs_enum
189 uint32 ptr_num_entries
;
191 uint32 ptr_num_entries2
;