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 {
41 /* status == 1 if dfs exists. */
42 typedef struct dfs_r_dfs_exist {
43 uint32 status; /* Not a WERROR or NTSTATUS code */
46 typedef struct dfs_q_dfs_add {
47 uint32 ptr_DfsEntryPath;
49 uint32 ptr_ServerName;
58 typedef struct dfs_r_dfs_add {
62 /********************************************/
63 typedef struct dfs_q_dfs_remove {
65 uint32 ptr_ServerName;
71 typedef struct dfs_r_dfs_remove {
75 /********************************************/
76 typedef struct dfs_info_1 {
81 typedef struct dfs_info_2 {
90 typedef struct dfs_storage_info {
92 uint32 ptr_servername;
98 typedef struct dfs_info_3 {
106 uint32 num_storage_infos;
107 DFS_STORAGE_INFO* storages;
110 typedef struct dfs_info_ctr {
113 uint32 ptr_dfs_ctr; /* pointer to dfs info union */
121 typedef struct dfs_q_dfs_get_info {
131 } DFS_Q_DFS_GET_INFO;
133 typedef struct dfs_r_dfs_get_info {
138 } DFS_R_DFS_GET_INFO;
140 typedef struct dfs_q_dfs_enum {
145 uint32 ptr_num_entries;
147 uint32 ptr_num_entries2;
152 typedef struct dfs_r_dfs_enum {
157 uint32 ptr_num_entries;
159 uint32 ptr_num_entries2;