mirror of
https://github.com/samba-team/samba.git
synced 2025-01-12 09:18:10 +03:00
s4/idl: drsuapi.idl fix drsuapi_DsReplicaSync definition
- Function should accept pointer to drsuapi_DsReplicaSyncRequest. While this doesn't generate essentially different code for NDR parser, using pointer will make drsuapi_DsReplicaSync descritpin with the rest of the functions in DRSUAPI interface. Another benefit is that this way we could create Wireshark dissector directly from Samba's verions for drsuapi.idl - 'level' and thus the switch_type() should be uint32
This commit is contained in:
parent
f1a33a6cfe
commit
e9438b4c12
@ -228,14 +228,14 @@ interface drsuapi
|
||||
drsuapi_DrsOptions options;
|
||||
} drsuapi_DsReplicaSyncRequest1;
|
||||
|
||||
typedef [switch_type(int32)] union {
|
||||
typedef [switch_type(uint32)] union {
|
||||
[case(1)] drsuapi_DsReplicaSyncRequest1 req1;
|
||||
} drsuapi_DsReplicaSyncRequest;
|
||||
|
||||
WERROR drsuapi_DsReplicaSync(
|
||||
[in] policy_handle *bind_handle,
|
||||
[in] int32 level,
|
||||
[in,switch_is(level)] drsuapi_DsReplicaSyncRequest req
|
||||
[in] uint32 level,
|
||||
[in,switch_is(level)] drsuapi_DsReplicaSyncRequest *req
|
||||
);
|
||||
|
||||
/*****************/
|
||||
|
Loading…
Reference in New Issue
Block a user