summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-09 18:23:49 -0400
committerGünther Deschner <gd@samba.org>2010-07-13 14:44:10 +0200
commite340aa40d19cb03d9c9b5d6e64ac073aeee4b759 (patch)
tree7aa3571d04b5825c056f42758ed5d7303d90c206 /source3
parent77fb3649cede61407ba5df008ceaa49d32ef71d7 (diff)
downloadsamba-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')
-rw-r--r--source3/include/proto.h6
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 */