2 Unix SMB/CIFS implementation.
3 Samba parameters and setup
4 Copyright (C) Andrew Tridgell 1992-2000
5 Copyright (C) Luke Kenneth Casson Leighton 1996 - 2000
6 Copyright (C) Shirish Kalele 2000
8 This program is free software; you can redistribute it and/or modify
9 it under the terms of the GNU General Public License as published by
10 the Free Software Foundation; either version 2 of the License, or
11 (at your option) any later version.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
18 You should have received a copy of the GNU General Public License
19 along with this program; if not, write to the Free Software
20 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
26 /* NETDFS pipe: calls */
27 #define DFS_EXIST 0x00
29 #define DFS_REMOVE 0x02
30 #define DFS_GET_INFO 0x04
34 #define DFSFLAG_ADD_VOLUME 0x00000001
35 #define DFSFLAG_RESTORE_VOLUME 0x00000002
37 typedef struct dfs_q_dfs_exist
43 /* status == 1 if dfs exists. */
44 typedef struct dfs_r_dfs_exist
46 uint32 status
; /* Not a WERROR or NTSTATUS code */
50 typedef struct dfs_q_dfs_add
52 uint32 ptr_DfsEntryPath
;
54 uint32 ptr_ServerName
;
64 typedef struct dfs_r_dfs_add
70 /********************************************/
71 typedef struct dfs_q_dfs_remove
74 uint32 ptr_ServerName
;
81 typedef struct dfs_r_dfs_remove
87 /********************************************/
88 typedef struct dfs_info_1
95 typedef struct dfs_info_2
106 typedef struct dfs_storage_info
109 uint32 ptr_servername
;
111 uint32 ptr_sharename
;
116 typedef struct dfs_info_3
118 uint32 ptr_entrypath
;
125 uint32 num_storage_infos
;
126 DFS_STORAGE_INFO
* storages
;
130 typedef struct dfs_info_ctr
135 uint32 ptr_dfs_ctr
; /* pointer to dfs info union */
145 typedef struct dfs_q_dfs_get_info
159 typedef struct dfs_r_dfs_get_info
168 typedef struct dfs_q_dfs_enum
174 uint32 ptr_num_entries
;
176 uint32 ptr_num_entries2
;
182 typedef struct dfs_r_dfs_enum
188 uint32 ptr_num_entries
;
190 uint32 ptr_num_entries2
;