diff options
author | Stefan Metzmacher <metze@samba.org> | 2005-08-18 00:45:19 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 13:33:29 -0500 |
commit | a8d31eac00cf13c20343374f11224778e470e849 (patch) | |
tree | bcacf294fc1768135c60c1b42b7eb6e37308d277 /source4/librpc/ndr/ndr_obfuscate.c | |
parent | 810dffecc23a16dee1430a1fd6c833472835c013 (diff) | |
download | samba-a8d31eac00cf13c20343374f11224778e470e849.tar.gz samba-a8d31eac00cf13c20343374f11224778e470e849.tar.bz2 samba-a8d31eac00cf13c20343374f11224778e470e849.zip |
r9372: - make the subcontext handling autogenerated code look nicer,
- unify the handling of subcontext, compression and obfucation
metze
(This used to be commit 09de7e0af7f9f7539cf63791baf90ac202536176)
Diffstat (limited to 'source4/librpc/ndr/ndr_obfuscate.c')
-rw-r--r-- | source4/librpc/ndr/ndr_obfuscate.c | 14 |
1 files changed, 12 insertions, 2 deletions
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; |