summaryrefslogtreecommitdiff
path: root/source3/include/proto.h
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2009-07-27 14:28:52 +0200
committerVolker Lendecke <vl@samba.org>2009-07-27 16:15:54 +0200
commit3532882d02ff30c1ea47dd433715246351297e4e (patch)
tree3de4fa9cb4ddbe602ea0c90b50cf791f1657295e /source3/include/proto.h
parent5135ebd6f099518f0a0b5796e8057210be824740 (diff)
downloadsamba-3532882d02ff30c1ea47dd433715246351297e4e.tar.gz
samba-3532882d02ff30c1ea47dd433715246351297e4e.tar.bz2
samba-3532882d02ff30c1ea47dd433715246351297e4e.zip
Lift the event loop in rpc_api_pipe_req() one level into cli_do_rpc_ndr
Diffstat (limited to 'source3/include/proto.h')
-rw-r--r--source3/include/proto.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index aed2c4c0f7..3e9f5e8ae7 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -5262,10 +5262,6 @@ struct tevent_req *rpc_api_pipe_req_send(TALLOC_CTX *mem_ctx,
prs_struct *req_data);
NTSTATUS rpc_api_pipe_req_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx,
prs_struct *reply_pdu);
-NTSTATUS rpc_api_pipe_req(TALLOC_CTX *mem_ctx, struct rpc_pipe_client *cli,
- uint8 op_num,
- prs_struct *in_data,
- prs_struct *out_data);
struct tevent_req *rpc_pipe_bind_send(TALLOC_CTX *mem_ctx,
struct event_context *ev,
struct rpc_pipe_client *cli,
@@ -5615,6 +5611,13 @@ void init_samr_CryptPassword(const char *pwd,
/* The following definitions come from rpc_client/ndr.c */
+struct tevent_req *cli_do_rpc_ndr_send(TALLOC_CTX *mem_ctx,
+ struct tevent_context *ev,
+ struct rpc_pipe_client *cli,
+ const struct ndr_interface_table *table,
+ uint32_t opnum,
+ void *r);
+NTSTATUS cli_do_rpc_ndr_recv(struct tevent_req *req, TALLOC_CTX *mem_ctx);
NTSTATUS cli_do_rpc_ndr(struct rpc_pipe_client *cli,
TALLOC_CTX *mem_ctx,
const struct ndr_interface_table *table,