mirror of
https://github.com/samba-team/samba.git
synced 2025-03-01 04:58:35 +03:00
s4-srvsvc-idl: adapt some more formating changes from s3 idl.
Guenther
This commit is contained in:
parent
5772c73e84
commit
ecd2434d69
@ -196,6 +196,11 @@ import "security.idl", "svcctl.idl";
|
||||
[default] ;
|
||||
} srvsvc_NetConnCtr;
|
||||
|
||||
typedef struct {
|
||||
uint32 level;
|
||||
[switch_is(level)] srvsvc_NetConnCtr ctr;
|
||||
} srvsvc_NetConnInfoCtr;
|
||||
|
||||
/******************/
|
||||
/* Function: 0x08 */
|
||||
WERROR srvsvc_NetConnEnum(
|
||||
@ -245,6 +250,11 @@ import "security.idl", "svcctl.idl";
|
||||
[default] ;
|
||||
} srvsvc_NetFileCtr;
|
||||
|
||||
typedef struct {
|
||||
uint32 level;
|
||||
[switch_is(level)] srvsvc_NetFileCtr ctr;
|
||||
} srvsvc_NetFileInfoCtr;
|
||||
|
||||
/******************/
|
||||
/* Function: 0x09 */
|
||||
WERROR srvsvc_NetFileEnum(
|
||||
@ -354,6 +364,12 @@ import "security.idl", "svcctl.idl";
|
||||
|
||||
/******************/
|
||||
/* Function: 0x0c */
|
||||
|
||||
typedef struct {
|
||||
uint32 level;
|
||||
[switch_is(level)] srvsvc_NetSessCtr ctr;
|
||||
} srvsvc_NetSessInfoCtr;
|
||||
|
||||
WERROR srvsvc_NetSessEnum(
|
||||
[in,unique] [string,charset(UTF16)] uint16 *server_unc,
|
||||
[in,unique] [string,charset(UTF16)] uint16 *client,
|
||||
@ -400,12 +416,22 @@ import "security.idl", "svcctl.idl";
|
||||
[string,charset(UTF16)] uint16 *name;
|
||||
} srvsvc_NetShareInfo0;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo0 *array;
|
||||
} srvsvc_NetShareCtr0;
|
||||
|
||||
typedef struct {
|
||||
[string,charset(UTF16)] uint16 *name;
|
||||
srvsvc_ShareType type;
|
||||
[string,charset(UTF16)] uint16 *comment;
|
||||
} srvsvc_NetShareInfo1;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1 *array;
|
||||
} srvsvc_NetShareCtr1;
|
||||
|
||||
typedef struct {
|
||||
[string,charset(UTF16)] uint16 *name;
|
||||
srvsvc_ShareType type;
|
||||
@ -417,6 +443,11 @@ import "security.idl", "svcctl.idl";
|
||||
[string,charset(UTF16)] uint16 *password;
|
||||
} srvsvc_NetShareInfo2;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo2 *array;
|
||||
} srvsvc_NetShareCtr2;
|
||||
|
||||
typedef struct {
|
||||
[string,charset(UTF16)] uint16 *name;
|
||||
srvsvc_ShareType type;
|
||||
@ -424,6 +455,11 @@ import "security.idl", "svcctl.idl";
|
||||
uint32 csc_policy;
|
||||
} srvsvc_NetShareInfo501;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo501 *array;
|
||||
} srvsvc_NetShareCtr501;
|
||||
|
||||
typedef struct {
|
||||
[string,charset(UTF16)] uint16 *name;
|
||||
srvsvc_ShareType type;
|
||||
@ -438,13 +474,19 @@ import "security.idl", "svcctl.idl";
|
||||
[subcontext(4)] security_descriptor *sd;
|
||||
} srvsvc_NetShareInfo502;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo502 *array;
|
||||
} srvsvc_NetShareCtr502;
|
||||
|
||||
typedef struct {
|
||||
[string,charset(UTF16)] uint16 *comment;
|
||||
} srvsvc_NetShareInfo1004;
|
||||
|
||||
typedef struct {
|
||||
int32 max_users;
|
||||
} srvsvc_NetShareInfo1006;
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1004 *array;
|
||||
} srvsvc_NetShareCtr1004;
|
||||
|
||||
typedef bitmap {
|
||||
SHARE_1005_IN_DFS = 0x00000001,
|
||||
@ -458,11 +500,35 @@ import "security.idl", "svcctl.idl";
|
||||
NetShareInfo1005Flags dfs_flags;
|
||||
} srvsvc_NetShareInfo1005;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1005 *array;
|
||||
} srvsvc_NetShareCtr1005;
|
||||
|
||||
typedef struct {
|
||||
int32 max_users;
|
||||
} srvsvc_NetShareInfo1006;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1006 *array;
|
||||
} srvsvc_NetShareCtr1006;
|
||||
|
||||
typedef struct {
|
||||
uint32 flags;
|
||||
[string,charset(UTF16)] uint16 *alternate_directory_name;
|
||||
} srvsvc_NetShareInfo1007;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1007 *array;
|
||||
} srvsvc_NetShareCtr1007;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] sec_desc_buf *array;
|
||||
} srvsvc_NetShareCtr1501;
|
||||
|
||||
typedef union {
|
||||
[case(0)] srvsvc_NetShareInfo0 *info0;
|
||||
[case(1)] srvsvc_NetShareInfo1 *info1;
|
||||
@ -477,56 +543,6 @@ import "security.idl", "svcctl.idl";
|
||||
[default] ;
|
||||
} srvsvc_NetShareInfo;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo0 *array;
|
||||
} srvsvc_NetShareCtr0;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1 *array;
|
||||
} srvsvc_NetShareCtr1;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo2 *array;
|
||||
} srvsvc_NetShareCtr2;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo501 *array;
|
||||
} srvsvc_NetShareCtr501;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo502 *array;
|
||||
} srvsvc_NetShareCtr502;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1004 *array;
|
||||
} srvsvc_NetShareCtr1004;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1005 *array;
|
||||
} srvsvc_NetShareCtr1005;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1006 *array;
|
||||
} srvsvc_NetShareCtr1006;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] srvsvc_NetShareInfo1007 *array;
|
||||
} srvsvc_NetShareCtr1007;
|
||||
|
||||
typedef struct {
|
||||
uint32 count;
|
||||
[size_is(count)] sec_desc_buf *array;
|
||||
} srvsvc_NetShareCtr1501;
|
||||
|
||||
typedef union {
|
||||
[case(0)] srvsvc_NetShareCtr0 *ctr0;
|
||||
[case(1)] srvsvc_NetShareCtr1 *ctr1;
|
||||
@ -541,6 +557,11 @@ import "security.idl", "svcctl.idl";
|
||||
[default] ;
|
||||
} srvsvc_NetShareCtr;
|
||||
|
||||
typedef struct {
|
||||
uint32 level;
|
||||
[switch_is(level)] srvsvc_NetShareCtr ctr;
|
||||
} srvsvc_NetShareInfoCtr;
|
||||
|
||||
/******************/
|
||||
/* Function: 0x0e */
|
||||
WERROR srvsvc_NetShareAdd(
|
||||
|
Loading…
x
Reference in New Issue
Block a user