summaryrefslogtreecommitdiff
path: root/source4/librpc/rpc/dcerpc.c
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-03-13 16:21:44 +0100
committerStefan Metzmacher <metze@samba.org>2011-03-13 17:01:00 +0100
commit81063f9a268e959edbb796ca72ba35da70e838c2 (patch)
treee3d9191477f2646efe806d1e43f04ac58ad6e8cf /source4/librpc/rpc/dcerpc.c
parentf8030ec08021f170b90872ba80fa8772ee6d7618 (diff)
downloadsamba-81063f9a268e959edbb796ca72ba35da70e838c2.tar.gz
samba-81063f9a268e959edbb796ca72ba35da70e838c2.tar.bz2
samba-81063f9a268e959edbb796ca72ba35da70e838c2.zip
s4:librpc/rpc: remove unused dcerpc_request()
metze
Diffstat (limited to 'source4/librpc/rpc/dcerpc.c')
-rw-r--r--source4/librpc/rpc/dcerpc.c21
1 files changed, 0 insertions, 21 deletions
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
@@ -1536,27 +1536,6 @@ static NTSTATUS dcerpc_request_recv(struct rpc_request *req,
}
/*
- 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
for that to the NDR we initially generated. If they don't match then we know