MOS Source Code
|
#include <pb.h>
Go to the source code of this file.
Classes | |
struct | EmptyMessage |
struct | Limits |
struct | SubMessage |
struct | AllTypes |
Enumerations | |
enum | HugeEnum { HugeEnum_Negative = -2147483647 , HugeEnum_Positive = 2147483647 } |
enum | MyEnum { MyEnum_Zero = 0 , MyEnum_First = 1 , MyEnum_Second = 2 , MyEnum_Truth = 42 } |
Functions | |
typedef | PB_BYTES_ARRAY_T (16) AllTypes_req_bytes_t |
Variables | |
const pb_msgdesc_t | SubMessage_msg |
pb_byte_t | SubMessage_default [] |
const pb_msgdesc_t | EmptyMessage_msg |
pb_byte_t | EmptyMessage_default [] |
const pb_msgdesc_t | Limits_msg |
pb_byte_t | Limits_default [] |
const pb_msgdesc_t | AllTypes_msg |
pb_byte_t | AllTypes_default [] |
#define _HugeEnum_MIN HugeEnum_Negative |
Definition at line 22 of file alltypes_legacy.h.
#define _HugeEnum_MAX HugeEnum_Positive |
Definition at line 23 of file alltypes_legacy.h.
#define _HugeEnum_ARRAYSIZE ((HugeEnum)(HugeEnum_Positive+1)) |
Definition at line 24 of file alltypes_legacy.h.
#define _MyEnum_MIN MyEnum_Zero |
Definition at line 32 of file alltypes_legacy.h.
#define _MyEnum_MAX MyEnum_Truth |
Definition at line 33 of file alltypes_legacy.h.
#define _MyEnum_ARRAYSIZE ((MyEnum)(MyEnum_Truth+1)) |
Definition at line 34 of file alltypes_legacy.h.
#define SubMessage_init_default {"1", 2, false, 3u} |
Definition at line 163 of file alltypes_legacy.h.
#define EmptyMessage_init_default {0} |
Definition at line 164 of file alltypes_legacy.h.
#define Limits_init_default {2147483647, -2147483647, 4294967295u, 0u, 9223372036854775807ll, -9223372036854775807ll, 18446744073709551615ull, 0ull, HugeEnum_Positive, HugeEnum_Negative} |
Definition at line 165 of file alltypes_legacy.h.
#define AllTypes_init_default {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", {0, {0}}, SubMessage_init_default, _MyEnum_MIN, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {"", "", "", "", ""}, 0, {{0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}}, 0, {SubMessage_init_default, SubMessage_init_default, SubMessage_init_default, SubMessage_init_default, SubMessage_init_default}, 0, {_MyEnum_MIN, _MyEnum_MIN, _MyEnum_MIN, _MyEnum_MIN, _MyEnum_MIN}, false, 4041, false, 4042ll, false, 4043u, false, 4044ull, false, 4045, false, 4046, false, false, false, 4048u, false, 4049, false, 4050, false, 4051ull, false, 4052ll, false, 4053, false, "4054", false, {4, {0x34,0x30,0x35,0x35}}, false, SubMessage_init_default, false, MyEnum_Second, 0, NULL} |
Definition at line 166 of file alltypes_legacy.h.
Referenced by check_alltypes().
#define SubMessage_init_zero {"", 0, false, 0} |
Definition at line 167 of file alltypes_legacy.h.
Referenced by main().
#define EmptyMessage_init_zero {0} |
Definition at line 168 of file alltypes_legacy.h.
#define Limits_init_zero {0, 0, 0, 0, 0, 0, 0, 0, _HugeEnum_MIN, _HugeEnum_MIN} |
Definition at line 169 of file alltypes_legacy.h.
#define AllTypes_init_zero {0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, "", {0, {0}}, SubMessage_init_zero, _MyEnum_MIN, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {0, 0, 0, 0, 0}, 0, {"", "", "", "", ""}, 0, {{0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}, {0, {0}}}, 0, {SubMessage_init_zero, SubMessage_init_zero, SubMessage_init_zero, SubMessage_init_zero, SubMessage_init_zero}, 0, {_MyEnum_MIN, _MyEnum_MIN, _MyEnum_MIN, _MyEnum_MIN, _MyEnum_MIN}, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, 0, false, "", false, {0, {0}}, false, SubMessage_init_zero, false, _MyEnum_MIN, 0, NULL} |
Definition at line 170 of file alltypes_legacy.h.
Referenced by check_alltypes(), main(), and main().
#define Limits_int32_min_tag 1 |
Definition at line 173 of file alltypes_legacy.h.
#define Limits_int32_max_tag 2 |
Definition at line 174 of file alltypes_legacy.h.
#define Limits_uint32_min_tag 3 |
Definition at line 175 of file alltypes_legacy.h.
#define Limits_uint32_max_tag 4 |
Definition at line 176 of file alltypes_legacy.h.
#define Limits_int64_min_tag 5 |
Definition at line 177 of file alltypes_legacy.h.
#define Limits_int64_max_tag 6 |
Definition at line 178 of file alltypes_legacy.h.
#define Limits_uint64_min_tag 7 |
Definition at line 179 of file alltypes_legacy.h.
#define Limits_uint64_max_tag 8 |
Definition at line 180 of file alltypes_legacy.h.
#define Limits_enum_min_tag 9 |
Definition at line 181 of file alltypes_legacy.h.
#define Limits_enum_max_tag 10 |
Definition at line 182 of file alltypes_legacy.h.
#define SubMessage_substuff1_tag 1 |
Definition at line 183 of file alltypes_legacy.h.
#define SubMessage_substuff2_tag 2 |
Definition at line 184 of file alltypes_legacy.h.
#define SubMessage_substuff3_tag 3 |
Definition at line 185 of file alltypes_legacy.h.
#define AllTypes_req_int32_tag 1 |
Definition at line 186 of file alltypes_legacy.h.
#define AllTypes_req_int64_tag 2 |
Definition at line 187 of file alltypes_legacy.h.
#define AllTypes_req_uint32_tag 3 |
Definition at line 188 of file alltypes_legacy.h.
#define AllTypes_req_uint64_tag 4 |
Definition at line 189 of file alltypes_legacy.h.
#define AllTypes_req_sint32_tag 5 |
Definition at line 190 of file alltypes_legacy.h.
#define AllTypes_req_sint64_tag 6 |
Definition at line 191 of file alltypes_legacy.h.
#define AllTypes_req_bool_tag 7 |
Definition at line 192 of file alltypes_legacy.h.
#define AllTypes_req_fixed32_tag 8 |
Definition at line 193 of file alltypes_legacy.h.
#define AllTypes_req_sfixed32_tag 9 |
Definition at line 194 of file alltypes_legacy.h.
#define AllTypes_req_float_tag 10 |
Definition at line 195 of file alltypes_legacy.h.
#define AllTypes_req_fixed64_tag 11 |
Definition at line 196 of file alltypes_legacy.h.
#define AllTypes_req_sfixed64_tag 12 |
Definition at line 197 of file alltypes_legacy.h.
#define AllTypes_req_double_tag 13 |
Definition at line 198 of file alltypes_legacy.h.
#define AllTypes_req_string_tag 14 |
Definition at line 199 of file alltypes_legacy.h.
#define AllTypes_req_bytes_tag 15 |
Definition at line 200 of file alltypes_legacy.h.
#define AllTypes_req_submsg_tag 16 |
Definition at line 201 of file alltypes_legacy.h.
#define AllTypes_req_enum_tag 17 |
Definition at line 202 of file alltypes_legacy.h.
#define AllTypes_rep_int32_tag 21 |
Definition at line 203 of file alltypes_legacy.h.
#define AllTypes_rep_int64_tag 22 |
Definition at line 204 of file alltypes_legacy.h.
#define AllTypes_rep_uint32_tag 23 |
Definition at line 205 of file alltypes_legacy.h.
#define AllTypes_rep_uint64_tag 24 |
Definition at line 206 of file alltypes_legacy.h.
#define AllTypes_rep_sint32_tag 25 |
Definition at line 207 of file alltypes_legacy.h.
#define AllTypes_rep_sint64_tag 26 |
Definition at line 208 of file alltypes_legacy.h.
#define AllTypes_rep_bool_tag 27 |
Definition at line 209 of file alltypes_legacy.h.
#define AllTypes_rep_fixed32_tag 28 |
Definition at line 210 of file alltypes_legacy.h.
#define AllTypes_rep_sfixed32_tag 29 |
Definition at line 211 of file alltypes_legacy.h.
#define AllTypes_rep_float_tag 30 |
Definition at line 212 of file alltypes_legacy.h.
#define AllTypes_rep_fixed64_tag 31 |
Definition at line 213 of file alltypes_legacy.h.
#define AllTypes_rep_sfixed64_tag 32 |
Definition at line 214 of file alltypes_legacy.h.
#define AllTypes_rep_double_tag 33 |
Definition at line 215 of file alltypes_legacy.h.
#define AllTypes_rep_string_tag 34 |
Definition at line 216 of file alltypes_legacy.h.
#define AllTypes_rep_bytes_tag 35 |
Definition at line 217 of file alltypes_legacy.h.
#define AllTypes_rep_submsg_tag 36 |
Definition at line 218 of file alltypes_legacy.h.
#define AllTypes_rep_enum_tag 37 |
Definition at line 219 of file alltypes_legacy.h.
#define AllTypes_opt_int32_tag 41 |
Definition at line 220 of file alltypes_legacy.h.
#define AllTypes_opt_int64_tag 42 |
Definition at line 221 of file alltypes_legacy.h.
#define AllTypes_opt_uint32_tag 43 |
Definition at line 222 of file alltypes_legacy.h.
#define AllTypes_opt_uint64_tag 44 |
Definition at line 223 of file alltypes_legacy.h.
#define AllTypes_opt_sint32_tag 45 |
Definition at line 224 of file alltypes_legacy.h.
#define AllTypes_opt_sint64_tag 46 |
Definition at line 225 of file alltypes_legacy.h.
#define AllTypes_opt_bool_tag 47 |
Definition at line 226 of file alltypes_legacy.h.
#define AllTypes_opt_fixed32_tag 48 |
Definition at line 227 of file alltypes_legacy.h.
#define AllTypes_opt_sfixed32_tag 49 |
Definition at line 228 of file alltypes_legacy.h.
#define AllTypes_opt_float_tag 50 |
Definition at line 229 of file alltypes_legacy.h.
#define AllTypes_opt_fixed64_tag 51 |
Definition at line 230 of file alltypes_legacy.h.
#define AllTypes_opt_sfixed64_tag 52 |
Definition at line 231 of file alltypes_legacy.h.
#define AllTypes_opt_double_tag 53 |
Definition at line 232 of file alltypes_legacy.h.
#define AllTypes_opt_string_tag 54 |
Definition at line 233 of file alltypes_legacy.h.
#define AllTypes_opt_bytes_tag 55 |
Definition at line 234 of file alltypes_legacy.h.
#define AllTypes_opt_submsg_tag 56 |
Definition at line 235 of file alltypes_legacy.h.
#define AllTypes_opt_enum_tag 57 |
Definition at line 236 of file alltypes_legacy.h.
#define AllTypes_end_tag 99 |
Definition at line 237 of file alltypes_legacy.h.
#define SubMessage_FIELDLIST | ( | X, | |
a ) |
Definition at line 240 of file alltypes_legacy.h.
#define SubMessage_CALLBACK NULL |
Definition at line 244 of file alltypes_legacy.h.
#define EmptyMessage_FIELDLIST | ( | X, | |
a ) |
Definition at line 246 of file alltypes_legacy.h.
#define EmptyMessage_CALLBACK NULL |
Definition at line 248 of file alltypes_legacy.h.
#define Limits_FIELDLIST | ( | X, | |
a ) |
Definition at line 250 of file alltypes_legacy.h.
#define Limits_CALLBACK NULL |
Definition at line 261 of file alltypes_legacy.h.
#define AllTypes_FIELDLIST | ( | X, | |
a ) |
Definition at line 263 of file alltypes_legacy.h.
#define AllTypes_CALLBACK pb_default_field_callback |
Definition at line 317 of file alltypes_legacy.h.
#define AllTypes_req_submsg_MSGTYPE SubMessage |
Definition at line 318 of file alltypes_legacy.h.
#define AllTypes_rep_submsg_MSGTYPE SubMessage |
Definition at line 319 of file alltypes_legacy.h.
#define AllTypes_opt_submsg_MSGTYPE SubMessage |
Definition at line 320 of file alltypes_legacy.h.
#define SubMessage_fields &SubMessage_msg |
Definition at line 332 of file alltypes_legacy.h.
Referenced by main(), msg_callback(), read_repeated_submsg(), read_submsg(), TestMessage_values_callback(), write_repeated_submsg(), and write_submsg().
#define EmptyMessage_fields &EmptyMessage_msg |
Definition at line 333 of file alltypes_legacy.h.
Referenced by read_emptymsg(), write_emptymsg(), and write_repeated_emptymsg().
#define Limits_fields &Limits_msg |
Definition at line 334 of file alltypes_legacy.h.
Referenced by read_limits(), and write_limits().
#define AllTypes_fields &AllTypes_msg |
Definition at line 335 of file alltypes_legacy.h.
Referenced by check_alltypes(), main(), and main().
#define SubMessage_size 33 |
Definition at line 338 of file alltypes_legacy.h.
#define EmptyMessage_size 0 |
Definition at line 339 of file alltypes_legacy.h.
#define Limits_size 100 |
Definition at line 340 of file alltypes_legacy.h.
#define AllTypes_size 1320 |
Definition at line 341 of file alltypes_legacy.h.
Referenced by main().
enum HugeEnum |
Enumerator | |
---|---|
HugeEnum_Negative | |
HugeEnum_Positive |
Definition at line 18 of file alltypes_legacy.h.
enum MyEnum |
Enumerator | |
---|---|
MyEnum_Zero | |
MyEnum_First | |
MyEnum_Second | |
MyEnum_Truth |
Definition at line 26 of file alltypes_legacy.h.
typedef PB_BYTES_ARRAY_T | ( | 16 | ) |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |
|
extern |