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