s3: re-run make samba3-idl.
[samba.git] / librpc / gen_ndr / cli_echo.h
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,
5                             TALLOC_CTX *mem_ctx,
6                             uint32_t in_data /* [in]  */,
7                             uint32_t *out_data /* [out] [ref] */);
8 NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli,
9                               TALLOC_CTX *mem_ctx,
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,
14                               TALLOC_CTX *mem_ctx,
15                               uint32_t len /* [in]  */,
16                               uint8_t *data /* [in] [size_is(len)] */);
17 NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli,
18                                 TALLOC_CTX *mem_ctx,
19                                 uint32_t len /* [in]  */,
20                                 uint8_t *data /* [out] [size_is(len)] */);
21 NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli,
22                               TALLOC_CTX *mem_ctx,
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,
26                                TALLOC_CTX *mem_ctx,
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,
30                                TALLOC_CTX *mem_ctx,
31                                uint32_t seconds /* [in]  */);
32 NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli,
33                               TALLOC_CTX *mem_ctx,
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,
38                                      TALLOC_CTX *mem_ctx,
39                                      struct echo_Surrounding *data /* [in,out] [ref] */);
40 NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli,
41                                        TALLOC_CTX *mem_ctx,
42                                        uint16_t ***data /* [in] [ref] */);
43 #endif /* __CLI_RPCECHO__ */