|
protobuf-c 1.5.1
Protocol Buffers implementation in C
|
Describes a message. More...
Data Fields | |
| uint32_t | magic |
| Magic value checked to ensure that the API is used correctly. | |
| const char * | name |
| The qualified name (e.g., "namespace.Type"). | |
| const char * | short_name |
| The unqualified name as given in the .proto file (e.g., "Type"). | |
| const char * | c_name |
| Identifier used in generated C code. | |
| const char * | package_name |
| The dot-separated namespace. | |
| size_t | sizeof_message |
| Size in bytes of the C structure representing an instance of this type of message. | |
| unsigned | n_fields |
Number of elements in fields. | |
| const ProtobufCFieldDescriptor * | fields |
| Field descriptors, sorted by tag number. | |
| const unsigned * | fields_sorted_by_name |
| Used for looking up fields by name. | |
| unsigned | n_field_ranges |
Number of elements in field_ranges. | |
| const ProtobufCIntRange * | field_ranges |
| Used for looking up fields by id. | |
| ProtobufCMessageInit | message_init |
| Message initialisation function. | |
| void * | reserved1 |
| Reserved for future use. | |
| void * | reserved2 |
| Reserved for future use. | |
| void * | reserved3 |
| Reserved for future use. | |
Describes a message.
| uint32_t ProtobufCMessageDescriptor::magic |
Magic value checked to ensure that the API is used correctly.
| const char* ProtobufCMessageDescriptor::name |
The qualified name (e.g., "namespace.Type").
| const char* ProtobufCMessageDescriptor::short_name |
The unqualified name as given in the .proto file (e.g., "Type").
| const char* ProtobufCMessageDescriptor::c_name |
Identifier used in generated C code.
| const char* ProtobufCMessageDescriptor::package_name |
The dot-separated namespace.
| size_t ProtobufCMessageDescriptor::sizeof_message |
Size in bytes of the C structure representing an instance of this type of message.
| unsigned ProtobufCMessageDescriptor::n_fields |
Number of elements in fields.
| const ProtobufCFieldDescriptor* ProtobufCMessageDescriptor::fields |
Field descriptors, sorted by tag number.
| const unsigned* ProtobufCMessageDescriptor::fields_sorted_by_name |
Used for looking up fields by name.
| unsigned ProtobufCMessageDescriptor::n_field_ranges |
Number of elements in field_ranges.
| const ProtobufCIntRange* ProtobufCMessageDescriptor::field_ranges |
Used for looking up fields by id.
| ProtobufCMessageInit ProtobufCMessageDescriptor::message_init |
Message initialisation function.
| void* ProtobufCMessageDescriptor::reserved1 |
Reserved for future use.
| void* ProtobufCMessageDescriptor::reserved2 |
Reserved for future use.
| void* ProtobufCMessageDescriptor::reserved3 |
Reserved for future use.