ESP-IDF
ProtobufCMessageDescriptor
is only used within ESP-IDF.
Symbol previews are coming soon...
Symbols
loading...
Files
loading...
Summary
Syntax
Related
Examples
References
Call Tree
Data Use
Class Tree
Override Tree
Implementations
Instances
Lifecycle
SourceVu
ESP-IDF Framework and Examples
ESP-IDF
ProtobufCMessageDescriptor
ProtobufCMessageDescriptor struct
Describes a message.
Syntax
Show:
Summary
Declaration
Definition
from
protobuf-c.h:356
struct
ProtobufCMessageDescriptor
;
Implemented in
protobuf-c.h:665
Fields
Field
Declared as
Description
ProtobufCMessageDescriptor::magic
uint32_t
Magic value checked to ensure that the API is used correctly.
ProtobufCMessageDescriptor::name
const
char
*
The qualified name (e.g., "namespace.Type").
ProtobufCMessageDescriptor::short_name
const
char
*
The unqualified name as given in the .proto file (e.g., "Type").
ProtobufCMessageDescriptor::c_name
const
char
*
Identifier used in generated C code.
ProtobufCMessageDescriptor::package_name
const
char
*
The dot-separated namespace.
ProtobufCMessageDescriptor::sizeof_message
size_t
Size in bytes of the C structure representing an instance of this type of message.
ProtobufCMessageDescriptor::n_fields
unsigned
Number of elements in `fields`.
ProtobufCMessageDescriptor::fields
const
ProtobufCFieldDescriptor
*
Field descriptors, sorted by tag number.
ProtobufCMessageDescriptor::fields_sorted_by_name
const
unsigned
*
Used for looking up fields by name.
ProtobufCMessageDescriptor::n_field_ranges
unsigned
Number of elements in `field_ranges`.
ProtobufCMessageDescriptor::field_ranges
const
ProtobufCIntRange
*
Used for looking up fields by id.
ProtobufCMessageDescriptor::message_init
ProtobufCMessageInit
Message initialisation function.
ProtobufCMessageDescriptor::reserved1
void
*
Reserved for future use.
ProtobufCMessageDescriptor::reserved2
void
*
Reserved for future use.
ProtobufCMessageDescriptor::reserved3
void
*
Reserved for future use.
Related Functions
Found 5 other functions taking a
ProtobufCMessageDescriptor
argument:
Function
Description
protobuf_c_message_unpack()
protobuf_c_message_init()
protobuf_c_message_descriptor_get_field_by_name()
protobuf_c_message_descriptor_get_field()
message_init_generic()
Initialise messages generated by old code. This function is used if desc->message_init == NULL (which occurs for old code, and which would be useful to support allocating descriptors dynamically).
Examples
References
from
examples
Call Tree
from
examples
All items filtered out
All items filtered out
Data Use
from
examples
All items filtered out
All items filtered out
Class Tree
from
examples
All items filtered out
All items filtered out
Override Tree
from
examples
All items filtered out
All items filtered out
Implementations
from
examples
All items filtered out
All items filtered out
Instances
from
examples
Lifecycle
from
examples
All items filtered out
All items filtered out