MOS Source Code
Loading...
Searching...
No Matches
alltypes_legacy.h File Reference
#include <pb.h>
+ Include dependency graph for alltypes_legacy.h:
+ This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  EmptyMessage
 
struct  Limits
 
struct  SubMessage
 
struct  AllTypes
 

Macros

#define _HugeEnum_MIN   HugeEnum_Negative
 
#define _HugeEnum_MAX   HugeEnum_Positive
 
#define _HugeEnum_ARRAYSIZE   ((HugeEnum)(HugeEnum_Positive+1))
 
#define _MyEnum_MIN   MyEnum_Zero
 
#define _MyEnum_MAX   MyEnum_Truth
 
#define _MyEnum_ARRAYSIZE   ((MyEnum)(MyEnum_Truth+1))
 
#define SubMessage_init_default   {"1", 2, false, 3u}
 
#define EmptyMessage_init_default   {0}
 
#define Limits_init_default   {2147483647, -2147483647, 4294967295u, 0u, 9223372036854775807ll, -9223372036854775807ll, 18446744073709551615ull, 0ull, HugeEnum_Positive, HugeEnum_Negative}
 
#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}
 
#define SubMessage_init_zero   {"", 0, false, 0}
 
#define EmptyMessage_init_zero   {0}
 
#define Limits_init_zero   {0, 0, 0, 0, 0, 0, 0, 0, _HugeEnum_MIN, _HugeEnum_MIN}
 
#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}
 
#define Limits_int32_min_tag   1
 
#define Limits_int32_max_tag   2
 
#define Limits_uint32_min_tag   3
 
#define Limits_uint32_max_tag   4
 
#define Limits_int64_min_tag   5
 
#define Limits_int64_max_tag   6
 
#define Limits_uint64_min_tag   7
 
#define Limits_uint64_max_tag   8
 
#define Limits_enum_min_tag   9
 
#define Limits_enum_max_tag   10
 
#define SubMessage_substuff1_tag   1
 
#define SubMessage_substuff2_tag   2
 
#define SubMessage_substuff3_tag   3
 
#define AllTypes_req_int32_tag   1
 
#define AllTypes_req_int64_tag   2
 
#define AllTypes_req_uint32_tag   3
 
#define AllTypes_req_uint64_tag   4
 
#define AllTypes_req_sint32_tag   5
 
#define AllTypes_req_sint64_tag   6
 
#define AllTypes_req_bool_tag   7
 
#define AllTypes_req_fixed32_tag   8
 
#define AllTypes_req_sfixed32_tag   9
 
#define AllTypes_req_float_tag   10
 
#define AllTypes_req_fixed64_tag   11
 
#define AllTypes_req_sfixed64_tag   12
 
#define AllTypes_req_double_tag   13
 
#define AllTypes_req_string_tag   14
 
#define AllTypes_req_bytes_tag   15
 
#define AllTypes_req_submsg_tag   16
 
#define AllTypes_req_enum_tag   17
 
#define AllTypes_rep_int32_tag   21
 
#define AllTypes_rep_int64_tag   22
 
#define AllTypes_rep_uint32_tag   23
 
#define AllTypes_rep_uint64_tag   24
 
#define AllTypes_rep_sint32_tag   25
 
#define AllTypes_rep_sint64_tag   26
 
#define AllTypes_rep_bool_tag   27
 
#define AllTypes_rep_fixed32_tag   28
 
#define AllTypes_rep_sfixed32_tag   29
 
#define AllTypes_rep_float_tag   30
 
#define AllTypes_rep_fixed64_tag   31
 
#define AllTypes_rep_sfixed64_tag   32
 
#define AllTypes_rep_double_tag   33
 
#define AllTypes_rep_string_tag   34
 
#define AllTypes_rep_bytes_tag   35
 
#define AllTypes_rep_submsg_tag   36
 
#define AllTypes_rep_enum_tag   37
 
#define AllTypes_opt_int32_tag   41
 
#define AllTypes_opt_int64_tag   42
 
#define AllTypes_opt_uint32_tag   43
 
#define AllTypes_opt_uint64_tag   44
 
#define AllTypes_opt_sint32_tag   45
 
#define AllTypes_opt_sint64_tag   46
 
#define AllTypes_opt_bool_tag   47
 
#define AllTypes_opt_fixed32_tag   48
 
#define AllTypes_opt_sfixed32_tag   49
 
#define AllTypes_opt_float_tag   50
 
#define AllTypes_opt_fixed64_tag   51
 
