build: re-run make samba3-idl.
[ira/wip.git] / source3 / librpc / gen_ndr / srvsvc.h
index 31a9ba61cd7f60b4769934212fe574db2e60c61e..b50213bb966c38794d881a9982f57d91113ff1c2 100644 (file)
@@ -42,6 +42,11 @@ union srvsvc_NetCharDevCtr {
        struct srvsvc_NetCharDevCtr1 *ctr1;/* [unique,case] */
 };
 
+struct srvsvc_NetCharDevInfoCtr {
+       uint32_t level;
+       union srvsvc_NetCharDevCtr ctr;/* [switch_is(level)] */
+};
+
 struct srvsvc_NetCharDevQInfo0 {
        const char *device;/* [unique,charset(UTF16)] */
 };
@@ -74,6 +79,11 @@ union srvsvc_NetCharDevQCtr {
        struct srvsvc_NetCharDevQCtr1 *ctr1;/* [unique,case] */
 };
 
+struct srvsvc_NetCharDevQInfoCtr {
+       uint32_t level;
+       union srvsvc_NetCharDevQCtr ctr;/* [switch_is(level)] */
+};
+
 struct srvsvc_NetConnInfo0 {
        uint32_t conn_id;
 };
@@ -103,6 +113,11 @@ union srvsvc_NetConnCtr {
        struct srvsvc_NetConnCtr1 *ctr1;/* [unique,case] */
 };
 
+struct srvsvc_NetConnInfoCtr {
+       uint32_t level;
+       union srvsvc_NetConnCtr ctr;/* [switch_is(level)] */
+};
+
 struct srvsvc_NetFileInfo2 {
        uint32_t fid;
 };
@@ -135,6 +150,11 @@ union srvsvc_NetFileCtr {
        struct srvsvc_NetFileCtr3 *ctr3;/* [unique,case(3)] */
 };
 
+struct srvsvc_NetFileInfoCtr {
+       uint32_t level;
+       union srvsvc_NetFileCtr ctr;/* [switch_is(level)] */
+};
+
 struct srvsvc_NetSessInfo0 {
        const char *client;/* [unique,charset(UTF16)] */
 };
