summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-02-13 04:53:20 +0200
committerAnatoliy Atanasov <anatoliy.atanasov@postpath.com>2010-02-24 14:14:06 +0200
commite9438b4c12f135ca01d6e0c65e88176459570907 (patch)
tree69a0d2eadf128ab89919b9192c8c55ead3d772c2
parentf1a33a6cfeafe5dd34ab1e9176bc2ffbf136a117 (diff)
downloadsamba-e9438b4c12f135ca01d6e0c65e88176459570907.tar.gz
samba-e9438b4c12f135ca01d6e0c65e88176459570907.tar.bz2
samba-e9438b4c12f135ca01d6e0c65e88176459570907.zip
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
-rw-r--r--librpc/idl/drsuapi.idl6
1 files changed, 3 insertions, 3 deletions
diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
index b54b7a82a3..b74034634b 100644
--- a/librpc/idl/drsuapi.idl
+++ b/librpc/idl/drsuapi.idl
@@ -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
);
/*****************/