#define AllTypes_opt_sfixed64_tag   52
 
#define AllTypes_opt_double_tag   53
 
#define AllTypes_opt_string_tag   54
 
#define AllTypes_opt_bytes_tag   55
 
#define AllTypes_opt_submsg_tag   56
 
#define AllTypes_opt_enum_tag   57
 
#define AllTypes_end_tag   99
 
#define SubMessage_FIELDLIST(X, a)
 
#define SubMessage_CALLBACK   NULL
 
#define EmptyMessage_FIELDLIST(X, a)
 
#define EmptyMessage_CALLBACK   NULL
 
#define Limits_FIELDLIST(X, a)
 
#define Limits_CALLBACK   NULL
 
#define AllTypes_FIELDLIST(X, a)
 
#define AllTypes_CALLBACK   pb_default_field_callback
 
#define AllTypes_req_submsg_MSGTYPE   SubMessage
 
#define AllTypes_rep_submsg_MSGTYPE   SubMessage
 
#define AllTypes_opt_submsg_MSGTYPE   SubMessage
 
#define SubMessage_fields   &SubMessage_msg
 
#define EmptyMessage_fields   &EmptyMessage_msg
 
#define Limits_fields   &Limits_msg
 
#define AllTypes_fields   &AllTypes_msg
 
#define SubMessage_size   33
 
#define EmptyMessage_size   0
 
#define Limits_size   100
 
#define AllTypes_size   1320
 

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 []
 

Macro Definition Documentation

◆ _HugeEnum_MIN

#define _HugeEnum_MIN   HugeEnum_Negative

Definition at line 22 of file alltypes_legacy.h.

◆ _HugeEnum_MAX

#define _HugeEnum_MAX   HugeEnum_Positive

Definition at line 23 of file alltypes_legacy.h.

◆ _HugeEnum_ARRAYSIZE

#define _HugeEnum_ARRAYSIZE   ((HugeEnum)(HugeEnum_Positive+1))

Definition at line 24 of file alltypes_legacy.h.

◆ _MyEnum_MIN

#define _MyEnum_MIN   MyEnum_Zero

Definition at line 32 of file alltypes_legacy.h.

◆ _MyEnum_MAX

#define _MyEnum_MAX   MyEnum_Truth

Definition at line 33 of file alltypes_legacy.h.

◆ _MyEnum_ARRAYSIZE

#define _MyEnum_ARRAYSIZE   ((MyEnum)(MyEnum_Truth+1))

Definition at line 34 of file alltypes_legacy.h.

◆ SubMessage_init_default

#define SubMessage_init_default   {"1", 2, false, 3u}

Definition at line 163 of file alltypes_legacy.h.

◆ EmptyMessage_init_default

#define EmptyMessage_init_default   {0}

Definition at line 164 of file alltypes_legacy.h.

◆ Limits_init_default

#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.

◆ AllTypes_init_default

#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().

◆ SubMessage_init_zero

#define SubMessage_init_zero   {"", 0, false, 0}

Definition at line 167 of file alltypes_legacy.h.

Referenced by main().

◆ EmptyMessage_init_zero

#define EmptyMessage_init_zero   {0}

Definition at line 168 of file alltypes_legacy.h.

◆ Limits_init_zero

#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.

◆ AllTypes_init_zero

#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().

◆ Limits_int32_min_tag

#define Limits_int32_min_tag   1

Definition at line 173 of file alltypes_legacy.h.

◆ Limits_int32_max_tag

#define Limits_int32_max_tag   2

Definition at line 174 of file alltypes_legacy.h.

◆ Limits_uint32_min_tag

#define Limits_uint32_min_tag   3

Definition at line 175 of file alltypes_legacy.h.

◆ Limits_uint32_max_tag

#define Limits_uint32_max_tag   4

Definition at line 176 of file alltypes_legacy.h.

◆ Limits_int64_min_tag

#define Limits_int64_min_tag   5

Definition at line 177 of file alltypes_legacy.h.

◆ Limits_int64_max_tag

#define Limits_int64_max_tag   6

Definition at line 178 of file alltypes_legacy.h.

◆ Limits_uint64_min_tag

#define Limits_uint64_min_tag   7

Definition at line 179 of file alltypes_legacy.h.

◆ Limits_uint64_max_tag

#define Limits_uint64_max_tag   8

Definition at line 180 of file alltypes_legacy.h.

◆ Limits_enum_min_tag

#define Limits_enum_min_tag   9

Definition at line 181 of file alltypes_legacy.h.

