summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/srv_echo.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2006-09-15 22:49:27 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 11:51:51 -0500
commite5db7fee0f5cb3bd7434cdefebabc7a8376aa0d4 (patch)
treedb7c10f2390939cd426d943af4693fd888f41c99 /source3/librpc/gen_ndr/srv_echo.h
parent47debfd03a57815d9c4d67406cfa522ece1a7bc5 (diff)
downloadsamba-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/srv_echo.h')
-rw-r--r--source3/librpc/gen_ndr/srv_echo.h16
1 files changed, 16 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/srv_echo.h b/source3/librpc/gen_ndr/srv_echo.h
new file mode 100644
index 0000000000..aa06afb264
--- /dev/null
+++ b/source3/librpc/gen_ndr/srv_echo.h
@@ -0,0 +1,16 @@
+#include "librpc/gen_ndr/ndr_echo.h"
+#ifndef __SRV_RPCECHO__
+#define __SRV_RPCECHO__
+void _echo_AddOne(pipes_struct *p, uint32_t in_data, uint32_t *out_data);
+void _echo_EchoData(pipes_struct *p, uint32_t len, uint8_t *in_data, uint8_t *out_data);
+void _echo_SinkData(pipes_struct *p, uint32_t len, uint8_t *data);
+void _echo_SourceData(pipes_struct *p, uint32_t len, uint8_t *data);
+void _echo_TestCall(pipes_struct *p, const char *s1, const char **s2);
+NTSTATUS _echo_TestCall2(pipes_struct *p, uint16_t level, union echo_Info *info);
+uint32 _echo_TestSleep(pipes_struct *p, uint32_t seconds);
+void _echo_TestEnum(pipes_struct *p, enum echo_Enum1 *foo1, struct echo_Enum2 *foo2, union echo_Enum3 *foo3);
+void _echo_TestSurrounding(pipes_struct *p, struct echo_Surrounding *data);
+uint16 _echo_TestDoublePointer(pipes_struct *p, uint16_t ***data);
+void rpcecho_get_pipe_fns(struct api_struct **fns, int *n_fns);
+NTSTATUS rpc_rpcecho_init(void);
+#endif /* __SRV_RPCECHO__ */