1 #include "../librpc/gen_ndr/ndr_echo.h"
2 #ifndef __CLI_RPCECHO__
3 #define __CLI_RPCECHO__
4 NTSTATUS
rpccli_echo_AddOne(struct rpc_pipe_client
*cli
,
6 uint32_t in_data
/* [in] */,
7 uint32_t *out_data
/* [out] [ref] */);
8 NTSTATUS
rpccli_echo_EchoData(struct rpc_pipe_client
*cli
,
10 uint32_t len
/* [in] */,
11 uint8_t *in_data
/* [in] [size_is(len)] */,
12 uint8_t *out_data
/* [out] [size_is(len)] */);
13 NTSTATUS
rpccli_echo_SinkData(struct rpc_pipe_client
*cli
,
15 uint32_t len
/* [in] */,
16 uint8_t *data
/* [in] [size_is(len)] */);
17 NTSTATUS
rpccli_echo_SourceData(struct rpc_pipe_client
*cli
,
19 uint32_t len
/* [in] */,
20 uint8_t *data
/* [out] [size_is(len)] */);
21 NTSTATUS
rpccli_echo_TestCall(struct rpc_pipe_client
*cli
,
23 const char *s1
/* [in] [ref,charset(UTF16)] */,
24 const char **s2
/* [out] [ref,charset(UTF16)] */);
25 NTSTATUS
rpccli_echo_TestCall2(struct rpc_pipe_client
*cli
,
27 uint16_t level
/* [in] */,
28 union echo_Info
*info
/* [out] [ref,switch_is(level)] */);
29 NTSTATUS
rpccli_echo_TestSleep(struct rpc_pipe_client
*cli
,
31 uint32_t seconds
/* [in] */);
32 NTSTATUS
rpccli_echo_TestEnum(struct rpc_pipe_client
*cli
,
34 enum echo_Enum1
*foo1
/* [in,out] [ref] */,
35 struct echo_Enum2
*foo2
/* [in,out] [ref] */,
36 union echo_Enum3
*foo3
/* [in,out] [ref,switch_is(*foo1)] */);
37 NTSTATUS
rpccli_echo_TestSurrounding(struct rpc_pipe_client
*cli
,
39 struct echo_Surrounding
*data
/* [in,out] [ref] */);
40 NTSTATUS
rpccli_echo_TestDoublePointer(struct rpc_pipe_client
*cli
,
42 uint16_t ***data
/* [in] [ref] */);
43 #endif /* __CLI_RPCECHO__ */