◆ Limits_enum_max_tag

#define Limits_enum_max_tag   10

Definition at line 182 of file alltypes_legacy.h.

◆ SubMessage_substuff1_tag

#define SubMessage_substuff1_tag   1

Definition at line 183 of file alltypes_legacy.h.

◆ SubMessage_substuff2_tag

#define SubMessage_substuff2_tag   2

Definition at line 184 of file alltypes_legacy.h.

◆ SubMessage_substuff3_tag

#define SubMessage_substuff3_tag   3

Definition at line 185 of file alltypes_legacy.h.

◆ AllTypes_req_int32_tag

#define AllTypes_req_int32_tag   1

Definition at line 186 of file alltypes_legacy.h.

◆ AllTypes_req_int64_tag

#define AllTypes_req_int64_tag   2

Definition at line 187 of file alltypes_legacy.h.

◆ AllTypes_req_uint32_tag

#define AllTypes_req_uint32_tag   3

Definition at line 188 of file alltypes_legacy.h.

◆ AllTypes_req_uint64_tag

#define AllTypes_req_uint64_tag   4

Definition at line 189 of file alltypes_legacy.h.

◆ AllTypes_req_sint32_tag

#define AllTypes_req_sint32_tag   5

Definition at line 190 of file alltypes_legacy.h.

◆ AllTypes_req_sint64_tag

#define AllTypes_req_sint64_tag   6

Definition at line 191 of file alltypes_legacy.h.

◆ AllTypes_req_bool_tag

#define AllTypes_req_bool_tag   7

Definition at line 192 of file alltypes_legacy.h.

◆ AllTypes_req_fixed32_tag

#define AllTypes_req_fixed32_tag   8

Definition at line 193 of file alltypes_legacy.h.

◆ AllTypes_req_sfixed32_tag

#define AllTypes_req_sfixed32_tag   9

Definition at line 194 of file alltypes_legacy.h.

◆ AllTypes_req_float_tag

#define AllTypes_req_float_tag   10

Definition at line 195 of file alltypes_legacy.h.

◆ AllTypes_req_fixed64_tag

#define AllTypes_req_fixed64_tag   11

Definition at line 196 of file alltypes_legacy.h.

◆ AllTypes_req_sfixed64_tag

#define AllTypes_req_sfixed64_tag   12

Definition at line 197 of file alltypes_legacy.h.

◆ AllTypes_req_double_tag

#define AllTypes_req_double_tag   13

Definition at line 198 of file alltypes_legacy.h.

◆ AllTypes_req_string_tag

#define AllTypes_req_string_tag   14

Definition at line 199 of file alltypes_legacy.h.

◆ AllTypes_req_bytes_tag

#define AllTypes_req_bytes_tag   15

Definition at line 200 of file alltypes_legacy.h.

◆ AllTypes_req_submsg_tag

#define AllTypes_req_submsg_tag   16

Definition at line 201 of file alltypes_legacy.h.

◆ AllTypes_req_enum_tag

#define AllTypes_req_enum_tag   17

Definition at line 202 of file alltypes_legacy.h.

◆ AllTypes_rep_int32_tag

#define AllTypes_rep_int32_tag   21

Definition at line 203 of file alltypes_legacy.h.

◆ AllTypes_rep_int64_tag

#define AllTypes_rep_int64_tag   22

Definition at line 204 of file alltypes_legacy.h.

◆ AllTypes_rep_uint32_tag

#define AllTypes_rep_uint32_tag   23

Definition at line 205 of file alltypes_legacy.h.

◆ AllTypes_rep_uint64_tag

#define AllTypes_rep_uint64_tag   24

Definition at line 206 of file alltypes_legacy.h.

◆ AllTypes_rep_sint32_tag

#define AllTypes_rep_sint32_tag   25

Definition at line 207 of file alltypes_legacy.h.

◆ AllTypes_rep_sint64_tag

#define AllTypes_rep_sint64_tag   26

Definition at line 208 of file alltypes_legacy.h.

◆ AllTypes_rep_bool_tag

#define AllTypes_rep_bool_tag   27

Definition at line 209 of file alltypes_legacy.h.

◆ AllTypes_rep_fixed32_tag

#define AllTypes_rep_fixed32_tag   28

Definition at line 210 of file alltypes_legacy.h.

◆ AllTypes_rep_sfixed32_tag

#define AllTypes_rep_sfixed32_tag   29

Definition at line 211 of file alltypes_legacy.h.

◆ AllTypes_rep_float_tag

#define AllTypes_rep_float_tag   30

