summaryrefslogtreecommitdiff
path: root/source3/rpc_parse
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2009-03-24 20:29:59 +0100
committerSimo Sorce <idra@samba.org>2010-07-07 23:45:51 -0400
commit257f5145b571960fce0e12ce0cd04dbd0ac83f6a (patch)
tree7ed6e3f414dd20e9c9c1ada3cae47b04fe759e04 /source3/rpc_parse
parent5aabd9af8e2abe0eafcafbba60a10ce9102d77c4 (diff)
downloadsamba-257f5145b571960fce0e12ce0cd04dbd0ac83f6a.tar.gz
samba-257f5145b571960fce0e12ce0cd04dbd0ac83f6a.tar.bz2
samba-257f5145b571960fce0e12ce0cd04dbd0ac83f6a.zip
s3-dcerpc: remove unused init_rpc_hdr_rb and init_rpc_context.
Guenther Signed-off-by: Simo Sorce <idra@samba.org>
Diffstat (limited to 'source3/rpc_parse')
-rw-r--r--source3/rpc_parse/parse_rpc.c34
1 files changed, 0 insertions, 34 deletions
diff --git a/source3/rpc_parse/parse_rpc.c b/source3/rpc_parse/parse_rpc.c
index a671c711b4..eb52c41544 100644
--- a/source3/rpc_parse/parse_rpc.c
+++ b/source3/rpc_parse/parse_rpc.c
@@ -188,40 +188,6 @@ static bool smb_io_rpc_hdr_bba(const char *desc, RPC_HDR_BBA *rpc, prs_struct *
}
/*******************************************************************
- Inits an RPC_CONTEXT structure.
- Note the transfer pointer must remain valid until this is marshalled.
-********************************************************************/
-
-void init_rpc_context(RPC_CONTEXT *rpc_ctx, uint16 context_id,
- const struct ndr_syntax_id *abstract,
- const struct ndr_syntax_id *transfer)
-{
- rpc_ctx->context_id = context_id ; /* presentation context identifier (0x0) */
- rpc_ctx->num_transfer_syntaxes = 1 ; /* the number of syntaxes (has always been 1?)(0x1) */
-
- /* num and vers. of interface client is using */
- rpc_ctx->abstract = *abstract;
-
- /* vers. of interface to use for replies */
- rpc_ctx->transfer = CONST_DISCARD(struct ndr_syntax_id *, transfer);
-}
-
-/*******************************************************************
- Inits an RPC_HDR_RB structure.
- Note the context pointer must remain valid until this is marshalled.
-********************************************************************/
-
-void init_rpc_hdr_rb(RPC_HDR_RB *rpc,
- uint16 max_tsize, uint16 max_rsize, uint32 assoc_gid,
- RPC_CONTEXT *context)
-{
- init_rpc_hdr_bba(&rpc->bba, max_tsize, max_rsize, assoc_gid);
-
- rpc->num_contexts = 1;
- rpc->rpc_context = context;
-}
-
-/*******************************************************************
Reads or writes an RPC_CONTEXT structure.
********************************************************************/