summaryrefslogtreecommitdiff
path: root/source4/librpc/ndr/ndr_echo.h
blob: 5edc4241a6c48325d72aedcbd660e3bec331cda8 (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
/* header auto-generated by pidl */

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 echo_Enum1 {
	uint32 *count;
};

struct echo_Enum3 {
	uint32 *count;
};

union echo_EnumInfo {
/* [case(1)] */ struct echo_Enum1 enum1;
/* [case(3)] */ struct echo_Enum3 enum3;
};

struct Struct1 {
	uint32 level;
	union echo_EnumInfo e;
};

struct TestCall {
	struct {
	} in;

	struct {
		struct Struct1 *s1;
	} out;

};

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