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