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
, TALLOC_CTX
*mem_ctx
, uint32_t in_data
, uint32_t *out_data
);
5 NTSTATUS
rpccli_echo_EchoData(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, uint32_t len
, uint8_t *in_data
, uint8_t *out_data
);
6 NTSTATUS
rpccli_echo_SinkData(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, uint32_t len
, uint8_t *data
);
7 NTSTATUS
rpccli_echo_SourceData(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, uint32_t len
, uint8_t *data
);
8 NTSTATUS
rpccli_echo_TestCall(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, const char *s1
, const char **s2
);
9 NTSTATUS
rpccli_echo_TestCall2(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, uint16_t level
, union echo_Info
*info
);
10 NTSTATUS
rpccli_echo_TestSleep(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, uint32_t seconds
);
11 NTSTATUS
rpccli_echo_TestEnum(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, enum echo_Enum1
*foo1
, struct echo_Enum2
*foo2
, union echo_Enum3
*foo3
);
12 NTSTATUS
rpccli_echo_TestSurrounding(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, struct echo_Surrounding
*data
);
13 NTSTATUS
rpccli_echo_TestDoublePointer(struct rpc_pipe_client
*cli
, TALLOC_CTX
*mem_ctx
, uint16_t ***data
);
14 #endif /* __CLI_RPCECHO__ */