/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: rrc_general_message_types.proto */ #ifndef PROTOBUF_C_rrc_5fgeneral_5fmessage_5ftypes_2eproto__INCLUDED #define PROTOBUF_C_rrc_5fgeneral_5fmessage_5ftypes_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 "rrc_measurement_report.pb-c.h" #include "rrc_failure_information.pb-c.h" typedef struct _Uenibstreamprotobuf__RRCContainer Uenibstreamprotobuf__RRCContainer; typedef struct _Uenibstreamprotobuf__ULDCCHMessageType Uenibstreamprotobuf__ULDCCHMessageType; /* --- enums --- */ /* --- messages --- */ struct _Uenibstreamprotobuf__RRCContainer { ProtobufCMessage base; /* *oneof id_RRCContainer { *UL_DCCH_MessageType UL_DCCH_message = 1; *UL_DCCH_MessageType_36331 UL_DCCH_message_36331 = 2; *DL_DCCH_MessageType_36331 DL_DCCH_message_36331 = 3; *} */ Uenibstreamprotobuf__ULDCCHMessageType *ul_dcch_message; }; #define UENIBSTREAMPROTOBUF__RRCCONTAINER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__rrccontainer__descriptor) \ , NULL } typedef enum { UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__C1__NOT_SET = 0, UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__C1_MEASUREMENT_REPORT = 1, UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__C1_FAILURE_INFORMATION = 2 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__C1) } Uenibstreamprotobuf__ULDCCHMessageType__C1Case; struct _Uenibstreamprotobuf__ULDCCHMessageType { ProtobufCMessage base; Uenibstreamprotobuf__ULDCCHMessageType__C1Case c1_case; union { Uenibstreamprotobuf__MeasurementReport *measurementreport; Uenibstreamprotobuf__FailureInformation *failureinformation; }; }; #define UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__ul__dcch__message_type__descriptor) \ , UENIBSTREAMPROTOBUF__UL__DCCH__MESSAGE_TYPE__C1__NOT_SET, {0} } /* Uenibstreamprotobuf__RRCContainer methods */ void uenibstreamprotobuf__rrccontainer__init (Uenibstreamprotobuf__RRCContainer *message); size_t uenibstreamprotobuf__rrccontainer__get_packed_size (const Uenibstreamprotobuf__RRCContainer *message); size_t uenibstreamprotobuf__rrccontainer__pack (const Uenibstreamprotobuf__RRCContainer *message, uint8_t *out); size_t uenibstreamprotobuf__rrccontainer__pack_to_buffer (const Uenibstreamprotobuf__RRCContainer *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__RRCContainer * uenibstreamprotobuf__rrccontainer__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__rrccontainer__free_unpacked (Uenibstreamprotobuf__RRCContainer *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__ULDCCHMessageType methods */ void uenibstreamprotobuf__ul__dcch__message_type__init (Uenibstreamprotobuf__ULDCCHMessageType *message); size_t uenibstreamprotobuf__ul__dcch__message_type__get_packed_size (const Uenibstreamprotobuf__ULDCCHMessageType *message); size_t uenibstreamprotobuf__ul__dcch__message_type__pack (const Uenibstreamprotobuf__ULDCCHMessageType *message, uint8_t *out); size_t uenibstreamprotobuf__ul__dcch__message_type__pack_to_buffer (const Uenibstreamprotobuf__ULDCCHMessageType *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__ULDCCHMessageType * uenibstreamprotobuf__ul__dcch__message_type__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__ul__dcch__message_type__free_unpacked (Uenibstreamprotobuf__ULDCCHMessageType *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*Uenibstreamprotobuf__RRCContainer_Closure) (const Uenibstreamprotobuf__RRCContainer *message, void *closure_data); typedef void (*Uenibstreamprotobuf__ULDCCHMessageType_Closure) (const Uenibstreamprotobuf__ULDCCHMessageType *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor uenibstreamprotobuf__rrccontainer__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__ul__dcch__message_type__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_rrc_5fgeneral_5fmessage_5ftypes_2eproto__INCLUDED */