diff options
author | Simo Sorce <idra@samba.org> | 2010-07-09 18:23:49 -0400 |
---|---|---|
committer | Günther Deschner <gd@samba.org> | 2010-07-13 14:44:10 +0200 |
commit | e340aa40d19cb03d9c9b5d6e64ac073aeee4b759 (patch) | |
tree | 7aa3571d04b5825c056f42758ed5d7303d90c206 /source3/include | |
parent | 77fb3649cede61407ba5df008ceaa49d32ef71d7 (diff) | |
download | samba-e340aa40d19cb03d9c9b5d6e64ac073aeee4b759.tar.gz samba-e340aa40d19cb03d9c9b5d6e64ac073aeee4b759.tar.bz2 samba-e340aa40d19cb03d9c9b5d6e64ac073aeee4b759.zip |
dcerpc: move dcerpc_pull_auth_trailer into a the common dcerpc_util.c file
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/proto.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 302999ffbc..1b8aa485d5 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -2936,6 +2936,12 @@ NTSTATUS dcerpc_fault_to_nt_status(uint32_t fault_code); void dcerpc_set_frag_length(DATA_BLOB *blob, uint16_t v); uint16_t dcerpc_get_frag_length(const DATA_BLOB *blob); void dcerpc_set_auth_length(DATA_BLOB *blob, uint16_t v); +NTSTATUS dcerpc_pull_auth_trailer(struct ncacn_packet *pkt, + TALLOC_CTX *mem_ctx, + DATA_BLOB *pkt_auth_blob, + struct dcerpc_auth *auth, + uint32_t *auth_length, + bool check_pad); /* The following definitions come from libsmb/dsgetdcname.c */ |