From 415aa96f09fd708d134eb15a9e8f729ca3eb05c4 Mon Sep 17 00:00:00 2001 From: Gerald Carter Date: Fri, 8 Sep 2006 17:21:15 +0000 Subject: r18275: add auto generated dfs code (This used to be commit edb7a3607e3fa2090310b5c405f2b0a08f51db78) --- source3/librpc/gen_ndr/dfs.h | 337 +++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 337 insertions(+) create mode 100644 source3/librpc/gen_ndr/dfs.h (limited to 'source3/librpc/gen_ndr/dfs.h') diff --git a/source3/librpc/gen_ndr/dfs.h b/source3/librpc/gen_ndr/dfs.h new file mode 100644 index 0000000000..1909b938ef --- /dev/null +++ b/source3/librpc/gen_ndr/dfs.h @@ -0,0 +1,337 @@ +/* header auto-generated by pidl */ + +#ifndef _HEADER_netdfs +#define _HEADER_netdfs + +struct dfs_Info0 { + char _empty_; +}; + +struct dfs_Info1 { + const char *path;/* [unique,keepref,charset(UTF16)] */ +}; + +struct dfs_Info2 { + const char *path;/* [unique,keepref,charset(UTF16)] */ + const char *comment;/* [unique,keepref,charset(UTF16)] */ + uint32_t state;/* [keepref] */ + uint32_t num_stores;/* [keepref] */ +}; + +struct dfs_StorageInfo { + uint32_t state;/* [keepref] */ + const char *server;/* [unique,keepref,charset(UTF16)] */ + const char *share;/* [unique,keepref,charset(UTF16)] */ +}; + +struct dfs_Info3 { + const char *path;/* [unique,keepref,charset(UTF16)] */ + const char *comment;/* [unique,keepref,charset(UTF16)] */ + uint32_t state;/* [keepref] */ + uint32_t num_stores;/* [keepref] */ + struct dfs_StorageInfo *stores;/* [unique,keepref,size_is(num_stores)] */ +}; + +struct dfs_Info4 { + const char *path;/* [unique,keepref,charset(UTF16)] */ + const char *comment;/* [unique,keepref,charset(UTF16)] */ + uint32_t state;/* [keepref] */ + uint32_t timeout;/* [keepref] */ + struct GUID guid;/* [keepref] */ + uint32_t num_stores;/* [keepref] */ + struct dfs_StorageInfo *stores;/* [unique,keepref,size_is(num_stores)] */ +}; + +struct dfs_Info100 { + const char *comment;/* [unique,keepref,charset(UTF16)] */ +}; + +struct dfs_Info101 { + uint32_t state;/* [keepref] */ +}; + +struct dfs_Info102 { + uint32_t timeout;/* [keepref] */ +}; + +struct dfs_Info200 { + const char *dom_root;/* [unique,keepref,charset(UTF16)] */ +}; + +struct dfs_Info300 { + uint32_t flags;/* [keepref] */ + const char *dom_root;/* [unique,keepref,charset(UTF16)] */ +}; + +union dfs_Info { + struct dfs_Info0 *info0;/* [unique,keepref,case(0)] */ + struct dfs_Info1 *info1;/* [unique,keepref,case] */ + struct dfs_Info2 *info2;/* [unique,keepref,case(2)] */ + struct dfs_Info3 *info3;/* [unique,keepref,case(3)] */ + struct dfs_Info4 *info4;/* [unique,keepref,case(4)] */ + struct dfs_Info100 *info100;/* [unique,keepref,case(100)] */ + struct dfs_Info101 *info101;/* [unique,keepref,case(101)] */ + struct dfs_Info102 *info102;/* [unique,keepref,case(102)] */ +}; + +struct dfs_EnumArray1 { + uint32_t count;/* [keepref] */ + struct dfs_Info1 *s;/* [unique,keepref,size_is(count)] */ +}; + +struct dfs_EnumArray2 { + uint32_t count;/* [keepref] */ + struct dfs_Info2 *s;/* [unique,keepref,size_is(count)] */ +}; + +struct dfs_EnumArray3 { + uint32_t count;/* [keepref] */ + struct dfs_Info3 *s;/* [unique,keepref,size_is(count)] */ +}; + +struct dfs_EnumArray4 { + uint32_t count;/* [keepref] */ + struct dfs_Info4 *s;/* [unique,keepref,size_is(count)] */ +}; + +struct dfs_EnumArray200 { + uint32_t count;/* [keepref] */ + struct dfs_Info200 *s;/* [unique,keepref,size_is(count)] */ +}; + +struct dfs_EnumArray300 { + uint32_t count;/* [keepref] */ + struct dfs_Info300 *s;/* [unique,keepref,size_is(count)] */ +}; + +union dfs_EnumInfo { + struct dfs_EnumArray1 *info1;/* [unique,keepref,case] */ + struct dfs_EnumArray2 *info2;/* [unique,keepref,case(2)] */ + struct dfs_EnumArray3 *info3;/* [unique,keepref,case(3)] */ + struct dfs_EnumArray4 *info4;/* [unique,keepref,case(4)] */ + struct dfs_EnumArray200 *info200;/* [unique,keepref,case(200)] */ + struct dfs_EnumArray300 *info300;/* [unique,keepref,case(300)] */ +}; + +struct dfs_EnumStruct { + uint32_t level;/* [keepref] */ + union dfs_EnumInfo e;/* [keepref,switch_is(level)] */ +}; + + +struct dfs_GetManagerVersion { + struct { + uint32_t *exist_flag;/* [keepref,ref] */ + } out; + +}; + + +struct dfs_Add { + struct { + const char *path;/* [keepref,ref,charset(UTF16)] */ + const char *server;/* [keepref,ref,charset(UTF16)] */ + const char *share;/* [unique,keepref,charset(UTF16)] */ + const char *comment;/* [unique,keepref,charset(UTF16)] */ + uint32_t flags;/* [keepref] */ + } in; + + struct { + WERROR result; + } out; + +}; + + +struct dfs_Remove { + struct { + const char *path;/* [keepref,ref,charset(UTF16)] */ + const char *server;/* [unique,keepref,charset(UTF16)] */ + const char *share;/* [unique,keepref,charset(UTF16)] */ + } in; + + struct { + WERROR result; + } out; + +}; + + +struct dfs_SetInfo { + struct { + WERROR result; + } out; + +}; + + +struct dfs_GetInfo { + struct { + const char *path;/* [keepref,ref,charset(UTF16)] */ + const char *server;/* [unique,keepref,charset(UTF16)] */ + const char *share;/* [unique,keepref,charset(UTF16)] */ + uint32_t level;/* [keepref] */ + } in; + + struct { + union dfs_Info *info;/* [keepref,ref,switch_is(level)] */ + WERROR result; + } out; + +}; + + +struct dfs_Enum { + struct { + uint32_t level;/* [keepref] */ + uint32_t bufsize;/* [keepref] */ + struct dfs_EnumStruct *info;/* [unique,keepref] */ + uint32_t *unknown;/* [unique,keepref] */ + uint32_t *total;/* [unique,keepref] */ + } in; + + struct { + struct dfs_EnumStruct *info;/* [unique,keepref] */ + uint32_t *total;/* [unique,keepref] */ + WERROR result; + } out; + +}; + + +struct dfs_Rename { + struct { + WERROR result; + } out; + +}; + + +struct dfs_Move { + struct { + WERROR result; + } out; + +}; + + +struct dfs_ManagerGetConfigInfo { + struct { + WERROR result; + } out; + +}; + + +struct dfs_ManagerSendSiteInfo { + struct { + WERROR result; + } out; + +}; + + +struct dfs_AddFtRoot { + struct { + WERROR result; + } out; + +}; + + +struct dfs_RemoveFtRoot { + struct { + WERROR result; + } out; + +}; + + +struct dfs_AddStdRoot { + struct { + WERROR result; + } out; + +}; + + +struct dfs_RemoveStdRoot { + struct { + WERROR result; + } out; + +}; + + +struct dfs_ManagerInitialize { + struct { + WERROR result; + } out; + +}; + + +struct dfs_AddStdRootForced { + struct { + WERROR result; + } out; + +}; + + +struct dfs_GetDcAddress { + struct { + WERROR result; + } out; + +}; + + +struct dfs_SetDcAddress { + struct { + WERROR result; + } out; + +}; + + +struct dfs_FlushFtTable { + struct { + WERROR result; + } out; + +}; + + +struct dfs_Add2 { + struct { + WERROR result; + } out; + +}; + + +struct dfs_Remove2 { + struct { + WERROR result; + } out; + +}; + + +struct dfs_EnumEx { + struct { + WERROR result; + } out; + +}; + + +struct dfs_SetInfo2 { + struct { + WERROR result; + } out; + +}; + +#endif /* _HEADER_netdfs */ -- cgit