summaryrefslogtreecommitdiff
path: root/source4/libcli/ndr/ndr_echo.h
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2003-11-03 10:01:20 +0000
committerAndrew Tridgell <tridge@samba.org>2003-11-03 10:01:20 +0000
commit0a427a43c4464c05bdceb662fd6d3895790ea581 (patch)
tree484d6610cbdfbd6aa459e336e1ae7252e833d482 /source4/libcli/ndr/ndr_echo.h
parent399fff106d268a5ea95fd2e60735d92b80bcecb1 (diff)
downloadsamba-0a427a43c4464c05bdceb662fd6d3895790ea581.tar.gz
samba-0a427a43c4464c05bdceb662fd6d3895790ea581.tar.bz2
samba-0a427a43c4464c05bdceb662fd6d3895790ea581.zip
added SinkData and SourceData tests for rpcecho
(This used to be commit 7c356350e6148078725de6b6829eb0855771ae17)
Diffstat (limited to 'source4/libcli/ndr/ndr_echo.h')
-rw-r--r--source4/libcli/ndr/ndr_echo.h19
1 files changed, 19 insertions, 0 deletions
diff --git a/source4/libcli/ndr/ndr_echo.h b/source4/libcli/ndr/ndr_echo.h
index 4a8a4f5ab5..aecf68c4c0 100644
--- a/source4/libcli/ndr/ndr_echo.h
+++ b/source4/libcli/ndr/ndr_echo.h
@@ -47,6 +47,25 @@ struct rpcecho_echodata {
} out;
};
+/* SinkData interface */
+struct rpcecho_sinkdata {
+ struct {
+ int len;
+ char *data;
+ } in;
+};
+
+/* SourceData interface */
+struct rpcecho_sourcedata {
+ struct {
+ int len;
+ } in;
+ struct {
+ int len;
+ char *data;
+ } out;
+};
+
/* define the command codes */
enum {
RPCECHO_CALL_ADDONE=0,