OLD | NEW |
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 // No include guard, may be included multiple times. | 5 // No include guard, may be included multiple times. |
6 | 6 |
7 // NULL out all the macros that need NULLing, so that multiple includes of | 7 // NULL out all the macros that need NULLing, so that multiple includes of |
8 // the XXXX_messages_internal.h files will not generate noise. | 8 // the XXXX_messages_internal.h files will not generate noise. |
9 #undef IPC_STRUCT_BEGIN | 9 #undef IPC_STRUCT_BEGIN |
10 #undef IPC_STRUCT_MEMBER | 10 #undef IPC_STRUCT_MEMBER |
11 #undef IPC_STRUCT_END | 11 #undef IPC_STRUCT_END |
12 #undef IPC_STRUCT_TRAITS_BEGIN | 12 #undef IPC_STRUCT_TRAITS_BEGIN |
13 #undef IPC_STRUCT_TRAITS_MEMBER | 13 #undef IPC_STRUCT_TRAITS_MEMBER |
14 #undef IPC_STRUCT_TRAITS_PARENT | 14 #undef IPC_STRUCT_TRAITS_PARENT |
15 #undef IPC_STRUCT_TRAITS_END | 15 #undef IPC_STRUCT_TRAITS_END |
16 #undef IPC_ENUM_TRAITS | 16 #undef IPC_ENUM_TRAITS |
17 #undef IPC_MESSAGE_CONTROL0 | 17 #undef IPC_MESSAGE_DECL |
18 #undef IPC_MESSAGE_CONTROL1 | |
19 #undef IPC_MESSAGE_CONTROL2 | |
20 #undef IPC_MESSAGE_CONTROL3 | |
21 #undef IPC_MESSAGE_CONTROL4 | |
22 #undef IPC_MESSAGE_CONTROL5 | |
23 #undef IPC_MESSAGE_ROUTED0 | |
24 #undef IPC_MESSAGE_ROUTED1 | |
25 #undef IPC_MESSAGE_ROUTED2 | |
26 #undef IPC_MESSAGE_ROUTED3 | |
27 #undef IPC_MESSAGE_ROUTED4 | |
28 #undef IPC_MESSAGE_ROUTED5 | |
29 #undef IPC_SYNC_MESSAGE_CONTROL0_0 | |
30 #undef IPC_SYNC_MESSAGE_CONTROL0_1 | |
31 #undef IPC_SYNC_MESSAGE_CONTROL0_2 | |
32 #undef IPC_SYNC_MESSAGE_CONTROL0_3 | |
33 #undef IPC_SYNC_MESSAGE_CONTROL0_4 | |
34 #undef IPC_SYNC_MESSAGE_CONTROL1_0 | |
35 #undef IPC_SYNC_MESSAGE_CONTROL1_1 | |
36 #undef IPC_SYNC_MESSAGE_CONTROL1_2 | |
37 #undef IPC_SYNC_MESSAGE_CONTROL1_3 | |
38 #undef IPC_SYNC_MESSAGE_CONTROL1_4 | |
39 #undef IPC_SYNC_MESSAGE_CONTROL2_0 | |
40 #undef IPC_SYNC_MESSAGE_CONTROL2_1 | |
41 #undef IPC_SYNC_MESSAGE_CONTROL2_2 | |
42 #undef IPC_SYNC_MESSAGE_CONTROL2_3 | |
43 #undef IPC_SYNC_MESSAGE_CONTROL2_4 | |
44 #undef IPC_SYNC_MESSAGE_CONTROL3_0 | |
45 #undef IPC_SYNC_MESSAGE_CONTROL3_1 | |
46 #undef IPC_SYNC_MESSAGE_CONTROL3_2 | |
47 #undef IPC_SYNC_MESSAGE_CONTROL3_3 | |
48 #undef IPC_SYNC_MESSAGE_CONTROL3_4 | |
49 #undef IPC_SYNC_MESSAGE_CONTROL4_0 | |
50 #undef IPC_SYNC_MESSAGE_CONTROL4_1 | |
51 #undef IPC_SYNC_MESSAGE_CONTROL4_2 | |
52 #undef IPC_SYNC_MESSAGE_CONTROL4_3 | |
53 #undef IPC_SYNC_MESSAGE_CONTROL4_4 | |
54 #undef IPC_SYNC_MESSAGE_CONTROL5_0 | |
55 #undef IPC_SYNC_MESSAGE_CONTROL5_1 | |
56 #undef IPC_SYNC_MESSAGE_CONTROL5_2 | |
57 #undef IPC_SYNC_MESSAGE_CONTROL5_3 | |
58 #undef IPC_SYNC_MESSAGE_CONTROL5_4 | |
59 #undef IPC_SYNC_MESSAGE_ROUTED0_0 | |
60 #undef IPC_SYNC_MESSAGE_ROUTED0_1 | |
61 #undef IPC_SYNC_MESSAGE_ROUTED0_2 | |
62 #undef IPC_SYNC_MESSAGE_ROUTED0_3 | |
63 #undef IPC_SYNC_MESSAGE_ROUTED0_4 | |
64 #undef IPC_SYNC_MESSAGE_ROUTED1_0 | |
65 #undef IPC_SYNC_MESSAGE_ROUTED1_1 | |
66 #undef IPC_SYNC_MESSAGE_ROUTED1_2 | |
67 #undef IPC_SYNC_MESSAGE_ROUTED1_3 | |
68 #undef IPC_SYNC_MESSAGE_ROUTED1_4 | |
69 #undef IPC_SYNC_MESSAGE_ROUTED2_0 | |
70 #undef IPC_SYNC_MESSAGE_ROUTED2_1 | |
71 #undef IPC_SYNC_MESSAGE_ROUTED2_2 | |
72 #undef IPC_SYNC_MESSAGE_ROUTED2_3 | |
73 #undef IPC_SYNC_MESSAGE_ROUTED2_4 | |
74 #undef IPC_SYNC_MESSAGE_ROUTED3_0 | |
75 #undef IPC_SYNC_MESSAGE_ROUTED3_1 | |
76 #undef IPC_SYNC_MESSAGE_ROUTED3_2 | |
77 #undef IPC_SYNC_MESSAGE_ROUTED3_3 | |
78 #undef IPC_SYNC_MESSAGE_ROUTED3_4 | |
79 #undef IPC_SYNC_MESSAGE_ROUTED4_0 | |
80 #undef IPC_SYNC_MESSAGE_ROUTED4_1 | |
81 #undef IPC_SYNC_MESSAGE_ROUTED4_2 | |
82 #undef IPC_SYNC_MESSAGE_ROUTED4_3 | |
83 #undef IPC_SYNC_MESSAGE_ROUTED4_4 | |
84 #undef IPC_SYNC_MESSAGE_ROUTED5_0 | |
85 #undef IPC_SYNC_MESSAGE_ROUTED5_1 | |
86 #undef IPC_SYNC_MESSAGE_ROUTED5_2 | |
87 #undef IPC_SYNC_MESSAGE_ROUTED5_3 | |
88 #undef IPC_SYNC_MESSAGE_ROUTED5_4 | |
89 | 18 |
90 #define IPC_STRUCT_BEGIN(struct_name) | 19 #define IPC_STRUCT_BEGIN(struct_name) |
91 #define IPC_STRUCT_MEMBER(type, name) | 20 #define IPC_STRUCT_MEMBER(type, name) |
92 #define IPC_STRUCT_END() | 21 #define IPC_STRUCT_END() |
93 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) | 22 #define IPC_STRUCT_TRAITS_BEGIN(struct_name) |
94 #define IPC_STRUCT_TRAITS_MEMBER(name) | 23 #define IPC_STRUCT_TRAITS_MEMBER(name) |
95 #define IPC_STRUCT_TRAITS_PARENT(type) | 24 #define IPC_STRUCT_TRAITS_PARENT(type) |
96 #define IPC_STRUCT_TRAITS_END() | 25 #define IPC_STRUCT_TRAITS_END() |
97 #define IPC_ENUM_TRAITS(enum_name) | 26 #define IPC_ENUM_TRAITS(enum_name) |
98 #define IPC_MESSAGE_CONTROL0(msg_class) | 27 #define IPC_MESSAGE_DECL(sync, kind, msg_class, \ |
99 #define IPC_MESSAGE_CONTROL1(msg_class, type1) | 28 in_cnt, out_cnt, in_list, out_list) |
100 #define IPC_MESSAGE_CONTROL2(msg_class, type1, type2) | 29 |
101 #define IPC_MESSAGE_CONTROL3(msg_class, type1, type2, type3) | |
102 #define IPC_MESSAGE_CONTROL4(msg_class, type1, type2, type3, type4) | |
103 #define IPC_MESSAGE_CONTROL5(msg_class, type1, type2, type3, type4, type5) | |
104 #define IPC_MESSAGE_ROUTED0(msg_class) | |
105 #define IPC_MESSAGE_ROUTED1(msg_class, type1) | |
106 #define IPC_MESSAGE_ROUTED2(msg_class, type1, type2) | |
107 #define IPC_MESSAGE_ROUTED3(msg_class, type1, type2, type3) | |
108 #define IPC_MESSAGE_ROUTED4(msg_class, type1, type2, type3, type4) | |
109 #define IPC_MESSAGE_ROUTED5(msg_class, type1, type2, type3, type4, type5) | |
110 #define IPC_SYNC_MESSAGE_CONTROL0_0(msg_class) | |
111 #define IPC_SYNC_MESSAGE_CONTROL0_1(msg_class, type1_out) | |
112 #define IPC_SYNC_MESSAGE_CONTROL0_2(msg_class, type1_out, type2_out) | |
113 #define IPC_SYNC_MESSAGE_CONTROL0_3(msg_class, type1_out, type2_out, type3_out) | |
114 #define IPC_SYNC_MESSAGE_CONTROL0_4(msg_class, type1_out, type2_out, type3_out,
type4_out) | |
115 #define IPC_SYNC_MESSAGE_CONTROL1_0(msg_class, type1_in) | |
116 #define IPC_SYNC_MESSAGE_CONTROL1_1(msg_class, type1_in, type1_out) | |
117 #define IPC_SYNC_MESSAGE_CONTROL1_2(msg_class, type1_in, type1_out, type2_out) | |
118 #define IPC_SYNC_MESSAGE_CONTROL1_3(msg_class, type1_in, type1_out, type2_out, t
ype3_out) | |
119 #define IPC_SYNC_MESSAGE_CONTROL1_4(msg_class, type1_in, type1_out, type2_out, t
ype3_out, type4_out) | |
120 #define IPC_SYNC_MESSAGE_CONTROL2_0(msg_class, type1_in, type2_in) | |
121 #define IPC_SYNC_MESSAGE_CONTROL2_1(msg_class, type1_in, type2_in, type1_out) | |
122 #define IPC_SYNC_MESSAGE_CONTROL2_2(msg_class, type1_in, type2_in, type1_out, ty
pe2_out) | |
123 #define IPC_SYNC_MESSAGE_CONTROL2_3(msg_class, type1_in, type2_in, type1_out, ty
pe2_out, type3_out) | |
124 #define IPC_SYNC_MESSAGE_CONTROL2_4(msg_class, type1_in, type2_in, type1_out, ty
pe2_out, type3_out, type4_out) | |
125 #define IPC_SYNC_MESSAGE_CONTROL3_0(msg_class, type1_in, type2_in, type3_in) | |
126 #define IPC_SYNC_MESSAGE_CONTROL3_1(msg_class, type1_in, type2_in, type3_in, typ
e1_out) | |
127 #define IPC_SYNC_MESSAGE_CONTROL3_2(msg_class, type1_in, type2_in, type3_in, typ
e1_out, type2_out) | |
128 #define IPC_SYNC_MESSAGE_CONTROL3_3(msg_class, type1_in, type2_in, type3_in, typ
e1_out, type2_out, type3_out) | |
129 #define IPC_SYNC_MESSAGE_CONTROL3_4(msg_class, type1_in, type2_in, type3_in, typ
e1_out, type2_out, type3_out, type4_out) | |
130 #define IPC_SYNC_MESSAGE_CONTROL4_0(msg_class, type1_in, type2_in, type3_in, typ
e4_in) | |
131 #define IPC_SYNC_MESSAGE_CONTROL4_1(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type1_out) | |
132 #define IPC_SYNC_MESSAGE_CONTROL4_2(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type1_out, type2_out) | |
133 #define IPC_SYNC_MESSAGE_CONTROL4_3(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type1_out, type2_out, type3_out) | |
134 #define IPC_SYNC_MESSAGE_CONTROL4_4(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type1_out, type2_out, type3_out, type4_out) | |
135 #define IPC_SYNC_MESSAGE_CONTROL5_0(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type5_in) | |
136 #define IPC_SYNC_MESSAGE_CONTROL5_1(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type5_in, type1_out) | |
137 #define IPC_SYNC_MESSAGE_CONTROL5_2(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type5_in, type1_out, type2_out) | |
138 #define IPC_SYNC_MESSAGE_CONTROL5_3(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type5_in, type1_out, type2_out, type3_out) | |
139 #define IPC_SYNC_MESSAGE_CONTROL5_4(msg_class, type1_in, type2_in, type3_in, typ
e4_in, type5_in, type1_out, type2_out, type3_out, type4_out) | |
140 #define IPC_SYNC_MESSAGE_ROUTED0_0(msg_class) | |
141 #define IPC_SYNC_MESSAGE_ROUTED0_1(msg_class, type1_out) | |
142 #define IPC_SYNC_MESSAGE_ROUTED0_2(msg_class, type1_out, type2_out) | |
143 #define IPC_SYNC_MESSAGE_ROUTED0_3(msg_class, type1_out, type2_out, type3_out) | |
144 #define IPC_SYNC_MESSAGE_ROUTED0_4(msg_class, type1_out, type2_out, type3_out, t
ype4_out) | |
145 #define IPC_SYNC_MESSAGE_ROUTED1_0(msg_class, type1_in) | |
146 #define IPC_SYNC_MESSAGE_ROUTED1_1(msg_class, type1_in, type1_out) | |
147 #define IPC_SYNC_MESSAGE_ROUTED1_2(msg_class, type1_in, type1_out, type2_out) | |
148 #define IPC_SYNC_MESSAGE_ROUTED1_3(msg_class, type1_in, type1_out, type2_out, ty
pe3_out) | |
149 #define IPC_SYNC_MESSAGE_ROUTED1_4(msg_class, type1_in, type1_out, type2_out, ty
pe3_out, type4_out) | |
150 #define IPC_SYNC_MESSAGE_ROUTED2_0(msg_class, type1_in, type2_in) | |
151 #define IPC_SYNC_MESSAGE_ROUTED2_1(msg_class, type1_in, type2_in, type1_out) | |
152 #define IPC_SYNC_MESSAGE_ROUTED2_2(msg_class, type1_in, type2_in, type1_out, typ
e2_out) | |
153 #define IPC_SYNC_MESSAGE_ROUTED2_3(msg_class, type1_in, type2_in, type1_out, typ
e2_out, type3_out) | |
154 #define IPC_SYNC_MESSAGE_ROUTED2_4(msg_class, type1_in, type2_in, type1_out, typ
e2_out, type3_out, type4_out) | |
155 #define IPC_SYNC_MESSAGE_ROUTED3_0(msg_class, type1_in, type2_in, type3_in) | |
156 #define IPC_SYNC_MESSAGE_ROUTED3_1(msg_class, type1_in, type2_in, type3_in, type
1_out) | |
157 #define IPC_SYNC_MESSAGE_ROUTED3_2(msg_class, type1_in, type2_in, type3_in, type
1_out, type2_out) | |
158 #define IPC_SYNC_MESSAGE_ROUTED3_3(msg_class, type1_in, type2_in, type3_in, type
1_out, type2_out, type3_out) | |
159 #define IPC_SYNC_MESSAGE_ROUTED3_4(msg_class, type1_in, type2_in, type3_in, type
1_out, type2_out, type3_out, type4_out) | |
160 #define IPC_SYNC_MESSAGE_ROUTED4_0(msg_class, type1_in, type2_in, type3_in, type
4_in) | |
161 #define IPC_SYNC_MESSAGE_ROUTED4_1(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out) | |
162 #define IPC_SYNC_MESSAGE_ROUTED4_2(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out) | |
163 #define IPC_SYNC_MESSAGE_ROUTED4_3(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out, type3_out) | |
164 #define IPC_SYNC_MESSAGE_ROUTED4_4(msg_class, type1_in, type2_in, type3_in, type
4_in, type1_out, type2_out, type3_out, type4_out) | |
165 #define IPC_SYNC_MESSAGE_ROUTED5_0(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in) | |
166 #define IPC_SYNC_MESSAGE_ROUTED5_1(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out) | |
167 #define IPC_SYNC_MESSAGE_ROUTED5_2(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out) | |
168 #define IPC_SYNC_MESSAGE_ROUTED5_3(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out, type3_out) | |
169 #define IPC_SYNC_MESSAGE_ROUTED5_4(msg_class, type1_in, type2_in, type3_in, type
4_in, type5_in, type1_out, type2_out, type3_out, type4_out) | |
OLD | NEW |