summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-07-09 15:32:25 -0400
committerGünther Deschner <gd@samba.org>2010-07-13 14:44:10 +0200
commit77699c777e78a1cd8ed8bc9c92cfeebe46997f70 (patch)
tree3688877e0fb0efc4898c27e8f434b94669e3b97f /source3/include/proto.h
parentaca330a2c5f4a98a050af1a991f7b4eae1a31b0c (diff)
downloadsamba-77699c777e78a1cd8ed8bc9c92cfeebe46997f70.tar.gz
samba-77699c777e78a1cd8ed8bc9c92cfeebe46997f70.tar.bz2
samba-77699c777e78a1cd8ed8bc9c92cfeebe46997f70.zip
sr-dcerpc: add dcerpc_push_ncacn_packet_header()
Signed-off-by: Günther Deschner <gd@samba.org>
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index e9ff4b2f8d..302999ffbc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4846,6 +4846,13 @@ NTSTATUS dcerpc_push_ncacn_packet(TALLOC_CTX *mem_ctx,
uint32_t call_id,
union dcerpc_payload u,
DATA_BLOB *blob);
+NTSTATUS dcerpc_push_ncacn_packet_header(TALLOC_CTX *mem_ctx,
+ enum dcerpc_pkt_type ptype,
+ uint8_t pfc_flags,
+ uint16_t frag_length,
+ uint16_t auth_length,
+ uint32_t call_id,
+ DATA_BLOB *blob);
NTSTATUS dcerpc_pull_ncacn_packet(TALLOC_CTX *mem_ctx,
const DATA_BLOB *blob,
struct ncacn_packet *r);