Definition at line 212 of file alltypes_legacy.h.

◆ AllTypes_rep_fixed64_tag

#define AllTypes_rep_fixed64_tag   31

Definition at line 213 of file alltypes_legacy.h.

◆ AllTypes_rep_sfixed64_tag

#define AllTypes_rep_sfixed64_tag   32

Definition at line 214 of file alltypes_legacy.h.

◆ AllTypes_rep_double_tag

#define AllTypes_rep_double_tag   33

Definition at line 215 of file alltypes_legacy.h.

◆ AllTypes_rep_string_tag

#define AllTypes_rep_string_tag   34

Definition at line 216 of file alltypes_legacy.h.

◆ AllTypes_rep_bytes_tag

#define AllTypes_rep_bytes_tag   35

Definition at line 217 of file alltypes_legacy.h.

◆ AllTypes_rep_submsg_tag

#define AllTypes_rep_submsg_tag   36

Definition at line 218 of file alltypes_legacy.h.

◆ AllTypes_rep_enum_tag

#define AllTypes_rep_enum_tag   37

Definition at line 219 of file alltypes_legacy.h.

◆ AllTypes_opt_int32_tag

#define AllTypes_opt_int32_tag   41

Definition at line 220 of file alltypes_legacy.h.

◆ AllTypes_opt_int64_tag

#define AllTypes_opt_int64_tag   42

Definition at line 221 of file alltypes_legacy.h.

◆ AllTypes_opt_uint32_tag

#define AllTypes_opt_uint32_tag   43

Definition at line 222 of file alltypes_legacy.h.

◆ AllTypes_opt_uint64_tag

#define AllTypes_opt_uint64_tag   44

Definition at line 223 of file alltypes_legacy.h.

◆ AllTypes_opt_sint32_tag

#define AllTypes_opt_sint32_tag   45

Definition at line 224 of file alltypes_legacy.h.

◆ AllTypes_opt_sint64_tag

#define AllTypes_opt_sint64_tag   46

Definition at line 225 of file alltypes_legacy.h.

◆ AllTypes_opt_bool_tag

#define AllTypes_opt_bool_tag   47

Definition at line 226 of file alltypes_legacy.h.

◆ AllTypes_opt_fixed32_tag

#define AllTypes_opt_fixed32_tag   48

Definition at line 227 of file alltypes_legacy.h.

◆ AllTypes_opt_sfixed32_tag

#define AllTypes_opt_sfixed32_tag   49

Definition at line 228 of file alltypes_legacy.h.

◆ AllTypes_opt_float_tag

#define AllTypes_opt_float_tag   50

Definition at line 229 of file alltypes_legacy.h.

◆ AllTypes_opt_fixed64_tag

#define AllTypes_opt_fixed64_tag   51

Definition at line 230 of file alltypes_legacy.h.

◆ AllTypes_opt_sfixed64_tag

#define AllTypes_opt_sfixed64_tag   52

Definition at line 231 of file alltypes_legacy.h.

◆ AllTypes_opt_double_tag

#define AllTypes_opt_double_tag   53

Definition at line 232 of file alltypes_legacy.h.

◆ AllTypes_opt_string_tag

#define AllTypes_opt_string_tag   54

Definition at line 233 of file alltypes_legacy.h.

◆ AllTypes_opt_bytes_tag

#define AllTypes_opt_bytes_tag   55

Definition at line 234 of file alltypes_legacy.h.

◆ AllTypes_opt_submsg_tag

#define AllTypes_opt_submsg_tag   56

Definition at line 235 of file alltypes_legacy.h.

◆ AllTypes_opt_enum_tag

#define AllTypes_opt_enum_tag   57

Definition at line 236 of file alltypes_legacy.h.

◆ AllTypes_end_tag

#define AllTypes_end_tag   99

Definition at line 237 of file alltypes_legacy.h.

◆ SubMessage_FIELDLIST

#define SubMessage_FIELDLIST ( X,
a )
Value:
X(a, STATIC, REQUIRED, STRING, substuff1, 1) \
X(a, STATIC, REQUIRED, INT32, substuff2, 2) \
X(a, STATIC, OPTIONAL, FIXED32, substuff3, 3)

Definition at line 240 of file alltypes_legacy.h.

◆ SubMessage_CALLBACK

#define SubMessage_CALLBACK   NULL

Definition at line 244 of file alltypes_legacy.h.

◆ EmptyMessage_FIELDLIST

#define EmptyMessage_FIELDLIST ( X,
a )
Value:
\

