protobuf-c 1.5.1
Protocol Buffers implementation in C
ProtobufCServiceDescriptor Struct Reference

Service descriptor. More...

Data Fields

uint32_t magic
 Magic value checked to ensure that the API is used correctly.
 
const char * name
 Service name.
 
const char * short_name
 Short version of service name.
 
const char * c_name
 C identifier for the service name.
 
const char * package
 Package name.
 
unsigned n_methods
 Number of elements in methods.
 
const ProtobufCMethodDescriptormethods
 Method descriptors, in the order defined in the .proto file.
 
const unsigned * method_indices_by_name
 Sort index of methods.
 

Detailed Description

Service descriptor.

Field Documentation

◆ magic

uint32_t ProtobufCServiceDescriptor::magic

Magic value checked to ensure that the API is used correctly.

◆ name

const char* ProtobufCServiceDescriptor::name

Service name.

◆ short_name

const char* ProtobufCServiceDescriptor::short_name

Short version of service name.

◆ c_name

const char* ProtobufCServiceDescriptor::c_name

C identifier for the service name.

◆ package

const char* ProtobufCServiceDescriptor::package

Package name.

◆ n_methods

unsigned ProtobufCServiceDescriptor::n_methods

Number of elements in methods.

◆ methods

const ProtobufCMethodDescriptor* ProtobufCServiceDescriptor::methods

Method descriptors, in the order defined in the .proto file.

◆ method_indices_by_name

const unsigned* ProtobufCServiceDescriptor::method_indices_by_name

Sort index of methods.