diff options
author | Jelmer Vernooij <jelmer@samba.org> | 2006-09-15 22:49:27 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 11:51:51 -0500 |
commit | e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4 (patch) | |
tree | db7c10f2390939cd426d943af4693fd888f41c99 /source3/librpc/gen_ndr/cli_echo.h | |
parent | 47debfd03a57815d9c4d67406cfa522ece1a7bc5 (diff) | |
download | samba-e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4.tar.gz samba-e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4.tar.bz2 samba-e5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4.zip |
r18572: Use the autogenerated client and server for the echo interface and implement
some of the missing functions. RPC-ECHO now passes against Samba3.
(This used to be commit 9e9a05366176454cc1779acc6c2b6070743f5939)
Diffstat (limited to 'source3/librpc/gen_ndr/cli_echo.h')
-rw-r--r-- | source3/librpc/gen_ndr/cli_echo.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/cli_echo.h b/source3/librpc/gen_ndr/cli_echo.h new file mode 100644 index 0000000000..d7e7f31704 --- /dev/null +++ b/source3/librpc/gen_ndr/cli_echo.h @@ -0,0 +1,14 @@ +#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, uint32_t *out_data); +NTSTATUS rpccli_echo_EchoData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t len, uint8_t *in_data, uint8_t *out_data); +NTSTATUS rpccli_echo_SinkData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t len, uint8_t *data); +NTSTATUS rpccli_echo_SourceData(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t len, uint8_t *data); +NTSTATUS rpccli_echo_TestCall(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, const char *s1, const char **s2); +NTSTATUS rpccli_echo_TestCall2(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint16_t level, union echo_Info *info); +NTSTATUS rpccli_echo_TestSleep(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint32_t seconds); +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); +NTSTATUS rpccli_echo_TestSurrounding(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, struct echo_Surrounding *data); +NTSTATUS rpccli_echo_TestDoublePointer(struct rpc_pipe_client *cli, TALLOC_CTX *mem_ctx, uint16_t ***data); +#endif /* __CLI_RPCECHO__ */ |