From: yu.dongliang <18588496441@163.com> Date: Tue, 18 Jul 2023 07:38:03 +0000 (+0800) Subject: scf_eda.proto X-Git-Url: http://baseworks.info/?a=commitdiff_plain;h=dc8131fbca7e5208ec9ea0f6cb10e46b4a342a9c;p=ses.git scf_eda.proto --- diff --git a/scf_eda.pb-c.c b/scf_eda.pb-c.c index f8da1c4..045444b 100644 --- a/scf_eda.pb-c.c +++ b/scf_eda.pb-c.c @@ -385,7 +385,7 @@ const ProtobufCMessageDescriptor scf_line__descriptor = (ProtobufCMessageInit) scf_line__init, NULL,NULL,NULL /* reserved[123] */ }; -static const ProtobufCFieldDescriptor scf_epin__field_descriptors[8] = +static const ProtobufCFieldDescriptor scf_epin__field_descriptors[9] = { { "id", @@ -483,6 +483,18 @@ static const ProtobufCFieldDescriptor scf_epin__field_descriptors[8] = 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, + { + "vflag", + 9, + PROTOBUF_C_LABEL_REQUIRED, + PROTOBUF_C_TYPE_BOOL, + 0, /* quantifier_offset */ + offsetof(ScfEpin, vflag), + NULL, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, }; static const unsigned scf_epin__field_indices_by_name[] = { 5, /* field[5] = c_tos */ @@ -491,13 +503,14 @@ static const unsigned scf_epin__field_indices_by_name[] = { 0, /* field[0] = id */ 2, /* field[2] = lid */ 4, /* field[4] = tos */ + 8, /* field[8] = vflag */ 6, /* field[6] = x */ 7, /* field[7] = y */ }; static const ProtobufCIntRange scf_epin__number_ranges[1 + 1] = { { 1, 0 }, - { 0, 8 } + { 0, 9 } }; const ProtobufCMessageDescriptor scf_epin__descriptor = { @@ -507,7 +520,7 @@ const ProtobufCMessageDescriptor scf_epin__descriptor = "ScfEpin", "", sizeof(ScfEpin), - 8, + 9, scf_epin__field_descriptors, scf_epin__field_indices_by_name, 1, scf_epin__number_ranges, diff --git a/scf_eda.pb-c.h b/scf_eda.pb-c.h index 8347fb4..6a69624 100644 --- a/scf_eda.pb-c.h +++ b/scf_eda.pb-c.h @@ -54,10 +54,11 @@ struct _ScfEpin uint64_t c_tos; int32_t x; int32_t y; + protobuf_c_boolean vflag; }; #define SCF_EPIN__INIT \ { PROTOBUF_C_MESSAGE_INIT (&scf_epin__descriptor) \ - , 0, 0, 0, 0, 0,NULL, 0, 0, 0 } + , 0, 0, 0, 0, 0,NULL, 0, 0, 0, 0 } struct _ScfEconn diff --git a/scf_eda.proto b/scf_eda.proto index 07f4d95..f249abc 100644 --- a/scf_eda.proto +++ b/scf_eda.proto @@ -19,6 +19,7 @@ message scf_epin required int32 x = 7; required int32 y = 8; + required bool vflag = 9; } message scf_econn