@@ -300,12 +320,11 @@ struct srvsvc_NetShareInfo502 {
        enum srvsvc_ShareType type;
        const char *comment;/* [unique,charset(UTF16)] */
        uint32_t permissions;
-       int32_t max_users;
+       uint32_t max_users;
        uint32_t current_users;
        const char *path;/* [unique,charset(UTF16)] */
        const char *password;/* [unique,charset(UTF16)] */
-       uint32_t unknown;
-       struct security_descriptor *sd;/* [unique,subcontext(4)] */
+       struct sec_desc_buf sd_buf;
 };
 
 struct srvsvc_NetShareCtr502 {
@@ -336,7 +355,7 @@ struct srvsvc_NetShareCtr1005 {
 };
 
 struct srvsvc_NetShareInfo1006 {
-       int32_t max_users;
+       uint32_t max_users;
 };
 
 struct srvsvc_NetShareCtr1006 {
@@ -459,6 +478,7 @@ struct srvsvc_NetSrvInfo402 {
        uint32_t sessreqs;
        uint32_t opensearch;
        uint32_t activelocks;
+       uint32_t numreqbufs;
        uint32_t sizereqbufs;
        uint32_t numbigbufs;
        uint32_t numfiletasks;
@@ -492,11 +512,12 @@ struct srvsvc_NetSrvInfo403 {
        uint32_t sessreqs;
        uint32_t opensearch;
        uint32_t activelocks;
+       uint32_t numreqbufs;
        uint32_t sizereqbufs;
        uint32_t numbigbufs;
        uint32_t numfiletasks;
        uint32_t alertsched;
-       uint32_t eroralert;
+       uint32_t erroralert;
        uint32_t logonalert;
        uint32_t accessalert;
        uint32_t diskalert;
@@ -899,7 +920,9 @@ union srvsvc_NetSrvInfo {
 };
 
 struct srvsvc_NetDiskInfo0 {
-       const char * disk;/* [flag(LIBNDR_FLAG_STR_LEN4)] */
+       uint32_t __disk_offset;/* [value(0)] */
+       uint32_t __disk_length;/* [value(strlen(disk)+1)] */
+       const char *disk;/* [charset(UTF16)] */
 };
 
 struct srvsvc_NetDiskInfo {
@@ -993,6 +1016,11 @@ union srvsvc_NetTransportCtr {
        struct srvsvc_NetTransportCtr3 *ctr3;/* [unique,case(3)] */
 };
 
+struct srvsvc_NetTransportInfoCtr {
+       uint32_t level;
+       union srvsvc_NetTransportCtr ctr;/* [switch_is(level)] */
+};
+
 struct srvsvc_NetRemoteTODInfo {
        uint32_t elapsed;
        uint32_t msecs;
@@ -1020,15 +1048,13 @@ struct srvsvc_NetCharDevEnum {
        struct {
                const char *server_unc;/* [unique,charset(UTF16)] */
                uint32_t max_buffer;
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetCharDevCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetCharDevInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
        } in;
 
        struct {
                uint32_t *totalentries;/* [ref] */
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetCharDevCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetCharDevInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
                WERROR result;
        } out;
@@ -1070,15 +1096,13 @@ struct srvsvc_NetCharDevQEnum {
                const char *server_unc;/* [unique,charset(UTF16)] */
                const char *user;/* [unique,charset(UTF16)] */
                uint32_t max_buffer;
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetCharDevQCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetCharDevQInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
        } in;
 
        struct {
                uint32_t *totalentries;/* [ref] */
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetCharDevQCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetCharDevQInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
                WERROR result;
        } out;
@@ -1151,15 +1175,13 @@ struct srvsvc_NetConnEnum {
                const char *server_unc;/* [unique,charset(UTF16)] */
                const char *path;/* [unique,charset(UTF16)] */
                uint32_t max_buffer;
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetConnCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetConnInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
        } in;
 
        struct {
                uint32_t *totalentries;/* [ref] */
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetConnCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetConnInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
                WERROR result;
        } out;
@@ -1173,15 +1195,13 @@ struct srvsvc_NetFileEnum {
                const char *path;/* [unique,charset(UTF16)] */
                const char *user;/* [unique,charset(UTF16)] */
                uint32_t max_buffer;
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetFileCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetFileInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
        } in;
 
        struct {
                uint32_t *totalentries;/* [ref] */
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetFileCtr *ctr;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetFileInfoCtr *info_ctr;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
                WERROR result;
        } out;
@@ -1417,7 +1437,7 @@ struct srvsvc_NetServerStatisticsGet {
        } in;
 
        struct {
-               struct srvsvc_Statistics *stats;/* [ref] */
+               struct srvsvc_Statistics **stats;/* [ref] */
                WERROR result;
        } out;
 
@@ -1442,15 +1462,13 @@ struct srvsvc_NetTransportEnum {
        struct {
                const char *server_unc;/* [unique,charset(UTF16)] */
                uint32_t max_buffer;
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetTransportCtr *transports;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetTransportInfoCtr *transports;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
        } in;
 
        struct {
                uint32_t *totalentries;/* [ref] */
-               uint32_t *level;/* [ref] */
-               union srvsvc_NetTransportCtr *transports;/* [ref,switch_is(*level)] */
+               struct srvsvc_NetTransportInfoCtr *transports;/* [ref] */
                uint32_t *resume_handle;/* [unique] */
                WERROR result;
        } out;
@@ -1461,8 +1479,8 @@ struct srvsvc_NetTransportEnum {
 struct srvsvc_NetTransportDel {
        struct {
                const char *server_unc;/* [unique,charset(UTF16)] */
-               uint32_t unknown;
-               struct srvsvc_NetTransportInfo0 transport;
+               uint32_t level;
+               struct srvsvc_NetTransportInfo0 *info0;/* [ref] */
        } in;
 
        struct {