/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: rrctransfer.proto */ #ifndef PROTOBUF_C_rrctransfer_2eproto__INCLUDED #define PROTOBUF_C_rrctransfer_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_general_message_types.pb-c.h" typedef struct _Uenibstreamprotobuf__UENRMeasurementExtIEs Uenibstreamprotobuf__UENRMeasurementExtIEs; typedef struct _Uenibstreamprotobuf__UENRMeasurement Uenibstreamprotobuf__UENRMeasurement; typedef struct _Uenibstreamprotobuf__SplitSRBExtIEs Uenibstreamprotobuf__SplitSRBExtIEs; typedef struct _Uenibstreamprotobuf__DeliveryStatusExtIEs Uenibstreamprotobuf__DeliveryStatusExtIEs; typedef struct _Uenibstreamprotobuf__DeliveryStatus Uenibstreamprotobuf__DeliveryStatus; typedef struct _Uenibstreamprotobuf__SplitSRB Uenibstreamprotobuf__SplitSRB; typedef struct _Uenibstreamprotobuf__RRCTransferIEs Uenibstreamprotobuf__RRCTransferIEs; typedef struct _Uenibstreamprotobuf__RRCTransfer Uenibstreamprotobuf__RRCTransfer; /* --- enums --- */ typedef enum _Uenibstreamprotobuf__SplitSRB__SRBType { UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__srb1 = 1, UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__srb2 = 2 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE) } Uenibstreamprotobuf__SplitSRB__SRBType; /* --- messages --- */ struct _Uenibstreamprotobuf__UENRMeasurementExtIEs { ProtobufCMessage base; }; #define UENIBSTREAMPROTOBUF__UENRMEASUREMENT__EXT_IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__uenrmeasurement__ext_ies__descriptor) \ } struct _Uenibstreamprotobuf__UENRMeasurement { ProtobufCMessage base; Uenibstreamprotobuf__RRCContainer *uenrmeasurements; size_t n_ie_extensions; Uenibstreamprotobuf__UENRMeasurementExtIEs **ie_extensions; }; #define UENIBSTREAMPROTOBUF__UENRMEASUREMENT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__uenrmeasurement__descriptor) \ , NULL, 0,NULL } struct _Uenibstreamprotobuf__SplitSRBExtIEs { ProtobufCMessage base; }; #define UENIBSTREAMPROTOBUF__SPLIT_SRB__EXT_IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__split_srb__ext_ies__descriptor) \ } struct _Uenibstreamprotobuf__DeliveryStatusExtIEs { ProtobufCMessage base; }; #define UENIBSTREAMPROTOBUF__DELIVERY_STATUS__EXT_IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__delivery_status__ext_ies__descriptor) \ } struct _Uenibstreamprotobuf__DeliveryStatus { ProtobufCMessage base; uint32_t highestsuccessdeliveredpdcpsn; size_t n_ie_extensions; Uenibstreamprotobuf__DeliveryStatusExtIEs **ie_extensions; }; #define UENIBSTREAMPROTOBUF__DELIVERY_STATUS__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__delivery_status__descriptor) \ , 0, 0,NULL } struct _Uenibstreamprotobuf__SplitSRB { ProtobufCMessage base; /* *UNNECESSARILY LONG - CANNOT COMPLETE 36.331 RRCContainer - *ALSO SPLIT SRB IS NOT SUPPORTED IN NOKIA gNB. THIS WILL BE A HEAVILY *UNNECESSARY EXERCISE TO DO PROTOBUF SPEC. FOR THE TIME BEING, IT IS *OK TO USE 38.331 */ Uenibstreamprotobuf__RRCContainer *rrccontainer; Uenibstreamprotobuf__SplitSRB__SRBType srbtype; Uenibstreamprotobuf__DeliveryStatus *deliverystatus; size_t n_ie_extensions; Uenibstreamprotobuf__SplitSRBExtIEs **ie_extensions; }; #define UENIBSTREAMPROTOBUF__SPLIT_SRB__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__split_srb__descriptor) \ , NULL, UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__protobuf_unspecified, NULL, 0,NULL } struct _Uenibstreamprotobuf__RRCTransferIEs { ProtobufCMessage base; uint32_t id_menb_ue_x2ap_id; uint32_t id_sgnb_ue_x2ap_id; Uenibstreamprotobuf__SplitSRB *id_splitsrb; Uenibstreamprotobuf__UENRMeasurement *id_uenrmeasurement; Google__Protobuf__UInt32Value *id_menb_ue_x2ap_id_extension; }; #define UENIBSTREAMPROTOBUF__RRCTRANSFER__IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__rrctransfer__ies__descriptor) \ , 0, 0, NULL, NULL, NULL } struct _Uenibstreamprotobuf__RRCTransfer { ProtobufCMessage base; Uenibstreamprotobuf__RRCTransferIEs *rrctransfer_ies; }; #define UENIBSTREAMPROTOBUF__RRCTRANSFER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__rrctransfer__descriptor) \ , NULL } /* Uenibstreamprotobuf__UENRMeasurementExtIEs methods */ void uenibstreamprotobuf__uenrmeasurement__ext_ies__init (Uenibstreamprotobuf__UENRMeasurementExtIEs *message); size_t uenibstreamprotobuf__uenrmeasurement__ext_ies__get_packed_size (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message); size_t uenibstreamprotobuf__uenrmeasurement__ext_ies__pack (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message, uint8_t *out); size_t uenibstreamprotobuf__uenrmeasurement__ext_ies__pack_to_buffer (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__UENRMeasurementExtIEs * uenibstreamprotobuf__uenrmeasurement__ext_ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__uenrmeasurement__ext_ies__free_unpacked (Uenibstreamprotobuf__UENRMeasurementExtIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__UENRMeasurement methods */ void uenibstreamprotobuf__uenrmeasurement__init (Uenibstreamprotobuf__UENRMeasurement *message); size_t uenibstreamprotobuf__uenrmeasurement__get_packed_size (const Uenibstreamprotobuf__UENRMeasurement *message); size_t uenibstreamprotobuf__uenrmeasurement__pack (const Uenibstreamprotobuf__UENRMeasurement *message, uint8_t *out); size_t uenibstreamprotobuf__uenrmeasurement__pack_to_buffer (const Uenibstreamprotobuf__UENRMeasurement *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__UENRMeasurement * uenibstreamprotobuf__uenrmeasurement__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__uenrmeasurement__free_unpacked (Uenibstreamprotobuf__UENRMeasurement *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__SplitSRBExtIEs methods */ void uenibstreamprotobuf__split_srb__ext_ies__init (Uenibstreamprotobuf__SplitSRBExtIEs *message); size_t uenibstreamprotobuf__split_srb__ext_ies__get_packed_size (const Uenibstreamprotobuf__SplitSRBExtIEs *message); size_t uenibstreamprotobuf__split_srb__ext_ies__pack (const Uenibstreamprotobuf__SplitSRBExtIEs *message, uint8_t *out); size_t uenibstreamprotobuf__split_srb__ext_ies__pack_to_buffer (const Uenibstreamprotobuf__SplitSRBExtIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SplitSRBExtIEs * uenibstreamprotobuf__split_srb__ext_ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__split_srb__ext_ies__free_unpacked (Uenibstreamprotobuf__SplitSRBExtIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__DeliveryStatusExtIEs methods */ void uenibstreamprotobuf__delivery_status__ext_ies__init (Uenibstreamprotobuf__DeliveryStatusExtIEs *message); size_t uenibstreamprotobuf__delivery_status__ext_ies__get_packed_size (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message); size_t uenibstreamprotobuf__delivery_status__ext_ies__pack (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message, uint8_t *out); size_t uenibstreamprotobuf__delivery_status__ext_ies__pack_to_buffer (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__DeliveryStatusExtIEs * uenibstreamprotobuf__delivery_status__ext_ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__delivery_status__ext_ies__free_unpacked (Uenibstreamprotobuf__DeliveryStatusExtIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__DeliveryStatus methods */ void uenibstreamprotobuf__delivery_status__init (Uenibstreamprotobuf__DeliveryStatus *message); size_t uenibstreamprotobuf__delivery_status__get_packed_size (const Uenibstreamprotobuf__DeliveryStatus *message); size_t uenibstreamprotobuf__delivery_status__pack (const Uenibstreamprotobuf__DeliveryStatus *message, uint8_t *out); size_t uenibstreamprotobuf__delivery_status__pack_to_buffer (const Uenibstreamprotobuf__DeliveryStatus *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__DeliveryStatus * uenibstreamprotobuf__delivery_status__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__delivery_status__free_unpacked (Uenibstreamprotobuf__DeliveryStatus *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__SplitSRB methods */ void uenibstreamprotobuf__split_srb__init (Uenibstreamprotobuf__SplitSRB *message); size_t uenibstreamprotobuf__split_srb__get_packed_size (const Uenibstreamprotobuf__SplitSRB *message); size_t uenibstreamprotobuf__split_srb__pack (const Uenibstreamprotobuf__SplitSRB *message, uint8_t *out); size_t uenibstreamprotobuf__split_srb__pack_to_buffer (const Uenibstreamprotobuf__SplitSRB *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SplitSRB * uenibstreamprotobuf__split_srb__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__split_srb__free_unpacked (Uenibstreamprotobuf__SplitSRB *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__RRCTransferIEs methods */ void uenibstreamprotobuf__rrctransfer__ies__init (Uenibstreamprotobuf__RRCTransferIEs *message); size_t uenibstreamprotobuf__rrctransfer__ies__get_packed_size (const Uenibstreamprotobuf__RRCTransferIEs *message); size_t uenibstreamprotobuf__rrctransfer__ies__pack (const Uenibstreamprotobuf__RRCTransferIEs *message, uint8_t *out); size_t uenibstreamprotobuf__rrctransfer__ies__pack_to_buffer (const Uenibstreamprotobuf__RRCTransferIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__RRCTransferIEs * uenibstreamprotobuf__rrctransfer__ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__rrctransfer__ies__free_unpacked (Uenibstreamprotobuf__RRCTransferIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__RRCTransfer methods */ void uenibstreamprotobuf__rrctransfer__init (Uenibstreamprotobuf__RRCTransfer *message); size_t uenibstreamprotobuf__rrctransfer__get_packed_size (const Uenibstreamprotobuf__RRCTransfer *message); size_t uenibstreamprotobuf__rrctransfer__pack (const Uenibstreamprotobuf__RRCTransfer *message, uint8_t *out); size_t uenibstreamprotobuf__rrctransfer__pack_to_buffer (const Uenibstreamprotobuf__RRCTransfer *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__RRCTransfer * uenibstreamprotobuf__rrctransfer__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__rrctransfer__free_unpacked (Uenibstreamprotobuf__RRCTransfer *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*Uenibstreamprotobuf__UENRMeasurementExtIEs_Closure) (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__UENRMeasurement_Closure) (const Uenibstreamprotobuf__UENRMeasurement *message, void *closure_data); typedef void (*Uenibstreamprotobuf__SplitSRBExtIEs_Closure) (const Uenibstreamprotobuf__SplitSRBExtIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__DeliveryStatusExtIEs_Closure) (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__DeliveryStatus_Closure) (const Uenibstreamprotobuf__DeliveryStatus *message, void *closure_data); typedef void (*Uenibstreamprotobuf__SplitSRB_Closure) (const Uenibstreamprotobuf__SplitSRB *message, void *closure_data); typedef void (*Uenibstreamprotobuf__RRCTransferIEs_Closure) (const Uenibstreamprotobuf__RRCTransferIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__RRCTransfer_Closure) (const Uenibstreamprotobuf__RRCTransfer *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor uenibstreamprotobuf__uenrmeasurement__ext_ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__uenrmeasurement__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__split_srb__ext_ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__delivery_status__ext_ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__delivery_status__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__split_srb__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__split_srb__srbtype__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__rrctransfer__ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__rrctransfer__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_rrctransfer_2eproto__INCLUDED */