From a8d31eac00cf13c20343374f11224778e470e849 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Thu, 18 Aug 2005 00:45:19 +0000 Subject: r9372: - make the subcontext handling autogenerated code look nicer, - unify the handling of subcontext, compression and obfucation metze (This used to be commit 09de7e0af7f9f7539cf63791baf90ac202536176) --- source4/librpc/ndr/ndr_obfuscate.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) (limited to 'source4/librpc/ndr/ndr_obfuscate.c') diff --git a/source4/librpc/ndr/ndr_obfuscate.c b/source4/librpc/ndr/ndr_obfuscate.c index 4f875f19a7..3b10e172b7 100644 --- a/source4/librpc/ndr/ndr_obfuscate.c +++ b/source4/librpc/ndr/ndr_obfuscate.c @@ -26,7 +26,7 @@ handle obfuscated subcontext buffers, which in midl land are user-marshalled, but we use magic in pidl to make them easier to cope with */ -NTSTATUS ndr_pull_obfuscation(struct ndr_pull *ndr, uint8_t salt) +NTSTATUS ndr_pull_obfuscation_start(struct ndr_pull *ndr, uint8_t salt) { uint32_t i; @@ -37,10 +37,20 @@ NTSTATUS ndr_pull_obfuscation(struct ndr_pull *ndr, uint8_t salt) return NT_STATUS_OK; } +NTSTATUS ndr_pull_obfuscation_end(struct ndr_pull *ndr, uint8_t salt) +{ + return NT_STATUS_OK; +} + +NTSTATUS ndr_push_obfuscation_start(struct ndr_push *ndr, uint8_t salt) +{ + return NT_STATUS_OK; +} + /* push a obfuscated subcontext */ -NTSTATUS ndr_push_obfuscation(struct ndr_push *ndr, uint8_t salt) +NTSTATUS ndr_push_obfuscation_end(struct ndr_push *ndr, uint8_t salt) { uint32_t i; -- cgit