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 |
unsigned | n_values |
const ProtobufCEnumValue * | values |
unsigned | n_value_names |
const ProtobufCEnumValueIndex * | values_by_name |
unsigned | n_value_ranges |
const ProtobufCIntRange * | value_ranges |
void * | reserved1 |
void * | reserved2 |
void * | reserved3 |
void * | reserved4 |
Describes an enumeration as a whole, with all of its values.
const char* ProtobufCEnumDescriptor::c_name |
Identifier used in generated C code.
uint32_t ProtobufCEnumDescriptor::magic |
Magic value checked to ensure that the API is used correctly.
unsigned ProtobufCEnumDescriptor::n_value_names |
Number of elements in values_by_name
.
unsigned ProtobufCEnumDescriptor::n_value_ranges |
Number of elements in value_ranges
.
unsigned ProtobufCEnumDescriptor::n_values |
Number elements in values
.
const char* ProtobufCEnumDescriptor::name |
The qualified name (e.g., "namespace.Type").
const char* ProtobufCEnumDescriptor::package_name |
The dot-separated namespace.
void* ProtobufCEnumDescriptor::reserved1 |
Reserved for future use.
void* ProtobufCEnumDescriptor::reserved2 |
Reserved for future use.
void* ProtobufCEnumDescriptor::reserved3 |
Reserved for future use.
void* ProtobufCEnumDescriptor::reserved4 |
Reserved for future use.
const char* ProtobufCEnumDescriptor::short_name |
The unqualified name as given in the .proto file (e.g., "Type").
const ProtobufCIntRange* ProtobufCEnumDescriptor::value_ranges |
Value ranges, for faster lookups by numeric value.
const ProtobufCEnumValue* ProtobufCEnumDescriptor::values |
Array of distinct values, sorted by numeric value.
const ProtobufCEnumValueIndex* ProtobufCEnumDescriptor::values_by_name |
Array of named values, including aliases, sorted by name.