Definition at line 246 of file alltypes_legacy.h.

◆ EmptyMessage_CALLBACK

#define EmptyMessage_CALLBACK   NULL

Definition at line 248 of file alltypes_legacy.h.

◆ Limits_FIELDLIST

#define Limits_FIELDLIST ( X,
a )
Value:
X(a, STATIC, REQUIRED, INT32, int32_min, 1) \
X(a, STATIC, REQUIRED, INT32, int32_max, 2) \
X(a, STATIC, REQUIRED, UINT32, uint32_min, 3) \
X(a, STATIC, REQUIRED, UINT32, uint32_max, 4) \
X(a, STATIC, REQUIRED, INT64, int64_min, 5) \
X(a, STATIC, REQUIRED, INT64, int64_max, 6) \
X(a, STATIC, REQUIRED, UINT64, uint64_min, 7) \
X(a, STATIC, REQUIRED, UINT64, uint64_max, 8) \
X(a, STATIC, REQUIRED, ENUM, enum_min, 9) \
X(a, STATIC, REQUIRED, ENUM, enum_max, 10)

Definition at line 250 of file alltypes_legacy.h.

◆ Limits_CALLBACK

#define Limits_CALLBACK   NULL

Definition at line 261 of file alltypes_legacy.h.

◆ AllTypes_FIELDLIST

#define AllTypes_FIELDLIST ( X,
a )

Definition at line 263 of file alltypes_legacy.h.

◆ AllTypes_CALLBACK

#define AllTypes_CALLBACK   pb_default_field_callback

Definition at line 317 of file alltypes_legacy.h.

◆ AllTypes_req_submsg_MSGTYPE

#define AllTypes_req_submsg_MSGTYPE   SubMessage

Definition at line 318 of file alltypes_legacy.h.

◆ AllTypes_rep_submsg_MSGTYPE

#define AllTypes_rep_submsg_MSGTYPE   SubMessage

Definition at line 319 of file alltypes_legacy.h.

◆ AllTypes_opt_submsg_MSGTYPE

#define AllTypes_opt_submsg_MSGTYPE   SubMessage

Definition at line 320 of file alltypes_legacy.h.

◆ SubMessage_fields

◆ EmptyMessage_fields

#define EmptyMessage_fields   &EmptyMessage_msg

Definition at line 333 of file alltypes_legacy.h.

Referenced by read_emptymsg(), write_emptymsg(), and write_repeated_emptymsg().

◆ Limits_fields

#define Limits_fields   &Limits_msg

Definition at line 334 of file alltypes_legacy.h.

Referenced by read_limits(), and write_limits().

◆ AllTypes_fields

#define AllTypes_fields   &AllTypes_msg

Definition at line 335 of file alltypes_legacy.h.

Referenced by check_alltypes(), main(), and main().

◆ SubMessage_size

#define SubMessage_size   33

Definition at line 338 of file alltypes_legacy.h.

◆ EmptyMessage_size

#define EmptyMessage_size   0

Definition at line 339 of file alltypes_legacy.h.

◆ Limits_size

#define Limits_size   100

Definition at line 340 of file alltypes_legacy.h.

◆ AllTypes_size

#define AllTypes_size   1320

Definition at line 341 of file alltypes_legacy.h.

Referenced by main().

Enumeration Type Documentation

◆ HugeEnum

enum HugeEnum
Enumerator
HugeEnum_Negative 
HugeEnum_Positive 

Definition at line 18 of file alltypes_legacy.h.

◆ MyEnum

enum MyEnum
Enumerator
MyEnum_Zero 
MyEnum_First 
MyEnum_Second 
MyEnum_Truth 

Definition at line 26 of file alltypes_legacy.h.

Function Documentation

◆ PB_BYTES_ARRAY_T()

typedef PB_BYTES_ARRAY_T ( 16 )

Variable Documentation

◆ SubMessage_msg

const pb_msgdesc_t SubMessage_msg
extern

◆ SubMessage_default

pb_byte_t SubMessage_default[]
extern

◆ EmptyMessage_msg

const pb_msgdesc_t EmptyMessage_msg
extern

◆ EmptyMessage_default

pb_byte_t EmptyMessage_default[]
extern

◆ Limits_msg

const pb_msgdesc_t Limits_msg
extern

◆ Limits_default

pb_byte_t Limits_default[]
extern

◆ AllTypes_msg

const pb_msgdesc_t AllTypes_msg
extern

◆ AllTypes_default

pb_byte_t AllTypes_default[]
extern