From 81063f9a268e959edbb796ca72ba35da70e838c2 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Sun, 13 Mar 2011 16:21:44 +0100 Subject: s4:librpc/rpc: remove unused dcerpc_request() metze --- source4/librpc/rpc/dcerpc.c | 21 --------------------- 1 file changed, 21 deletions(-) (limited to 'source4/librpc/rpc/dcerpc.c') diff --git a/source4/librpc/rpc/dcerpc.c b/source4/librpc/rpc/dcerpc.c index fe2b61391e..bb7c4c536d 100644 --- a/source4/librpc/rpc/dcerpc.c +++ b/source4/librpc/rpc/dcerpc.c @@ -1535,27 +1535,6 @@ static NTSTATUS dcerpc_request_recv(struct rpc_request *req, return status; } -/* - perform a full request/response pair on a dcerpc pipe -*/ -NTSTATUS dcerpc_request(struct dcerpc_pipe *p, - struct GUID *object, - uint16_t opnum, - TALLOC_CTX *mem_ctx, - DATA_BLOB *stub_data_in, - DATA_BLOB *stub_data_out) -{ - struct rpc_request *req; - - req = dcerpc_request_send(p, object, opnum, stub_data_in); - if (req == NULL) { - return NT_STATUS_NO_MEMORY; - } - - return dcerpc_request_recv(req, mem_ctx, stub_data_out); -} - - /* this is a paranoid NDR validator. For every packet we push onto the wire we pull it back again, then push it again. Then we compare the raw NDR data -- cgit