X-Git-Url: https://gerrit.o-ran-sc.org/r/gitweb?a=blobdiff_plain;f=mc-core%2Fmc%2Flocal_datasource%2Frrc_system_information.pb-c.c;fp=mc-core%2Fmc%2Flocal_datasource%2Frrc_system_information.pb-c.c;h=727fa4b47e873601d26972c43ad11b02e2d8d994;hb=31d238a2cba18b87e05a7d9b4820db2c5186c658;hp=0000000000000000000000000000000000000000;hpb=fe2bd3618e4748333078f91c26a8a3f5dcf184c4;p=ric-app%2Fmc.git diff --git a/mc-core/mc/local_datasource/rrc_system_information.pb-c.c b/mc-core/mc/local_datasource/rrc_system_information.pb-c.c new file mode 100644 index 0000000..727fa4b --- /dev/null +++ b/mc-core/mc/local_datasource/rrc_system_information.pb-c.c @@ -0,0 +1,362 @@ +/* Generated by the protocol buffer compiler. DO NOT EDIT! */ +/* Generated from: rrc_system_information.proto */ + +/* Do not generate deprecated warnings for self */ +#ifndef PROTOBUF_C__NO_DEPRECATED +#define PROTOBUF_C__NO_DEPRECATED +#endif + +#include "rrc_system_information.pb-c.h" +void uenibstreamprotobuf__system_information__init + (Uenibstreamprotobuf__SystemInformation *message) +{ + static const Uenibstreamprotobuf__SystemInformation init_value = UENIBSTREAMPROTOBUF__SYSTEM_INFORMATION__INIT; + *message = init_value; +} +size_t uenibstreamprotobuf__system_information__get_packed_size + (const Uenibstreamprotobuf__SystemInformation *message) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t uenibstreamprotobuf__system_information__pack + (const Uenibstreamprotobuf__SystemInformation *message, + uint8_t *out) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t uenibstreamprotobuf__system_information__pack_to_buffer + (const Uenibstreamprotobuf__SystemInformation *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Uenibstreamprotobuf__SystemInformation * + uenibstreamprotobuf__system_information__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Uenibstreamprotobuf__SystemInformation *) + protobuf_c_message_unpack (&uenibstreamprotobuf__system_information__descriptor, + allocator, len, data); +} +void uenibstreamprotobuf__system_information__free_unpacked + (Uenibstreamprotobuf__SystemInformation *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void uenibstreamprotobuf__system_information__ies__init + (Uenibstreamprotobuf__SystemInformationIEs *message) +{ + static const Uenibstreamprotobuf__SystemInformationIEs init_value = UENIBSTREAMPROTOBUF__SYSTEM_INFORMATION__IES__INIT; + *message = init_value; +} +size_t uenibstreamprotobuf__system_information__ies__get_packed_size + (const Uenibstreamprotobuf__SystemInformationIEs *message) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__ies__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t uenibstreamprotobuf__system_information__ies__pack + (const Uenibstreamprotobuf__SystemInformationIEs *message, + uint8_t *out) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__ies__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t uenibstreamprotobuf__system_information__ies__pack_to_buffer + (const Uenibstreamprotobuf__SystemInformationIEs *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__ies__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Uenibstreamprotobuf__SystemInformationIEs * + uenibstreamprotobuf__system_information__ies__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Uenibstreamprotobuf__SystemInformationIEs *) + protobuf_c_message_unpack (&uenibstreamprotobuf__system_information__ies__descriptor, + allocator, len, data); +} +void uenibstreamprotobuf__system_information__ies__free_unpacked + (Uenibstreamprotobuf__SystemInformationIEs *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &uenibstreamprotobuf__system_information__ies__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +void uenibstreamprotobuf__sib__type_and_info__init + (Uenibstreamprotobuf__SIBTypeAndInfo *message) +{ + static const Uenibstreamprotobuf__SIBTypeAndInfo init_value = UENIBSTREAMPROTOBUF__SIB__TYPE_AND_INFO__INIT; + *message = init_value; +} +size_t uenibstreamprotobuf__sib__type_and_info__get_packed_size + (const Uenibstreamprotobuf__SIBTypeAndInfo *message) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__sib__type_and_info__descriptor); + return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); +} +size_t uenibstreamprotobuf__sib__type_and_info__pack + (const Uenibstreamprotobuf__SIBTypeAndInfo *message, + uint8_t *out) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__sib__type_and_info__descriptor); + return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); +} +size_t uenibstreamprotobuf__sib__type_and_info__pack_to_buffer + (const Uenibstreamprotobuf__SIBTypeAndInfo *message, + ProtobufCBuffer *buffer) +{ + assert(message->base.descriptor == &uenibstreamprotobuf__sib__type_and_info__descriptor); + return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); +} +Uenibstreamprotobuf__SIBTypeAndInfo * + uenibstreamprotobuf__sib__type_and_info__unpack + (ProtobufCAllocator *allocator, + size_t len, + const uint8_t *data) +{ + return (Uenibstreamprotobuf__SIBTypeAndInfo *) + protobuf_c_message_unpack (&uenibstreamprotobuf__sib__type_and_info__descriptor, + allocator, len, data); +} +void uenibstreamprotobuf__sib__type_and_info__free_unpacked + (Uenibstreamprotobuf__SIBTypeAndInfo *message, + ProtobufCAllocator *allocator) +{ + if(!message) + return; + assert(message->base.descriptor == &uenibstreamprotobuf__sib__type_and_info__descriptor); + protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); +} +static const ProtobufCFieldDescriptor uenibstreamprotobuf__system_information__field_descriptors[1] = +{ + { + "systemInformation_r15", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SystemInformation, critical_extensions_case), + offsetof(Uenibstreamprotobuf__SystemInformation, systeminformation_r15), + &uenibstreamprotobuf__system_information__ies__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned uenibstreamprotobuf__system_information__field_indices_by_name[] = { + 0, /* field[0] = systemInformation_r15 */ +}; +static const ProtobufCIntRange uenibstreamprotobuf__system_information__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 1 } +}; +const ProtobufCMessageDescriptor uenibstreamprotobuf__system_information__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "uenibstreamprotobuf.SystemInformation", + "SystemInformation", + "Uenibstreamprotobuf__SystemInformation", + "uenibstreamprotobuf", + sizeof(Uenibstreamprotobuf__SystemInformation), + 1, + uenibstreamprotobuf__system_information__field_descriptors, + uenibstreamprotobuf__system_information__field_indices_by_name, + 1, uenibstreamprotobuf__system_information__number_ranges, + (ProtobufCMessageInit) uenibstreamprotobuf__system_information__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor uenibstreamprotobuf__system_information__ies__field_descriptors[2] = +{ + { + "sib_TypeAndInfo", + 1, + PROTOBUF_C_LABEL_REPEATED, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SystemInformationIEs, n_sib_typeandinfo), + offsetof(Uenibstreamprotobuf__SystemInformationIEs, sib_typeandinfo), + &uenibstreamprotobuf__sib__type_and_info__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "lateNonCriticalExtension", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + 0, /* quantifier_offset */ + offsetof(Uenibstreamprotobuf__SystemInformationIEs, latenoncriticalextension), + &google__protobuf__string_value__descriptor, + NULL, + 0, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned uenibstreamprotobuf__system_information__ies__field_indices_by_name[] = { + 1, /* field[1] = lateNonCriticalExtension */ + 0, /* field[0] = sib_TypeAndInfo */ +}; +static const ProtobufCIntRange uenibstreamprotobuf__system_information__ies__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 2 } +}; +const ProtobufCMessageDescriptor uenibstreamprotobuf__system_information__ies__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "uenibstreamprotobuf.SystemInformation_IEs", + "SystemInformationIEs", + "Uenibstreamprotobuf__SystemInformationIEs", + "uenibstreamprotobuf", + sizeof(Uenibstreamprotobuf__SystemInformationIEs), + 2, + uenibstreamprotobuf__system_information__ies__field_descriptors, + uenibstreamprotobuf__system_information__ies__field_indices_by_name, + 1, uenibstreamprotobuf__system_information__ies__number_ranges, + (ProtobufCMessageInit) uenibstreamprotobuf__system_information__ies__init, + NULL,NULL,NULL /* reserved[123] */ +}; +static const ProtobufCFieldDescriptor uenibstreamprotobuf__sib__type_and_info__field_descriptors[8] = +{ + { + "sib2", + 1, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib2), + &uenibstreamprotobuf__sib2__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib3", + 2, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib3), + &uenibstreamprotobuf__sib3__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib4", + 3, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib4), + &uenibstreamprotobuf__sib4__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib5", + 4, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib5), + &uenibstreamprotobuf__sib5__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib6", + 5, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib6), + &uenibstreamprotobuf__sib6__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib7", + 6, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib7), + &uenibstreamprotobuf__sib7__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib8", + 7, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib8), + &uenibstreamprotobuf__sib8__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, + { + "sib9", + 8, + PROTOBUF_C_LABEL_NONE, + PROTOBUF_C_TYPE_MESSAGE, + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, c_case), + offsetof(Uenibstreamprotobuf__SIBTypeAndInfo, sib9), + &uenibstreamprotobuf__sib9__descriptor, + NULL, + 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */ + 0,NULL,NULL /* reserved1,reserved2, etc */ + }, +}; +static const unsigned uenibstreamprotobuf__sib__type_and_info__field_indices_by_name[] = { + 0, /* field[0] = sib2 */ + 1, /* field[1] = sib3 */ + 2, /* field[2] = sib4 */ + 3, /* field[3] = sib5 */ + 4, /* field[4] = sib6 */ + 5, /* field[5] = sib7 */ + 6, /* field[6] = sib8 */ + 7, /* field[7] = sib9 */ +}; +static const ProtobufCIntRange uenibstreamprotobuf__sib__type_and_info__number_ranges[1 + 1] = +{ + { 1, 0 }, + { 0, 8 } +}; +const ProtobufCMessageDescriptor uenibstreamprotobuf__sib__type_and_info__descriptor = +{ + PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, + "uenibstreamprotobuf.SIB_TypeAndInfo", + "SIBTypeAndInfo", + "Uenibstreamprotobuf__SIBTypeAndInfo", + "uenibstreamprotobuf", + sizeof(Uenibstreamprotobuf__SIBTypeAndInfo), + 8, + uenibstreamprotobuf__sib__type_and_info__field_descriptors, + uenibstreamprotobuf__sib__type_and_info__field_indices_by_name, + 1, uenibstreamprotobuf__sib__type_and_info__number_ranges, + (ProtobufCMessageInit) uenibstreamprotobuf__sib__type_and_info__init, + NULL,NULL,NULL /* reserved[123] */ +};