summaryrefslogtreecommitdiffstats
path: root/librpc/idl
diff options
context:
space:
mode:
authorGregor Beck <gbeck@sernet.de>2014-01-02 15:30:52 +0100
committerStefan Metzmacher <metze@samba.org>2014-01-08 14:34:49 +0100
commit0f3848a8632d6f6c113d128e71171dc49f4f74b9 (patch)
treeb143dc8ae223201bd1f95e00d13da08735b926e1 /librpc/idl
parentb7a53803f3e5596329688ad8186bb0287705821f (diff)
downloadsamba-0f3848a8632d6f6c113d128e71171dc49f4f74b9.tar.gz
samba-0f3848a8632d6f6c113d128e71171dc49f4f74b9.tar.xz
samba-0f3848a8632d6f6c113d128e71171dc49f4f74b9.zip
librpc/ndr: add ndr_pop_dcerpc_sec_verification_trailer()
This extracts the dcerpc_sec_verification_trailer from the end of an ndr_pull structure, it found it reduces ndr->data_size. NDR_ERR_ALLOC is the only possible error, all other errors are ignored and a trailer with command count = 0 is returned. Pair-Programmed-With: Gregor Beck <gbeck@sernet.de> Signed-off-by: Gregor Beck <gbeck@sernet.de> Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andreas Schneider <asn@samba.org>
Diffstat (limited to 'librpc/idl')
-rw-r--r--librpc/idl/dcerpc.idl3
1 files changed, 3 insertions, 0 deletions
diff --git a/librpc/idl/dcerpc.idl b/librpc/idl/dcerpc.idl
index 276ddd878f..32f9514bbf 100644
--- a/librpc/idl/dcerpc.idl
+++ b/librpc/idl/dcerpc.idl
@@ -21,6 +21,9 @@ import "misc.idl";
cpp_quote("extern const uint8_t DCERPC_SEC_VT_MAGIC[8];")
+[
+ helper("../librpc/ndr/ndr_dcerpc.h")
+]
interface dcerpc
{
typedef struct {