summaryrefslogtreecommitdiff
path: root/source3/librpc
diff options
context:
space:
mode:
authorSimo Sorce <idra@samba.org>2010-06-18 10:55:44 -0400
committerAndreas Schneider <asn@samba.org>2010-09-15 12:53:42 +0200
commitf7f9916dc78d2fb31f65a5186ce68a66fd707cd7 (patch)
tree33b2256308c230fb4008f4adefc3eea8ed3cc7d7 /source3/librpc
parent7b1748d959d42ae69cfd2936cbc4fafd76046f02 (diff)
downloadsamba-f7f9916dc78d2fb31f65a5186ce68a66fd707cd7.tar.gz
samba-f7f9916dc78d2fb31f65a5186ce68a66fd707cd7.tar.bz2
samba-f7f9916dc78d2fb31f65a5186ce68a66fd707cd7.zip
s3-rpc_server: Added helper functions to read data from a ncacn socket.
Signed-off-by: Andreas Schneider <asn@cynapses.org>
Diffstat (limited to 'source3/librpc')
-rw-r--r--source3/librpc/rpc/dcerpc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/librpc/rpc/dcerpc.h b/source3/librpc/rpc/dcerpc.h
index 56d6d320fd..318364575f 100644
--- a/source3/librpc/rpc/dcerpc.h
+++ b/source3/librpc/rpc/dcerpc.h
@@ -168,6 +168,10 @@ struct ndr_pull;
struct tevent_context;
struct tstream_context;
+/* from ../librpc/rpc/dcerpc_util.c */
+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);
struct tevent_req *dcerpc_read_ncacn_packet_send(TALLOC_CTX *mem_ctx,
struct tevent_context *ev,
struct tstream_context *stream);