r18572: Use the autogenerated client and server for the echo interface and implement
[Samba.git] / source / librpc / gen_ndr / srv_echo.h
blobaa06afb264f184511f374b43e2fdaaacf6b0f334
1 #include "librpc/gen_ndr/ndr_echo.h"
2 #ifndef __SRV_RPCECHO__
3 #define __SRV_RPCECHO__
4 void _echo_AddOne(pipes_struct *p, uint32_t in_data, uint32_t *out_data);
5 void _echo_EchoData(pipes_struct *p, uint32_t len, uint8_t *in_data, uint8_t *out_data);
6 void _echo_SinkData(pipes_struct *p, uint32_t len, uint8_t *data);
7 void _echo_SourceData(pipes_struct *p, uint32_t len, uint8_t *data);
8 void _echo_TestCall(pipes_struct *p, const char *s1, const char **s2);
9 NTSTATUS _echo_TestCall2(pipes_struct *p, uint16_t level, union echo_Info *info);
10 uint32 _echo_TestSleep(pipes_struct *p, uint32_t seconds);
11 void _echo_TestEnum(pipes_struct *p, enum echo_Enum1 *foo1, struct echo_Enum2 *foo2, union echo_Enum3 *foo3);
12 void _echo_TestSurrounding(pipes_struct *p, struct echo_Surrounding *data);
13 uint16 _echo_TestDoublePointer(pipes_struct *p, uint16_t ***data);
14 void rpcecho_get_pipe_fns(struct api_struct **fns, int *n_fns);
15 NTSTATUS rpc_rpcecho_init(void);
16 #endif /* __SRV_RPCECHO__ */