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

Represents a single value of an enumeration. More...

Data Fields

const char * name
 The string identifying this value in the .proto file.
 
const char * c_name
 The string identifying this value in generated C code.
 
int value
 The numeric value assigned in the .proto file.
 

Detailed Description

Represents a single value of an enumeration.

Field Documentation

◆ name

const char* ProtobufCEnumValue::name

The string identifying this value in the .proto file.

◆ c_name

const char* ProtobufCEnumValue::c_name

The string identifying this value in generated C code.

◆ value

int ProtobufCEnumValue::value

The numeric value assigned in the .proto file.