... | ... | @@ -17,138 +17,138 @@ title: motorcortex-msg/nanopb/pb.h |
|
|
|
|
|
| | Name |
|
|
|
| -------------- | -------------- |
|
|
|
| struct | **[pb_extension_s](Classes/structpb__extension__s.md)** |
|
|
|
| struct | **[pb_extension_type_s](Classes/structpb__extension__type__s.md)** |
|
|
|
| struct | **[pb_callback_s](Classes/structpb__callback__s.md)** |
|
|
|
| struct | **[pb_bytes_array_s](Classes/structpb__bytes__array__s.md)** |
|
|
|
| struct | **[pb_field_s](Classes/structpb__field__s.md)** |
|
|
|
| struct | **[pb_extension_s](Classes/structpb__extension__s)** |
|
|
|
| struct | **[pb_extension_type_s](Classes/structpb__extension__type__s)** |
|
|
|
| struct | **[pb_callback_s](Classes/structpb__callback__s)** |
|
|
|
| struct | **[pb_bytes_array_s](Classes/structpb__bytes__array__s)** |
|
|
|
| struct | **[pb_field_s](Classes/structpb__field__s)** |
|
|
|
|
|
|
## Types
|
|
|
|
|
|
| | Name |
|
|
|
| -------------- | -------------- |
|
|
|
| typedef struct [pb_extension_s](Classes/structpb__extension__s.md) | **[pb_extension_t](Files/pb_8h.md#typedef-pb_extension_t)** |
|
|
|
| typedef struct [pb_extension_type_s](Classes/structpb__extension__type__s.md) | **[pb_extension_type_t](Files/pb_8h.md#typedef-pb_extension_type_t)** |
|
|
|
| typedef struct [pb_callback_s](Classes/structpb__callback__s.md) | **[pb_callback_t](Files/pb_8h.md#typedef-pb_callback_t)** |
|
|
|
| typedef struct [pb_ostream_s](Classes/structpb__ostream__s.md) | **[pb_ostream_t](Files/pb_8h.md#typedef-pb_ostream_t)** |
|
|
|
| typedef struct [pb_istream_s](Classes/structpb__istream__s.md) | **[pb_istream_t](Files/pb_8h.md#typedef-pb_istream_t)** |
|
|
|
| typedef struct [pb_bytes_array_s](Classes/structpb__bytes__array__s.md) | **[pb_bytes_array_t](Files/pb_8h.md#typedef-pb_bytes_array_t)** |
|
|
|
| typedef typedefPB_PACKED_STRUCT_START struct [pb_field_s](Classes/structpb__field__s.md) | **[pb_field_t](Files/pb_8h.md#typedef-pb_field_t)** |
|
|
|
| typedef uint_least8_t | **[pb_byte_t](Files/pb_8h.md#typedef-pb_byte_t)** |
|
|
|
| typedef int32_t | **[pb_ssize_t](Files/pb_8h.md#typedef-pb_ssize_t)** |
|
|
|
| typedef uint32_t | **[pb_size_t](Files/pb_8h.md#typedef-pb_size_t)** |
|
|
|
| typedef uint_least8_t | **[pb_type_t](Files/pb_8h.md#typedef-pb_type_t)** |
|
|
|
| enum | **[pb_wire_type_t](Files/pb_8h.md#enum-pb_wire_type_t)** { PB_WT_VARINT, PB_WT_64BIT, PB_WT_STRING, PB_WT_32BIT } |
|
|
|
| typedef struct [pb_extension_s](Classes/structpb__extension__s) | **[pb_extension_t](Files/pb_8h#typedef-pb_extension_t)** |
|
|
|
| typedef struct [pb_extension_type_s](Classes/structpb__extension__type__s) | **[pb_extension_type_t](Files/pb_8h#typedef-pb_extension_type_t)** |
|
|
|
| typedef struct [pb_callback_s](Classes/structpb__callback__s) | **[pb_callback_t](Files/pb_8h#typedef-pb_callback_t)** |
|
|
|
| typedef struct [pb_ostream_s](Classes/structpb__ostream__s) | **[pb_ostream_t](Files/pb_8h#typedef-pb_ostream_t)** |
|
|
|
| typedef struct [pb_istream_s](Classes/structpb__istream__s) | **[pb_istream_t](Files/pb_8h#typedef-pb_istream_t)** |
|
|
|
| typedef struct [pb_bytes_array_s](Classes/structpb__bytes__array__s) | **[pb_bytes_array_t](Files/pb_8h#typedef-pb_bytes_array_t)** |
|
|
|
| typedef typedefPB_PACKED_STRUCT_START struct [pb_field_s](Classes/structpb__field__s) | **[pb_field_t](Files/pb_8h#typedef-pb_field_t)** |
|
|
|
| typedef uint_least8_t | **[pb_byte_t](Files/pb_8h#typedef-pb_byte_t)** |
|
|
|
| typedef int32_t | **[pb_ssize_t](Files/pb_8h#typedef-pb_ssize_t)** |
|
|
|
| typedef uint32_t | **[pb_size_t](Files/pb_8h#typedef-pb_size_t)** |
|
|
|
| typedef uint_least8_t | **[pb_type_t](Files/pb_8h#typedef-pb_type_t)** |
|
|
|
| enum | **[pb_wire_type_t](Files/pb_8h#enum-pb_wire_type_t)** { PB_WT_VARINT, PB_WT_64BIT, PB_WT_STRING, PB_WT_32BIT } |
|
|
|
|
|
|
## Functions
|
|
|
|
|
|
| | Name |
|
|
|
| -------------- | -------------- |
|
|
|
| PB_PACKED_STRUCT_END | **[PB_STATIC_ASSERT](Files/pb_8h.md#function-pb_static_assert)**(sizeof(int64_t) ==2 *sizeof(int32_t), INT64_T_WRONG_SIZE ) |
|
|
|
| PB_PACKED_STRUCT_END | **[PB_STATIC_ASSERT](Files/pb_8h#function-pb_static_assert)**(sizeof(int64_t) ==2 *sizeof(int32_t), INT64_T_WRONG_SIZE ) |
|
|
|
|
|
|
## Attributes
|
|
|
|
|
|
| | Name |
|
|
|
| -------------- | -------------- |
|
|
|
| struct [pb_field_s](Classes/structpb__field__s.md) | **[pb_packed](Files/pb_8h.md#variable-pb_packed)** |
|
|
|
| struct [pb_field_s](Classes/structpb__field__s) | **[pb_packed](Files/pb_8h#variable-pb_packed)** |
|
|
|
|
|
|
## Defines
|
|
|
|
|
|
| | Name |
|
|
|
| -------------- | -------------- |
|
|
|
| | **[PB_RETURN_ERROR](Files/pb_8h.md#define-pb_return_error)**(stream, msg) |
|
|
|
| | **[PB_GET_ERROR](Files/pb_8h.md#define-pb_get_error)**(stream) |
|
|
|
| | **[PB_SET_ERROR](Files/pb_8h.md#define-pb_set_error)**(stream, msg) |
|
|
|
| | **[PB_ANONYMOUS_ONEOF_FIELD](Files/pb_8h.md#define-pb_anonymous_oneof_field)**(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_ANONYMOUS_ONEOF_POINTER](Files/pb_8h.md#define-pb_anonymous_oneof_pointer)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_ANONYMOUS_ONEOF_STATIC](Files/pb_8h.md#define-pb_anonymous_oneof_static)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_ONEOF_FIELD](Files/pb_8h.md#define-pb_oneof_field)**(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_ONEOF_POINTER](Files/pb_8h.md#define-pb_oneof_pointer)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_ONEOF_STATIC](Files/pb_8h.md#define-pb_oneof_static)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_FIXED_COUNT](Files/pb_8h.md#define-pb_repeated_fixed_count)**(tag, type, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_FIELD](Files/pb_8h.md#define-pb_field)**(tag, type, rules, allocation, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_LTYPE_MAP_FIXED_LENGTH_BYTES](Files/pb_8h.md#define-pb_ltype_map_fixed_length_bytes)** |
|
|
|
| | **[PB_LTYPE_MAP_EXTENSION](Files/pb_8h.md#define-pb_ltype_map_extension)** |
|
|
|
| | **[PB_LTYPE_MAP_UINT64](Files/pb_8h.md#define-pb_ltype_map_uint64)** |
|
|
|
| | **[PB_LTYPE_MAP_UINT32](Files/pb_8h.md#define-pb_ltype_map_uint32)** |
|
|
|
| | **[PB_LTYPE_MAP_STRING](Files/pb_8h.md#define-pb_ltype_map_string)** |
|
|
|
| | **[PB_LTYPE_MAP_SINT64](Files/pb_8h.md#define-pb_ltype_map_sint64)** |
|
|
|
| | **[PB_LTYPE_MAP_SINT32](Files/pb_8h.md#define-pb_ltype_map_sint32)** |
|
|
|
| | **[PB_LTYPE_MAP_SFIXED64](Files/pb_8h.md#define-pb_ltype_map_sfixed64)** |
|
|
|
| | **[PB_LTYPE_MAP_SFIXED32](Files/pb_8h.md#define-pb_ltype_map_sfixed32)** |
|
|
|
| | **[PB_LTYPE_MAP_MESSAGE](Files/pb_8h.md#define-pb_ltype_map_message)** |
|
|
|
| | **[PB_LTYPE_MAP_INT64](Files/pb_8h.md#define-pb_ltype_map_int64)** |
|
|
|
| | **[PB_LTYPE_MAP_INT32](Files/pb_8h.md#define-pb_ltype_map_int32)** |
|
|
|
| | **[PB_LTYPE_MAP_FLOAT](Files/pb_8h.md#define-pb_ltype_map_float)** |
|
|
|
| | **[PB_LTYPE_MAP_FIXED64](Files/pb_8h.md#define-pb_ltype_map_fixed64)** |
|
|
|
| | **[PB_LTYPE_MAP_FIXED32](Files/pb_8h.md#define-pb_ltype_map_fixed32)** |
|
|
|
| | **[PB_LTYPE_MAP_UENUM](Files/pb_8h.md#define-pb_ltype_map_uenum)** |
|
|
|
| | **[PB_LTYPE_MAP_ENUM](Files/pb_8h.md#define-pb_ltype_map_enum)** |
|
|
|
| | **[PB_LTYPE_MAP_DOUBLE](Files/pb_8h.md#define-pb_ltype_map_double)** |
|
|
|
| | **[PB_LTYPE_MAP_BYTES](Files/pb_8h.md#define-pb_ltype_map_bytes)** |
|
|
|
| | **[PB_LTYPE_MAP_BOOL](Files/pb_8h.md#define-pb_ltype_map_bool)** |
|
|
|
| | **[PB_OPTEXT_CALLBACK](Files/pb_8h.md#define-pb_optext_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTEXT_POINTER](Files/pb_8h.md#define-pb_optext_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTEXT_STATIC](Files/pb_8h.md#define-pb_optext_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_CALLBACK](Files/pb_8h.md#define-pb_repeated_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_SINGULAR_CALLBACK](Files/pb_8h.md#define-pb_singular_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTIONAL_CALLBACK](Files/pb_8h.md#define-pb_optional_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REQUIRED_CALLBACK](Files/pb_8h.md#define-pb_required_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_POINTER](Files/pb_8h.md#define-pb_repeated_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_SINGULAR_POINTER](Files/pb_8h.md#define-pb_singular_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTIONAL_POINTER](Files/pb_8h.md#define-pb_optional_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REQUIRED_POINTER](Files/pb_8h.md#define-pb_required_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_STATIC](Files/pb_8h.md#define-pb_repeated_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_SINGULAR_STATIC](Files/pb_8h.md#define-pb_singular_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTIONAL_STATIC](Files/pb_8h.md#define-pb_optional_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REQUIRED_STATIC](Files/pb_8h.md#define-pb_required_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_DATAOFFSET_CHOOSE](Files/pb_8h.md#define-pb_dataoffset_choose)**(st, m1, m2) |
|
|
|
| | **[PB_DATAOFFSET_UNION](Files/pb_8h.md#define-pb_dataoffset_union)**(st, m1, m2) |
|
|
|
| | **[PB_DATAOFFSET_OTHER](Files/pb_8h.md#define-pb_dataoffset_other)**(st, m1, m2) |
|
|
|
| | **[PB_DATAOFFSET_FIRST](Files/pb_8h.md#define-pb_dataoffset_first)**(st, m1, m2) |
|
|
|
| | **[PB_LAST_FIELD](Files/pb_8h.md#define-pb_last_field)** |
|
|
|
| | **[pb_delta](Files/pb_8h.md#define-pb_delta)**(st, m1, m2) |
|
|
|
| | **[pb_arraysize](Files/pb_8h.md#define-pb_arraysize)**(st, m) |
|
|
|
| | **[pb_membersize](Files/pb_8h.md#define-pb_membersize)**(st, m) |
|
|
|
| | **[PB_PROTO_HEADER_VERSION](Files/pb_8h.md#define-pb_proto_header_version)** |
|
|
|
| | **[PB_BYTES_ARRAY_T_ALLOCSIZE](Files/pb_8h.md#define-pb_bytes_array_t_allocsize)**(n) |
|
|
|
| | **[PB_BYTES_ARRAY_T](Files/pb_8h.md#define-pb_bytes_array_t)**(n) |
|
|
|
| | **[PB_SIZE_MAX](Files/pb_8h.md#define-pb_size_max)** |
|
|
|
| | **[PB_LTYPE](Files/pb_8h.md#define-pb_ltype)**(x) |
|
|
|
| | **[PB_HTYPE](Files/pb_8h.md#define-pb_htype)**(x) |
|
|
|
| | **[PB_ATYPE](Files/pb_8h.md#define-pb_atype)**(x) |
|
|
|
| | **[PB_ATYPE_MASK](Files/pb_8h.md#define-pb_atype_mask)** |
|
|
|
| | **[PB_ATYPE_CALLBACK](Files/pb_8h.md#define-pb_atype_callback)** |
|
|
|
| | **[PB_ATYPE_POINTER](Files/pb_8h.md#define-pb_atype_pointer)** |
|
|
|
| | **[PB_ATYPE_STATIC](Files/pb_8h.md#define-pb_atype_static)** |
|
|
|
| | **[PB_HTYPE_MASK](Files/pb_8h.md#define-pb_htype_mask)** |
|
|
|
| | **[PB_HTYPE_ONEOF](Files/pb_8h.md#define-pb_htype_oneof)** |
|
|
|
| | **[PB_HTYPE_REPEATED](Files/pb_8h.md#define-pb_htype_repeated)** |
|
|
|
| | **[PB_HTYPE_OPTIONAL](Files/pb_8h.md#define-pb_htype_optional)** |
|
|
|
| | **[PB_HTYPE_REQUIRED](Files/pb_8h.md#define-pb_htype_required)** |
|
|
|
| | **[PB_LTYPE_MASK](Files/pb_8h.md#define-pb_ltype_mask)** |
|
|
|
| | **[PB_LTYPES_COUNT](Files/pb_8h.md#define-pb_ltypes_count)** |
|
|
|
| | **[PB_LTYPE_FIXED_LENGTH_BYTES](Files/pb_8h.md#define-pb_ltype_fixed_length_bytes)** |
|
|
|
| | **[PB_LTYPE_EXTENSION](Files/pb_8h.md#define-pb_ltype_extension)** |
|
|
|
| | **[PB_LTYPE_SUBMESSAGE](Files/pb_8h.md#define-pb_ltype_submessage)** |
|
|
|
| | **[PB_LTYPE_STRING](Files/pb_8h.md#define-pb_ltype_string)** |
|
|
|
| | **[PB_LTYPE_BYTES](Files/pb_8h.md#define-pb_ltype_bytes)** |
|
|
|
| | **[PB_LTYPE_LAST_PACKABLE](Files/pb_8h.md#define-pb_ltype_last_packable)** |
|
|
|
| | **[PB_LTYPE_FIXED64](Files/pb_8h.md#define-pb_ltype_fixed64)** |
|
|
|
| | **[PB_LTYPE_FIXED32](Files/pb_8h.md#define-pb_ltype_fixed32)** |
|
|
|
| | **[PB_LTYPE_SVARINT](Files/pb_8h.md#define-pb_ltype_svarint)** |
|
|
|
| | **[PB_LTYPE_UVARINT](Files/pb_8h.md#define-pb_ltype_uvarint)** |
|
|
|
| | **[PB_LTYPE_VARINT](Files/pb_8h.md#define-pb_ltype_varint)** |
|
|
|
| | **[PB_MAX_REQUIRED_FIELDS](Files/pb_8h.md#define-pb_max_required_fields)** |
|
|
|
| | **[PB_STATIC_ASSERT_MSG_](Files/pb_8h.md#define-pb_static_assert_msg_)**(MSG, LINE, COUNTER) |
|
|
|
| | **[PB_STATIC_ASSERT_MSG](Files/pb_8h.md#define-pb_static_assert_msg)**(MSG, LINE, COUNTER) |
|
|
|
| | **[PB_STATIC_ASSERT](Files/pb_8h.md#define-pb_static_assert)**(COND, MSG) |
|
|
|
| | **[PB_UNUSED](Files/pb_8h.md#define-pb_unused)**(x) |
|
|
|
| | **[pb_packed](Files/pb_8h.md#define-pb_packed)** |
|
|
|
| | **[PB_PACKED_STRUCT_END](Files/pb_8h.md#define-pb_packed_struct_end)** |
|
|
|
| | **[PB_PACKED_STRUCT_START](Files/pb_8h.md#define-pb_packed_struct_start)** |
|
|
|
| | **[NANOPB_VERSION](Files/pb_8h.md#define-nanopb_version)** |
|
|
|
| | **[PB_FIELD_32BIT](Files/pb_8h.md#define-pb_field_32bit)** |
|
|
|
| | **[PB_RETURN_ERROR](Files/pb_8h#define-pb_return_error)**(stream, msg) |
|
|
|
| | **[PB_GET_ERROR](Files/pb_8h#define-pb_get_error)**(stream) |
|
|
|
| | **[PB_SET_ERROR](Files/pb_8h#define-pb_set_error)**(stream, msg) |
|
|
|
| | **[PB_ANONYMOUS_ONEOF_FIELD](Files/pb_8h#define-pb_anonymous_oneof_field)**(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_ANONYMOUS_ONEOF_POINTER](Files/pb_8h#define-pb_anonymous_oneof_pointer)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_ANONYMOUS_ONEOF_STATIC](Files/pb_8h#define-pb_anonymous_oneof_static)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_ONEOF_FIELD](Files/pb_8h#define-pb_oneof_field)**(union_name, tag, type, rules, allocation, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_ONEOF_POINTER](Files/pb_8h#define-pb_oneof_pointer)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_ONEOF_STATIC](Files/pb_8h#define-pb_oneof_static)**(u, tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_FIXED_COUNT](Files/pb_8h#define-pb_repeated_fixed_count)**(tag, type, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_FIELD](Files/pb_8h#define-pb_field)**(tag, type, rules, allocation, placement, message, field, prevfield, ptr) |
|
|
|
| | **[PB_LTYPE_MAP_FIXED_LENGTH_BYTES](Files/pb_8h#define-pb_ltype_map_fixed_length_bytes)** |
|
|
|
| | **[PB_LTYPE_MAP_EXTENSION](Files/pb_8h#define-pb_ltype_map_extension)** |
|
|
|
| | **[PB_LTYPE_MAP_UINT64](Files/pb_8h#define-pb_ltype_map_uint64)** |
|
|
|
| | **[PB_LTYPE_MAP_UINT32](Files/pb_8h#define-pb_ltype_map_uint32)** |
|
|
|
| | **[PB_LTYPE_MAP_STRING](Files/pb_8h#define-pb_ltype_map_string)** |
|
|
|
| | **[PB_LTYPE_MAP_SINT64](Files/pb_8h#define-pb_ltype_map_sint64)** |
|
|
|
| | **[PB_LTYPE_MAP_SINT32](Files/pb_8h#define-pb_ltype_map_sint32)** |
|
|
|
| | **[PB_LTYPE_MAP_SFIXED64](Files/pb_8h#define-pb_ltype_map_sfixed64)** |
|
|
|
| | **[PB_LTYPE_MAP_SFIXED32](Files/pb_8h#define-pb_ltype_map_sfixed32)** |
|
|
|
| | **[PB_LTYPE_MAP_MESSAGE](Files/pb_8h#define-pb_ltype_map_message)** |
|
|
|
| | **[PB_LTYPE_MAP_INT64](Files/pb_8h#define-pb_ltype_map_int64)** |
|
|
|
| | **[PB_LTYPE_MAP_INT32](Files/pb_8h#define-pb_ltype_map_int32)** |
|
|
|
| | **[PB_LTYPE_MAP_FLOAT](Files/pb_8h#define-pb_ltype_map_float)** |
|
|
|
| | **[PB_LTYPE_MAP_FIXED64](Files/pb_8h#define-pb_ltype_map_fixed64)** |
|
|
|
| | **[PB_LTYPE_MAP_FIXED32](Files/pb_8h#define-pb_ltype_map_fixed32)** |
|
|
|
| | **[PB_LTYPE_MAP_UENUM](Files/pb_8h#define-pb_ltype_map_uenum)** |
|
|
|
| | **[PB_LTYPE_MAP_ENUM](Files/pb_8h#define-pb_ltype_map_enum)** |
|
|
|
| | **[PB_LTYPE_MAP_DOUBLE](Files/pb_8h#define-pb_ltype_map_double)** |
|
|
|
| | **[PB_LTYPE_MAP_BYTES](Files/pb_8h#define-pb_ltype_map_bytes)** |
|
|
|
| | **[PB_LTYPE_MAP_BOOL](Files/pb_8h#define-pb_ltype_map_bool)** |
|
|
|
| | **[PB_OPTEXT_CALLBACK](Files/pb_8h#define-pb_optext_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTEXT_POINTER](Files/pb_8h#define-pb_optext_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTEXT_STATIC](Files/pb_8h#define-pb_optext_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_CALLBACK](Files/pb_8h#define-pb_repeated_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_SINGULAR_CALLBACK](Files/pb_8h#define-pb_singular_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTIONAL_CALLBACK](Files/pb_8h#define-pb_optional_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REQUIRED_CALLBACK](Files/pb_8h#define-pb_required_callback)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_POINTER](Files/pb_8h#define-pb_repeated_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_SINGULAR_POINTER](Files/pb_8h#define-pb_singular_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTIONAL_POINTER](Files/pb_8h#define-pb_optional_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REQUIRED_POINTER](Files/pb_8h#define-pb_required_pointer)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REPEATED_STATIC](Files/pb_8h#define-pb_repeated_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_SINGULAR_STATIC](Files/pb_8h#define-pb_singular_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_OPTIONAL_STATIC](Files/pb_8h#define-pb_optional_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_REQUIRED_STATIC](Files/pb_8h#define-pb_required_static)**(tag, st, m, fd, ltype, ptr) |
|
|
|
| | **[PB_DATAOFFSET_CHOOSE](Files/pb_8h#define-pb_dataoffset_choose)**(st, m1, m2) |
|
|
|
| | **[PB_DATAOFFSET_UNION](Files/pb_8h#define-pb_dataoffset_union)**(st, m1, m2) |
|
|
|
| | **[PB_DATAOFFSET_OTHER](Files/pb_8h#define-pb_dataoffset_other)**(st, m1, m2) |
|
|
|
| | **[PB_DATAOFFSET_FIRST](Files/pb_8h#define-pb_dataoffset_first)**(st, m1, m2) |
|
|
|
| | **[PB_LAST_FIELD](Files/pb_8h#define-pb_last_field)** |
|
|
|
| | **[pb_delta](Files/pb_8h#define-pb_delta)**(st, m1, m2) |
|
|
|
| | **[pb_arraysize](Files/pb_8h#define-pb_arraysize)**(st, m) |
|
|
|
| | **[pb_membersize](Files/pb_8h#define-pb_membersize)**(st, m) |
|
|
|
| | **[PB_PROTO_HEADER_VERSION](Files/pb_8h#define-pb_proto_header_version)** |
|
|
|
| | **[PB_BYTES_ARRAY_T_ALLOCSIZE](Files/pb_8h#define-pb_bytes_array_t_allocsize)**(n) |
|
|
|
| | **[PB_BYTES_ARRAY_T](Files/pb_8h#define-pb_bytes_array_t)**(n) |
|
|
|
| | **[PB_SIZE_MAX](Files/pb_8h#define-pb_size_max)** |
|
|
|
| | **[PB_LTYPE](Files/pb_8h#define-pb_ltype)**(x) |
|
|
|
| | **[PB_HTYPE](Files/pb_8h#define-pb_htype)**(x) |
|
|
|
| | **[PB_ATYPE](Files/pb_8h#define-pb_atype)**(x) |
|
|
|
| | **[PB_ATYPE_MASK](Files/pb_8h#define-pb_atype_mask)** |
|
|
|
| | **[PB_ATYPE_CALLBACK](Files/pb_8h#define-pb_atype_callback)** |
|
|
|
| | **[PB_ATYPE_POINTER](Files/pb_8h#define-pb_atype_pointer)** |
|
|
|
| | **[PB_ATYPE_STATIC](Files/pb_8h#define-pb_atype_static)** |
|
|
|
| | **[PB_HTYPE_MASK](Files/pb_8h#define-pb_htype_mask)** |
|
|
|
| | **[PB_HTYPE_ONEOF](Files/pb_8h#define-pb_htype_oneof)** |
|
|
|
| | **[PB_HTYPE_REPEATED](Files/pb_8h#define-pb_htype_repeated)** |
|
|
|
| | **[PB_HTYPE_OPTIONAL](Files/pb_8h#define-pb_htype_optional)** |
|
|
|
| | **[PB_HTYPE_REQUIRED](Files/pb_8h#define-pb_htype_required)** |
|
|
|
| | **[PB_LTYPE_MASK](Files/pb_8h#define-pb_ltype_mask)** |
|
|
|
| | **[PB_LTYPES_COUNT](Files/pb_8h#define-pb_ltypes_count)** |
|
|
|
| | **[PB_LTYPE_FIXED_LENGTH_BYTES](Files/pb_8h#define-pb_ltype_fixed_length_bytes)** |
|
|
|
| | **[PB_LTYPE_EXTENSION](Files/pb_8h#define-pb_ltype_extension)** |
|
|
|
| | **[PB_LTYPE_SUBMESSAGE](Files/pb_8h#define-pb_ltype_submessage)** |
|
|
|
| | **[PB_LTYPE_STRING](Files/pb_8h#define-pb_ltype_string)** |
|
|
|
| | **[PB_LTYPE_BYTES](Files/pb_8h#define-pb_ltype_bytes)** |
|
|
|
| | **[PB_LTYPE_LAST_PACKABLE](Files/pb_8h#define-pb_ltype_last_packable)** |
|
|
|
| | **[PB_LTYPE_FIXED64](Files/pb_8h#define-pb_ltype_fixed64)** |
|
|
|
| | **[PB_LTYPE_FIXED32](Files/pb_8h#define-pb_ltype_fixed32)** |
|
|
|
| | **[PB_LTYPE_SVARINT](Files/pb_8h#define-pb_ltype_svarint)** |
|
|
|
| | **[PB_LTYPE_UVARINT](Files/pb_8h#define-pb_ltype_uvarint)** |
|
|
|
| | **[PB_LTYPE_VARINT](Files/pb_8h#define-pb_ltype_varint)** |
|
|
|
| | **[PB_MAX_REQUIRED_FIELDS](Files/pb_8h#define-pb_max_required_fields)** |
|
|
|
| | **[PB_STATIC_ASSERT_MSG_](Files/pb_8h#define-pb_static_assert_msg_)**(MSG, LINE, COUNTER) |
|
|
|
| | **[PB_STATIC_ASSERT_MSG](Files/pb_8h#define-pb_static_assert_msg)**(MSG, LINE, COUNTER) |
|
|
|
| | **[PB_STATIC_ASSERT](Files/pb_8h#define-pb_static_assert)**(COND, MSG) |
|
|
|
| | **[PB_UNUSED](Files/pb_8h#define-pb_unused)**(x) |
|
|
|
| | **[pb_packed](Files/pb_8h#define-pb_packed)** |
|
|
|
| | **[PB_PACKED_STRUCT_END](Files/pb_8h#define-pb_packed_struct_end)** |
|
|
|
| | **[PB_PACKED_STRUCT_START](Files/pb_8h#define-pb_packed_struct_start)** |
|
|
|
| | **[NANOPB_VERSION](Files/pb_8h#define-nanopb_version)** |
|
|
|
| | **[PB_FIELD_32BIT](Files/pb_8h#define-pb_field_32bit)** |
|
|
|
|
|
|
|
|
|
|
... | ... | @@ -2706,7 +2706,7 @@ struct pb_field_s pb_packed; |
|
|
```cpp
|
|
|
#define PB_BYTES_ARRAY_T_ALLOCSIZE(
|
|
|
n
|
|
|
) ((size_t)n + offsetof([pb_bytes_array_t](Classes/structpb__bytes__array__s.md), bytes))
|
|
|
) ((size_t)n + offsetof([pb_bytes_array_t](Classes/structpb__bytes__array__s), bytes))
|
|
|
```
|
|
|
|
|
|
|
... | ... | @@ -4581,4 +4581,4 @@ struct pb_extension_s { |
|
|
|
|
|
-------------------------------
|
|
|
|
|
|
Updated on 7 February 2020 at 17:28:18 CET |
|
|
Updated on 7 February 2020 at 17:46:15 CET |