summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_echo.h
blob: 1e33a48516c05b9a8ba411e9765578a512abc13c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
/* header auto-generated by pidl */

#define DCERPC_RPCECHO_UUID "60a15ec5-4de8-11d7-a637-005056a20182"
#define DCERPC_RPCECHO_VERSION 1.0
#define DCERPC_RPCECHO_NAME "rpcecho"

#define DCERPC_ECHO_ADDONE 0
#define DCERPC_ECHO_ECHODATA 1
#define DCERPC_ECHO_SINKDATA 2
#define DCERPC_ECHO_SOURCEDATA 3
#define DCERPC_TESTCALL 4
#define DCERPC_TESTCALL2 5


struct echo_AddOne {
	struct {
		uint32 *v;
	} in;

	struct {
		uint32 *v;
	} out;

};

struct echo_EchoData {
	struct {
		uint32 len;
		uint8 *in_data;
	} in;

	struct {
		uint8 *out_data;
	} out;

};

struct echo_SinkData {
	struct {
		uint32 len;
		uint8 *data;
	} in;

	struct {
	} out;

};

struct echo_SourceData {
	struct {
		uint32 len;
	} in;

	struct {
		uint8 *data;
	} out;

};

struct TestCall {
	struct {
		const char *s1;
	} in;

	struct {
		const char *s2;
	} out;

};

struct echo_info1 {
	uint8 v;
};

struct echo_info2 {
	uint16 v;
};

struct echo_info3 {
	uint32 v;
};

struct echo_info4 {
	HYPER_T v;
};

struct echo_info5 {
	uint8 v1;
	HYPER_T v2;
};

struct echo_info6 {
	uint8 v1;
	struct echo_info1 info1;
};

union echo_XXX {
/* [case(1)] */ struct echo_info1 info1;
};

struct echo_info7 {
	uint8 v1;
	struct echo_info4 info4;
};

union echo_Info {
/* [case(1)] */ struct echo_info1 info1;
/* [case(2)] */ struct echo_info2 info2;
/* [case(3)] */ struct echo_info3 info3;
/* [case(4)] */ struct echo_info4 info4;
/* [case(5)] */ struct echo_info5 info5;
/* [case(6)] */ struct echo_info6 info6;
/* [case(7)] */ struct echo_info7 info7;
};

struct TestCall2 {
	struct {
		uint16 level;
	} in;

	struct {
		union echo_Info *info;
		NTSTATUS result;
	} out;

};