1#include "../librpc/gen_ndr/ndr_echo.h" 2#ifndef __CLI_RPCECHO__ 3#define __CLI_RPCECHO__ 4struct tevent_req *rpccli_echo_AddOne_send(TALLOC_CTX *mem_ctx, 5 struct tevent_context *ev, 6 struct rpc_pipe_client *cli, 7 uint32_t _in_data /* [in] */, 8 uint32_t *_out_data /* [out] [ref] */); 9NTSTATUS rpccli_echo_AddOne_recv(struct tevent_req *req, 10 TALLOC_CTX *mem_ctx); 11NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, 12 TALLOC_CTX *mem_ctx, 13 uint32_t in_data /* [in] */, 14 uint32_t *out_data /* [out] [ref] */); 15struct tevent_req *rpccli_echo_EchoData_send(TALLOC_CTX *mem_ctx, 16 struct tevent_context *ev, 17 struct rpc_pipe_client *cli, 18 uint32_t _len /* [in] */, 19 uint8_t *_in_data /* [in] [size_is(len)] */, 20 uint8_t *_out_data /* [out] [size_is(len)] */); 21NTSTATUS rpccli_echo_EchoData_recv(struct tevent_req *req, 22 TALLOC_CTX *mem_ctx); 23NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, 24 TALLOC_CTX *mem_ctx, 25 uint32_t len /* [in] */, 26 uint8_t *in_data /* [in] [size_is(len)] */, 27 uint8_t *out_data /* [out] [size_is(len)] */); 28struct tevent_req *rpccli_echo_SinkData_send(TALLOC_CTX *mem_ctx, 29 struct tevent_context *ev, 30 struct rpc_pipe_client *cli, 31 uint32_t _len /* [in] */, 32 uint8_t *_data /* [in] [size_is(len)] */); 33NTSTATUS rpccli_echo_SinkData_recv(struct tevent_req *req, 34 TALLOC_CTX *mem_ctx); 35NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, 36 TALLOC_CTX *mem_ctx, 37 uint32_t len /* [in] */, 38 uint8_t *data /* [in] [size_is(len)] */); 39struct tevent_req *rpccli_echo_SourceData_send(TALLOC_CTX *mem_ctx, 40 struct tevent_context *ev, 41 struct rpc_pipe_client *cli, 42 uint32_t _len /* [in] */, 43 uint8_t *_data /* [out] [size_is(len)] */); 44NTSTATUS rpccli_echo_SourceData_recv(struct tevent_req *req, 45 TALLOC_CTX *mem_ctx); 46NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, 47 TALLOC_CTX *mem_ctx, 48 uint32_t len /* [in] */, 49 uint8_t *data /* [out] [size_is(len)] */); 50struct tevent_req *rpccli_echo_TestCall_send(TALLOC_CTX *mem_ctx, 51 struct tevent_context *ev, 52 struct rpc_pipe_client *cli, 53 const char *_s1 /* [in] [ref,charset(UTF16)] */, 54 const char **_s2 /* [out] [ref,charset(UTF16)] */); 55NTSTATUS rpccli_echo_TestCall_recv(struct tevent_req *req, 56 TALLOC_CTX *mem_ctx); 57NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, 58 TALLOC_CTX *mem_ctx, 59 const char *s1 /* [in] [ref,charset(UTF16)] */, 60 const char **s2 /* [out] [ref,charset(UTF16)] */); 61struct tevent_req *rpccli_echo_TestCall2_send(TALLOC_CTX *mem_ctx, 62 struct tevent_context *ev, 63 struct rpc_pipe_client *cli, 64 uint16_t _level /* [in] */, 65 union echo_Info *_info /* [out] [ref,switch_is(level)] */); 66NTSTATUS rpccli_echo_TestCall2_recv(struct tevent_req *req, 67 TALLOC_CTX *mem_ctx, 68 NTSTATUS *result); 69NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, 70 TALLOC_CTX *mem_ctx, 71 uint16_t level /* [in] */, 72 union echo_Info *info /* [out] [ref,switch_is(level)] */); 73struct tevent_req *rpccli_echo_TestSleep_send(TALLOC_CTX *mem_ctx, 74 struct tevent_context *ev, 75 struct rpc_pipe_client *cli, 76 uint32_t _seconds /* [in] */); 77NTSTATUS rpccli_echo_TestSleep_recv(struct tevent_req *req, 78 TALLOC_CTX *mem_ctx, 79 uint32 *result); 80NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, 81 TALLOC_CTX *mem_ctx, 82 uint32_t seconds /* [in] */); 83struct tevent_req *rpccli_echo_TestEnum_send(TALLOC_CTX *mem_ctx, 84 struct tevent_context *ev, 85 struct rpc_pipe_client *cli, 86 enum echo_Enum1 *_foo1 /* [in,out] [ref] */, 87 struct echo_Enum2 *_foo2 /* [in,out] [ref] */, 88 union echo_Enum3 *_foo3 /* [in,out] [ref,switch_is(*foo1)] */); 89NTSTATUS rpccli_echo_TestEnum_recv(struct tevent_req *req, 90 TALLOC_CTX *mem_ctx); 91NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, 92 TALLOC_CTX *mem_ctx, 93 enum echo_Enum1 *foo1 /* [in,out] [ref] */, 94 struct echo_Enum2 *foo2 /* [in,out] [ref] */, 95 union echo_Enum3 *foo3 /* [in,out] [ref,switch_is(*foo1)] */); 96struct tevent_req *rpccli_echo_TestSurrounding_send(TALLOC_CTX *mem_ctx, 97 struct tevent_context *ev, 98 struct rpc_pipe_client *cli, 99 struct echo_Surrounding *_data /* [in,out] [ref] */); 100NTSTATUS rpccli_echo_TestSurrounding_recv(struct tevent_req *req, 101 TALLOC_CTX *mem_ctx); 102NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, 103 TALLOC_CTX *mem_ctx, 104 struct echo_Surrounding *data /* [in,out] [ref] */); 105struct tevent_req *rpccli_echo_TestDoublePointer_send(TALLOC_CTX *mem_ctx, 106 struct tevent_context *ev, 107 struct rpc_pipe_client *cli, 108 uint16_t ***_data /* [in] [ref] */); 109NTSTATUS rpccli_echo_TestDoublePointer_recv(struct tevent_req *req, 110 TALLOC_CTX *mem_ctx, 111 uint16 *result); 112NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, 113 TALLOC_CTX *mem_ctx, 114 uint16_t ***data /* [in] [ref] */); 115#endif /* __CLI_RPCECHO__ */ 116