summaryrefslogtreecommitdiff
path: root/source3/librpc/gen_ndr/ndr_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/ndr_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/ndr_echo.h')
-rw-r--r--source3/librpc/gen_ndr/ndr_echo.h59
1 files changed, 59 insertions, 0 deletions
diff --git a/source3/librpc/gen_ndr/ndr_echo.h b/source3/librpc/gen_ndr/ndr_echo.h
new file mode 100644
index 0000000000..9c4603bc11
--- /dev/null
+++ b/source3/librpc/gen_ndr/ndr_echo.h
@@ -0,0 +1,59 @@
+/* header auto-generated by pidl */
+
+#include "librpc/gen_ndr/echo.h"
+
+#ifndef _HEADER_NDR_rpcecho
+#define _HEADER_NDR_rpcecho
+
+#include "librpc/ndr/libndr.h"
+#define DCERPC_RPCECHO_UUID "60a15ec5-4de8-11d7-a637-005056a20182"
+#define DCERPC_RPCECHO_VERSION 1.0
+#define DCERPC_RPCECHO_NAME "rpcecho"
+#define DCERPC_RPCECHO_HELPSTRING "Simple echo pipe"
+extern const struct dcerpc_interface_table dcerpc_table_rpcecho;
+NTSTATUS dcerpc_server_rpcecho_init(void);
+#define DCERPC_ECHO_ADDONE (0x00)
+
+#define DCERPC_ECHO_ECHODATA (0x01)
+
+#define DCERPC_ECHO_SINKDATA (0x02)
+
+#define DCERPC_ECHO_SOURCEDATA (0x03)
+
+#define DCERPC_ECHO_TESTCALL (0x04)
+
+#define DCERPC_ECHO_TESTCALL2 (0x05)
+
+#define DCERPC_ECHO_TESTSLEEP (0x06)
+
+#define DCERPC_ECHO_TESTENUM (0x07)
+
+#define DCERPC_ECHO_TESTSURROUNDING (0x08)
+
+#define DCERPC_ECHO_TESTDOUBLEPOINTER (0x09)
+
+#define DCERPC_RPCECHO_CALL_COUNT (10)
+void ndr_print_echo_info1(struct ndr_print *ndr, const char *name, const struct echo_info1 *r);
+void ndr_print_echo_info2(struct ndr_print *ndr, const char *name, const struct echo_info2 *r);
+void ndr_print_echo_info3(struct ndr_print *ndr, const char *name, const struct echo_info3 *r);
+void ndr_print_echo_info4(struct ndr_print *ndr, const char *name, const struct echo_info4 *r);
+void ndr_print_echo_info5(struct ndr_print *ndr, const char *name, const struct echo_info5 *r);
+void ndr_print_echo_info6(struct ndr_print *ndr, const char *name, const struct echo_info6 *r);
+void ndr_print_echo_info7(struct ndr_print *ndr, const char *name, const struct echo_info7 *r);
+void ndr_print_echo_Info(struct ndr_print *ndr, const char *name, const union echo_Info *r);
+void ndr_print_echo_Enum1(struct ndr_print *ndr, const char *name, enum echo_Enum1 r);
+void ndr_print_echo_Enum1_32(struct ndr_print *ndr, const char *name, enum echo_Enum1_32 r);
+void ndr_print_echo_Enum2(struct ndr_print *ndr, const char *name, const struct echo_Enum2 *r);
+void ndr_print_echo_Enum3(struct ndr_print *ndr, const char *name, const union echo_Enum3 *r);
+void ndr_print_echo_Surrounding(struct ndr_print *ndr, const char *name, const struct echo_Surrounding *r);
+void ndr_print_echo_AddOne(struct ndr_print *ndr, const char *name, int flags, const struct echo_AddOne *r);
+void ndr_print_echo_EchoData(struct ndr_print *ndr, const char *name, int flags, const struct echo_EchoData *r);
+void ndr_print_echo_SinkData(struct ndr_print *ndr, const char *name, int flags, const struct echo_SinkData *r);
+void ndr_print_echo_SourceData(struct ndr_print *ndr, const char *name, int flags, const struct echo_SourceData *r);
+void ndr_print_echo_TestCall(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestCall *r);
+void ndr_print_echo_TestCall2(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestCall2 *r);
+void ndr_print_echo_TestSleep(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestSleep *r);
+void ndr_print_echo_TestEnum(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestEnum *r);
+void ndr_print_echo_TestSurrounding(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestSurrounding *r);
+void ndr_print_echo_TestDoublePointer(struct ndr_print *ndr, const char *name, int flags, const struct echo_TestDoublePointer *r);
+#endif /* _HEADER_NDR_rpcecho */