2008-12-16 18:32:18 +03:00
# include "../librpc/gen_ndr/ndr_echo.h"
2006-09-16 02:49:27 +04:00
# ifndef __CLI_RPCECHO__
# define __CLI_RPCECHO__
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_AddOne ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint32_t in_data /* [in] */ ,
uint32_t * out_data /* [out] [ref] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_EchoData ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint32_t len /* [in] */ ,
uint8_t * in_data /* [in] [size_is(len)] */ ,
uint8_t * out_data /* [out] [size_is(len)] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_SinkData ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint32_t len /* [in] */ ,
uint8_t * data /* [in] [size_is(len)] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_SourceData ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint32_t len /* [in] */ ,
uint8_t * data /* [out] [size_is(len)] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_TestCall ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
const char * s1 /* [in] [ref,charset(UTF16)] */ ,
const char * * s2 /* [out] [ref,charset(UTF16)] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_TestCall2 ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint16_t level /* [in] */ ,
union echo_Info * info /* [out] [ref,switch_is(level)] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_TestSleep ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint32_t seconds /* [in] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_TestEnum ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
enum echo_Enum1 * foo1 /* [in,out] [ref] */ ,
struct echo_Enum2 * foo2 /* [in,out] [ref] */ ,
union echo_Enum3 * foo3 /* [in,out] [ref,switch_is(*foo1)] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_TestSurrounding ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
struct echo_Surrounding * data /* [in,out] [ref] */ ) ;
2008-01-09 13:59:11 +03:00
NTSTATUS rpccli_echo_TestDoublePointer ( struct rpc_pipe_client * cli ,
TALLOC_CTX * mem_ctx ,
2008-03-25 19:52:33 +03:00
uint16_t * * * data /* [in] [ref] */ ) ;
2006-09-16 02:49:27 +04:00
# endif /* __CLI_RPCECHO__ */