librpc/ndr: add ndr_pop_dcerpc_sec_verification_trailer()
authorGregor Beck <gbeck@sernet.de>
Thu, 2 Jan 2014 14:30:52 +0000 (15:30 +0100)
committerStefan Metzmacher <metze@samba.org>
Wed, 8 Jan 2014 13:34:49 +0000 (14:34 +0100)
commit0f3848a8632d6f6c113d128e71171dc49f4f74b9
treeb143dc8ae223201bd1f95e00d13da08735b926e1
parentb7a53803f3e5596329688ad8186bb0287705821f
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>
librpc/idl/dcerpc.idl
librpc/ndr/ndr_dcerpc.c
librpc/ndr/ndr_dcerpc.h [new file with mode: 0644]
librpc/wscript_build