/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: rrc_system_information.proto */ #ifndef PROTOBUF_C_rrc_5fsystem_5finformation_2eproto__INCLUDED #define PROTOBUF_C_rrc_5fsystem_5finformation_2eproto__INCLUDED #include PROTOBUF_C__BEGIN_DECLS #if PROTOBUF_C_VERSION_NUMBER < 1003000 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers. #elif 1003002 < PROTOBUF_C_MIN_COMPILER_VERSION # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c. #endif #include "google/protobuf/wrappers.pb-c.h" #include "rrc_common_types.pb-c.h" #include "rrc_sib.pb-c.h" typedef struct _StreamingProtobufs__SystemInformation StreamingProtobufs__SystemInformation; typedef struct _StreamingProtobufs__SystemInformationIEs StreamingProtobufs__SystemInformationIEs; typedef struct _StreamingProtobufs__SIBTypeAndInfo StreamingProtobufs__SIBTypeAndInfo; /* --- enums --- */ /* --- messages --- */ typedef enum { STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS__NOT_SET = 0, STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS_SYSTEM_INFORMATION_R15 = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS) } StreamingProtobufs__SystemInformation__CriticalExtensionsCase; struct _StreamingProtobufs__SystemInformation { ProtobufCMessage base; StreamingProtobufs__SystemInformation__CriticalExtensionsCase critical_extensions_case; union { StreamingProtobufs__SystemInformationIEs *systeminformation_r15; }; }; #define STREAMING_PROTOBUFS__SYSTEM_INFORMATION__INIT \ { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__system_information__descriptor) \ , STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS__NOT_SET, {0} } struct _StreamingProtobufs__SystemInformationIEs { ProtobufCMessage base; size_t n_sib_typeandinfo; StreamingProtobufs__SIBTypeAndInfo **sib_typeandinfo; Google__Protobuf__BytesValue *latenoncriticalextension; }; #define STREAMING_PROTOBUFS__SYSTEM_INFORMATION__IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__system_information__ies__descriptor) \ , 0,NULL, NULL } typedef enum { STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C__NOT_SET = 0, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB2 = 1, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB3 = 2, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB4 = 3, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB5 = 4, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB6 = 5, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB7 = 6, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB8 = 7, STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB9 = 8 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C) } StreamingProtobufs__SIBTypeAndInfo__CCase; struct _StreamingProtobufs__SIBTypeAndInfo { ProtobufCMessage base; StreamingProtobufs__SIBTypeAndInfo__CCase c_case; union { StreamingProtobufs__SIB2 *sib2; StreamingProtobufs__SIB3 *sib3; StreamingProtobufs__SIB4 *sib4; StreamingProtobufs__SIB5 *sib5; StreamingProtobufs__SIB6 *sib6; StreamingProtobufs__SIB7 *sib7; StreamingProtobufs__SIB8 *sib8; StreamingProtobufs__SIB9 *sib9; }; }; #define STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__INIT \ { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__sib__type_and_info__descriptor) \ , STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C__NOT_SET, {0} } /* StreamingProtobufs__SystemInformation methods */ void streaming_protobufs__system_information__init (StreamingProtobufs__SystemInformation *message); size_t streaming_protobufs__system_information__get_packed_size (const StreamingProtobufs__SystemInformation *message); size_t streaming_protobufs__system_information__pack (const StreamingProtobufs__SystemInformation *message, uint8_t *out); size_t streaming_protobufs__system_information__pack_to_buffer (const StreamingProtobufs__SystemInformation *message, ProtobufCBuffer *buffer); StreamingProtobufs__SystemInformation * streaming_protobufs__system_information__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void streaming_protobufs__system_information__free_unpacked (StreamingProtobufs__SystemInformation *message, ProtobufCAllocator *allocator); /* StreamingProtobufs__SystemInformationIEs methods */ void streaming_protobufs__system_information__ies__init (StreamingProtobufs__SystemInformationIEs *message); size_t streaming_protobufs__system_information__ies__get_packed_size (const StreamingProtobufs__SystemInformationIEs *message); size_t streaming_protobufs__system_information__ies__pack (const StreamingProtobufs__SystemInformationIEs *message, uint8_t *out); size_t streaming_protobufs__system_information__ies__pack_to_buffer (const StreamingProtobufs__SystemInformationIEs *message, ProtobufCBuffer *buffer); StreamingProtobufs__SystemInformationIEs * streaming_protobufs__system_information__ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void streaming_protobufs__system_information__ies__free_unpacked (StreamingProtobufs__SystemInformationIEs *message, ProtobufCAllocator *allocator); /* StreamingProtobufs__SIBTypeAndInfo methods */ void streaming_protobufs__sib__type_and_info__init (StreamingProtobufs__SIBTypeAndInfo *message); size_t streaming_protobufs__sib__type_and_info__get_packed_size (const StreamingProtobufs__SIBTypeAndInfo *message); size_t streaming_protobufs__sib__type_and_info__pack (const StreamingProtobufs__SIBTypeAndInfo *message, uint8_t *out); size_t streaming_protobufs__sib__type_and_info__pack_to_buffer (const StreamingProtobufs__SIBTypeAndInfo *message, ProtobufCBuffer *buffer); StreamingProtobufs__SIBTypeAndInfo * streaming_protobufs__sib__type_and_info__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void streaming_protobufs__sib__type_and_info__free_unpacked (StreamingProtobufs__SIBTypeAndInfo *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*StreamingProtobufs__SystemInformation_Closure) (const StreamingProtobufs__SystemInformation *message, void *closure_data); typedef void (*StreamingProtobufs__SystemInformationIEs_Closure) (const StreamingProtobufs__SystemInformationIEs *message, void *closure_data); typedef void (*StreamingProtobufs__SIBTypeAndInfo_Closure) (const StreamingProtobufs__SIBTypeAndInfo *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor streaming_protobufs__system_information__descriptor; extern const ProtobufCMessageDescriptor streaming_protobufs__system_information__ies__descriptor; extern const ProtobufCMessageDescriptor streaming_protobufs__sib__type_and_info__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_rrc_5fsystem_5finformation_2eproto__INCLUDED */