r18481: Use pidl-generated server side code for dfs.
[obnox/samba/samba-obnox.git] / source3 / librpc / gen_ndr / srv_dfs.h
1 #include "librpc/gen_ndr/ndr_dfs.h"
2 #ifndef __SRV_NETDFS__
3 #define __SRV_NETDFS__
4 void _dfs_GetManagerVersion(pipes_struct *p, uint32_t *exist_flag);
5 WERROR _dfs_Add(pipes_struct *p, const char *path, const char *server, const char *share, const char *comment, uint32_t flags);
6 WERROR _dfs_Remove(pipes_struct *p, const char *path, const char *server, const char *share);
7 WERROR _dfs_SetInfo(pipes_struct *p);
8 WERROR _dfs_GetInfo(pipes_struct *p, const char *path, const char *server, const char *share, uint32_t level, union dfs_Info *info);
9 WERROR _dfs_Enum(pipes_struct *p, uint32_t level, uint32_t bufsize, struct dfs_EnumStruct *info, uint32_t *unknown, uint32_t *total);
10 WERROR _dfs_Rename(pipes_struct *p);
11 WERROR _dfs_Move(pipes_struct *p);
12 WERROR _dfs_ManagerGetConfigInfo(pipes_struct *p);
13 WERROR _dfs_ManagerSendSiteInfo(pipes_struct *p);
14 WERROR _dfs_AddFtRoot(pipes_struct *p);
15 WERROR _dfs_RemoveFtRoot(pipes_struct *p);
16 WERROR _dfs_AddStdRoot(pipes_struct *p);
17 WERROR _dfs_RemoveStdRoot(pipes_struct *p);
18 WERROR _dfs_ManagerInitialize(pipes_struct *p);
19 WERROR _dfs_AddStdRootForced(pipes_struct *p);
20 WERROR _dfs_GetDcAddress(pipes_struct *p);
21 WERROR _dfs_SetDcAddress(pipes_struct *p);
22 WERROR _dfs_FlushFtTable(pipes_struct *p);
23 WERROR _dfs_Add2(pipes_struct *p);
24 WERROR _dfs_Remove2(pipes_struct *p);
25 WERROR _dfs_EnumEx(pipes_struct *p, const char *name, uint32_t level, uint32_t bufsize, struct dfs_EnumStruct *info, uint32_t *total);
26 WERROR _dfs_SetInfo2(pipes_struct *p);
27 void netdfs_get_pipe_fns(struct api_struct **fns, int *n_fns);
28 NTSTATUS rpc_netdfs_init(void);
29 #endif /* __SRV_NETDFS__ */