1
0
mirror of https://github.com/samba-team/samba.git synced 2024-12-25 23:21:54 +03:00

s4/idl: drsuapi_DsAddEntryError refactored

Structure description and name was changed to be aligned with
WSPP definition.

Ref: [MS-DRSR] 4.1.1.1.23
This commit is contained in:
Kamen Mazdrashki 2010-03-12 14:30:05 +02:00
parent 427a1f3c62
commit 7b4341637c

View File

@ -1278,13 +1278,13 @@ interface drsuapi
typedef struct { typedef struct {
WERROR status; WERROR status;
uint32 level; drsuapi_DsAddEntry_DirErr dir_err;
[switch_is(level)] drsuapi_DsAddEntryErrorInfo *info; [switch_is(dir_err)] drsuapi_DsAddEntryErrorInfo *info;
} drsuapi_DsAddEntryError1; } drsuapi_DsAddEntry_ErrData_V1;
typedef [switch_type(uint32)] union { typedef [switch_type(uint32)] union {
[case(1)] drsuapi_DsAddEntryError1 info1; [case(1)] drsuapi_DsAddEntry_ErrData_V1 v1;
} drsuapi_DsAddEntryError; } drsuapi_DsAddEntry_ErrData;
typedef struct { typedef struct {
GUID guid; GUID guid;
@ -1304,8 +1304,8 @@ interface drsuapi
typedef struct { typedef struct {
drsuapi_DsReplicaObjectIdentifier *id; drsuapi_DsReplicaObjectIdentifier *id;
uint32 level; uint32 err_ver; /* Must be 1 */
[switch_is(level)] drsuapi_DsAddEntryError *error; [switch_is(err_ver)] drsuapi_DsAddEntry_ErrData *err_data;
[range(0,10000)] uint32 count; [range(0,10000)] uint32 count;
[size_is(count)] drsuapi_DsReplicaObjectIdentifier2 *objects; [size_is(count)] drsuapi_DsReplicaObjectIdentifier2 *objects;
} drsuapi_DsAddEntryCtr3; } drsuapi_DsAddEntryCtr3;