diff options
author | Stefan Metzmacher <metze@samba.org> | 2011-03-13 16:21:44 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2011-03-13 17:01:00 +0100 |
commit | 81063f9a268e959edbb796ca72ba35da70e838c2 (patch) | |
tree | e3d9191477f2646efe806d1e43f04ac58ad6e8cf /source4 | |
parent | f8030ec08021f170b90872ba80fa8772ee6d7618 (diff) | |
download | samba-81063f9a268e959edbb796ca72ba35da70e838c2.tar.gz samba-81063f9a268e959edbb796ca72ba35da70e838c2.tar.bz2 samba-81063f9a268e959edbb796ca72ba35da70e838c2.zip |
s4:librpc/rpc: remove unused dcerpc_request()
metze
Diffstat (limited to 'source4')
-rw-r--r-- | source4/librpc/rpc/dcerpc.c | 21 | ||||
-rw-r--r-- | source4/librpc/rpc/dcerpc.h | 7 |
2 files changed, 0 insertions, 28 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 diff --git a/source4/librpc/rpc/dcerpc.h b/source4/librpc/rpc/dcerpc.h index b16c335979..a6ac8c37eb 100644 --- a/source4/librpc/rpc/dcerpc.h +++ b/source4/librpc/rpc/dcerpc.h @@ -353,13 +353,6 @@ NTSTATUS dcerpc_binding_from_tower(TALLOC_CTX *mem_ctx, struct epm_tower *tower, struct dcerpc_binding **b_out); -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); - enum dcerpc_transport_t dcerpc_transport_by_endpoint_protocol(int prot); const char *dcerpc_floor_get_rhs_data(TALLOC_CTX *mem_ctx, struct epm_floor *epm_floor); |