summaryrefslogtreecommitdiffstats
path: root/librpc
diff options
context:
space:
mode:
authorKamen Mazdrashki <kamen.mazdrashki@postpath.com>2010-03-05 20:33:23 +0200
committerStefan Metzmacher <metze@samba.org>2010-03-10 17:11:56 +0100
commit89f8c35ac4cb123c930207f6e8dd2ff4e428db72 (patch)
tree341906189c221081fe51ba7f1dd03724f7366021 /librpc
parent163cc1a02d2dd1e5391fc37e5c438145d7b43b7e (diff)
downloadsamba-89f8c35ac4cb123c930207f6e8dd2ff4e428db72.tar.gz
samba-89f8c35ac4cb123c930207f6e8dd2ff4e428db72.tar.xz
samba-89f8c35ac4cb123c930207f6e8dd2ff4e428db72.zip
s4/idl: DsGetNCChanges - switch types should be unsigned
Converting those types to unsigned should help in creating DRSUAPI dissector for Wireshark also. Signed-off-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'librpc')
-rw-r--r--librpc/idl/drsuapi.idl10
1 files changed, 5 insertions, 5 deletions
diff --git a/librpc/idl/drsuapi.idl b/librpc/idl/drsuapi.idl
index a4301218f1..511439f5c9 100644
--- a/librpc/idl/drsuapi.idl
+++ b/librpc/idl/drsuapi.idl
@@ -499,7 +499,7 @@ interface drsuapi
uint32 more_flags;
} drsuapi_DsGetNCChangesRequest10;
- typedef [switch_type(int32)] union {
+ typedef [switch_type(uint32)] union {
[case(5)] drsuapi_DsGetNCChangesRequest5 req5;
[case(8)] drsuapi_DsGetNCChangesRequest8 req8;
[case(10)] drsuapi_DsGetNCChangesRequest10 req10;
@@ -705,12 +705,12 @@ interface drsuapi
} drsuapi_DsGetNCChangesCtr2;
typedef struct {
- [range(0,6)] int32 level;
+ [range(0,6)] uint32 level;
[range(2,3)] drsuapi_DsGetNCChangesCompressionType type;
[switch_is(level | (type<<16))] drsuapi_DsGetNCChangesCompressedCtr ctr;
} drsuapi_DsGetNCChangesCtr7;
- typedef [switch_type(int32)] union {
+ typedef [switch_type(uint32)] union {
[case(1)] drsuapi_DsGetNCChangesCtr1 ctr1;
[case(2)] drsuapi_DsGetNCChangesCtr2 ctr2;
[case(6)] drsuapi_DsGetNCChangesCtr6 ctr6;
@@ -719,9 +719,9 @@ interface drsuapi
WERROR drsuapi_DsGetNCChanges(
[in] policy_handle *bind_handle,
- [in] int32 level,
+ [in] uint32 level,
[in,ref,switch_is(level)] drsuapi_DsGetNCChangesRequest *req,
- [out,ref] int32 *level_out,
+ [out,ref] uint32 *level_out,
[out,ref,switch_is(*level_out)] drsuapi_DsGetNCChangesCtr *ctr
);