diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2008-12-16 15:59:06 +0100 |
---|---|---|
committer | Jelmer Vernooij <jelmer@samba.org> | 2008-12-16 15:59:06 +0100 |
commit | ca7e4ce97a39f1536047478388302c708d34d372 (patch) | |
tree | ce1b9b68ce74394e4ead049f34caea86f2651433 /librpc/gen_ndr/cli_echo.h | |
parent | b2a01ef5dd66618a130e2a1d4cc1d755ba3624a8 (diff) | |
download | samba-ca7e4ce97a39f1536047478388302c708d34d372.tar.gz samba-ca7e4ce97a39f1536047478388302c708d34d372.tar.bz2 samba-ca7e4ce97a39f1536047478388302c708d34d372.zip |
Move shared gen_ndr files to librpc/gen_ndr in the root.
At the moment these files are used just by Samba 3, but the next step
will be using them from Samba 4 as well.
Diffstat (limited to 'librpc/gen_ndr/cli_echo.h')
-rw-r--r-- | librpc/gen_ndr/cli_echo.h | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/librpc/gen_ndr/cli_echo.h b/librpc/gen_ndr/cli_echo.h new file mode 100644 index 0000000000..9da13e97f6 --- /dev/null +++ b/librpc/gen_ndr/cli_echo.h @@ -0,0 +1,43 @@ +#include "librpc/gen_ndr/ndr_echo.h" +#ifndef __CLI_RPCECHO__ +#define __CLI_RPCECHO__ +NTSTATUS rpccli_echo_AddOne(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t in_data /* [in] */, + uint32_t *out_data /* [out] [ref] */); +NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t len /* [in] */, + uint8_t *in_data /* [in] [size_is(len)] */, + uint8_t *out_data /* [out] [size_is(len)] */); +NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t len /* [in] */, + uint8_t *data /* [in] [size_is(len)] */); +NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t len /* [in] */, + uint8_t *data /* [out] [size_is(len)] */); +NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + const char *s1 /* [in] [ref,charset(UTF16)] */, + const char **s2 /* [out] [ref,charset(UTF16)] */); +NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint16_t level /* [in] */, + union echo_Info *info /* [out] [ref,switch_is(level)] */); +NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint32_t seconds /* [in] */); +NTSTATUS rpccli_echo_TestEnum(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + enum echo_Enum1 *foo1 /* [in,out] [ref] */, + struct echo_Enum2 *foo2 /* [in,out] [ref] */, + union echo_Enum3 *foo3 /* [in,out] [ref,switch_is(*foo1)] */); +NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + struct echo_Surrounding *data /* [in,out] [ref] */); +NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, + TALLOC_CTX *mem_ctx, + uint16_t ***data /* [in] [ref] */); +#endif /* __CLI_RPCECHO__ */ |