/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: secondary_rat_data_usage_report.proto */ #ifndef PROTOBUF_C_secondary_5frat_5fdata_5fusage_5freport_2eproto__INCLUDED #define PROTOBUF_C_secondary_5frat_5fdata_5fusage_5freport_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" typedef struct _Uenibstreamprotobuf__SecondaryRATDataUsageReport Uenibstreamprotobuf__SecondaryRATDataUsageReport; typedef struct _Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs; typedef struct _Uenibstreamprotobuf__SecondaryRATUsageReportList Uenibstreamprotobuf__SecondaryRATUsageReportList; typedef struct _Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs; typedef struct _Uenibstreamprotobuf__SecondaryRATUsageReportItem Uenibstreamprotobuf__SecondaryRATUsageReportItem; typedef struct _Uenibstreamprotobuf__ERABUsageReportList Uenibstreamprotobuf__ERABUsageReportList; typedef struct _Uenibstreamprotobuf__ERABUsageReportItemIEs Uenibstreamprotobuf__ERABUsageReportItemIEs; typedef struct _Uenibstreamprotobuf__ERABUsageReportItem Uenibstreamprotobuf__ERABUsageReportItem; /* --- enums --- */ typedef enum _Uenibstreamprotobuf__SecondaryRATUsageReportItem__SecondaryRATType { UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE__protobuf_unspecified = 0, UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE__nr = 1 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE) } Uenibstreamprotobuf__SecondaryRATUsageReportItem__SecondaryRATType; /* --- messages --- */ struct _Uenibstreamprotobuf__SecondaryRATDataUsageReport { ProtobufCMessage base; Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *protocolies; }; #define UENIBSTREAMPROTOBUF__SECONDARY_RATDATA_USAGE_REPORT__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratdata_usage_report__descriptor) \ , NULL } struct _Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs { ProtobufCMessage base; uint32_t id_menb_ue_x2ap_id; uint32_t id_sgnb_ue_x2ap_id; Uenibstreamprotobuf__SecondaryRATUsageReportList *id_secondaryratusagereportlist; Google__Protobuf__UInt32Value *id_menb_ue_x2ap_id_extension; }; #define UENIBSTREAMPROTOBUF__SECONDARY_RATDATA_USAGE_REPORT__IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratdata_usage_report__ies__descriptor) \ , 0, 0, NULL, NULL } struct _Uenibstreamprotobuf__SecondaryRATUsageReportList { ProtobufCMessage base; size_t n_items; Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs **items; }; #define UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratusage_report_list__descriptor) \ , 0,NULL } struct _Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs { ProtobufCMessage base; Uenibstreamprotobuf__SecondaryRATUsageReportItem *id_secondaryratusagereport_item; }; #define UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM_IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratusage_report__item_ies__descriptor) \ , NULL } struct _Uenibstreamprotobuf__SecondaryRATUsageReportItem { ProtobufCMessage base; uint32_t e_rab_id; Uenibstreamprotobuf__SecondaryRATUsageReportItem__SecondaryRATType secondaryrattype; Uenibstreamprotobuf__ERABUsageReportList *e_rabusagereportlist; }; #define UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__secondary_ratusage_report__item__descriptor) \ , 0, UENIBSTREAMPROTOBUF__SECONDARY_RATUSAGE_REPORT__ITEM__SECONDARY_RATTYPE__protobuf_unspecified, NULL } struct _Uenibstreamprotobuf__ERABUsageReportList { ProtobufCMessage base; size_t n_items; Uenibstreamprotobuf__ERABUsageReportItemIEs **items; }; #define UENIBSTREAMPROTOBUF__E__RABUSAGE_REPORT_LIST__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__e__rabusage_report_list__descriptor) \ , 0,NULL } struct _Uenibstreamprotobuf__ERABUsageReportItemIEs { ProtobufCMessage base; Uenibstreamprotobuf__ERABUsageReportItem *id_e_rabusagereport_item; }; #define UENIBSTREAMPROTOBUF__E__RABUSAGE_REPORT__ITEM_IES__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__e__rabusage_report__item_ies__descriptor) \ , NULL } struct _Uenibstreamprotobuf__ERABUsageReportItem { ProtobufCMessage base; uint64_t starttimestamp; uint64_t endtimestamp; uint64_t usagecountul; uint64_t usagecountdl; }; #define UENIBSTREAMPROTOBUF__E__RABUSAGE_REPORT__ITEM__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__e__rabusage_report__item__descriptor) \ , 0, 0, 0, 0 } /* Uenibstreamprotobuf__SecondaryRATDataUsageReport methods */ void uenibstreamprotobuf__secondary_ratdata_usage_report__init (Uenibstreamprotobuf__SecondaryRATDataUsageReport *message); size_t uenibstreamprotobuf__secondary_ratdata_usage_report__get_packed_size (const Uenibstreamprotobuf__SecondaryRATDataUsageReport *message); size_t uenibstreamprotobuf__secondary_ratdata_usage_report__pack (const Uenibstreamprotobuf__SecondaryRATDataUsageReport *message, uint8_t *out); size_t uenibstreamprotobuf__secondary_ratdata_usage_report__pack_to_buffer (const Uenibstreamprotobuf__SecondaryRATDataUsageReport *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SecondaryRATDataUsageReport * uenibstreamprotobuf__secondary_ratdata_usage_report__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__secondary_ratdata_usage_report__free_unpacked (Uenibstreamprotobuf__SecondaryRATDataUsageReport *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs methods */ void uenibstreamprotobuf__secondary_ratdata_usage_report__ies__init (Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message); size_t uenibstreamprotobuf__secondary_ratdata_usage_report__ies__get_packed_size (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message); size_t uenibstreamprotobuf__secondary_ratdata_usage_report__ies__pack (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message, uint8_t *out); size_t uenibstreamprotobuf__secondary_ratdata_usage_report__ies__pack_to_buffer (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs * uenibstreamprotobuf__secondary_ratdata_usage_report__ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__secondary_ratdata_usage_report__ies__free_unpacked (Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__SecondaryRATUsageReportList methods */ void uenibstreamprotobuf__secondary_ratusage_report_list__init (Uenibstreamprotobuf__SecondaryRATUsageReportList *message); size_t uenibstreamprotobuf__secondary_ratusage_report_list__get_packed_size (const Uenibstreamprotobuf__SecondaryRATUsageReportList *message); size_t uenibstreamprotobuf__secondary_ratusage_report_list__pack (const Uenibstreamprotobuf__SecondaryRATUsageReportList *message, uint8_t *out); size_t uenibstreamprotobuf__secondary_ratusage_report_list__pack_to_buffer (const Uenibstreamprotobuf__SecondaryRATUsageReportList *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SecondaryRATUsageReportList * uenibstreamprotobuf__secondary_ratusage_report_list__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__secondary_ratusage_report_list__free_unpacked (Uenibstreamprotobuf__SecondaryRATUsageReportList *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs methods */ void uenibstreamprotobuf__secondary_ratusage_report__item_ies__init (Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message); size_t uenibstreamprotobuf__secondary_ratusage_report__item_ies__get_packed_size (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message); size_t uenibstreamprotobuf__secondary_ratusage_report__item_ies__pack (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message, uint8_t *out); size_t uenibstreamprotobuf__secondary_ratusage_report__item_ies__pack_to_buffer (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs * uenibstreamprotobuf__secondary_ratusage_report__item_ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__secondary_ratusage_report__item_ies__free_unpacked (Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__SecondaryRATUsageReportItem methods */ void uenibstreamprotobuf__secondary_ratusage_report__item__init (Uenibstreamprotobuf__SecondaryRATUsageReportItem *message); size_t uenibstreamprotobuf__secondary_ratusage_report__item__get_packed_size (const Uenibstreamprotobuf__SecondaryRATUsageReportItem *message); size_t uenibstreamprotobuf__secondary_ratusage_report__item__pack (const Uenibstreamprotobuf__SecondaryRATUsageReportItem *message, uint8_t *out); size_t uenibstreamprotobuf__secondary_ratusage_report__item__pack_to_buffer (const Uenibstreamprotobuf__SecondaryRATUsageReportItem *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__SecondaryRATUsageReportItem * uenibstreamprotobuf__secondary_ratusage_report__item__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__secondary_ratusage_report__item__free_unpacked (Uenibstreamprotobuf__SecondaryRATUsageReportItem *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__ERABUsageReportList methods */ void uenibstreamprotobuf__e__rabusage_report_list__init (Uenibstreamprotobuf__ERABUsageReportList *message); size_t uenibstreamprotobuf__e__rabusage_report_list__get_packed_size (const Uenibstreamprotobuf__ERABUsageReportList *message); size_t uenibstreamprotobuf__e__rabusage_report_list__pack (const Uenibstreamprotobuf__ERABUsageReportList *message, uint8_t *out); size_t uenibstreamprotobuf__e__rabusage_report_list__pack_to_buffer (const Uenibstreamprotobuf__ERABUsageReportList *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__ERABUsageReportList * uenibstreamprotobuf__e__rabusage_report_list__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__e__rabusage_report_list__free_unpacked (Uenibstreamprotobuf__ERABUsageReportList *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__ERABUsageReportItemIEs methods */ void uenibstreamprotobuf__e__rabusage_report__item_ies__init (Uenibstreamprotobuf__ERABUsageReportItemIEs *message); size_t uenibstreamprotobuf__e__rabusage_report__item_ies__get_packed_size (const Uenibstreamprotobuf__ERABUsageReportItemIEs *message); size_t uenibstreamprotobuf__e__rabusage_report__item_ies__pack (const Uenibstreamprotobuf__ERABUsageReportItemIEs *message, uint8_t *out); size_t uenibstreamprotobuf__e__rabusage_report__item_ies__pack_to_buffer (const Uenibstreamprotobuf__ERABUsageReportItemIEs *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__ERABUsageReportItemIEs * uenibstreamprotobuf__e__rabusage_report__item_ies__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__e__rabusage_report__item_ies__free_unpacked (Uenibstreamprotobuf__ERABUsageReportItemIEs *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__ERABUsageReportItem methods */ void uenibstreamprotobuf__e__rabusage_report__item__init (Uenibstreamprotobuf__ERABUsageReportItem *message); size_t uenibstreamprotobuf__e__rabusage_report__item__get_packed_size (const Uenibstreamprotobuf__ERABUsageReportItem *message); size_t uenibstreamprotobuf__e__rabusage_report__item__pack (const Uenibstreamprotobuf__ERABUsageReportItem *message, uint8_t *out); size_t uenibstreamprotobuf__e__rabusage_report__item__pack_to_buffer (const Uenibstreamprotobuf__ERABUsageReportItem *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__ERABUsageReportItem * uenibstreamprotobuf__e__rabusage_report__item__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__e__rabusage_report__item__free_unpacked (Uenibstreamprotobuf__ERABUsageReportItem *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*Uenibstreamprotobuf__SecondaryRATDataUsageReport_Closure) (const Uenibstreamprotobuf__SecondaryRATDataUsageReport *message, void *closure_data); typedef void (*Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs_Closure) (const Uenibstreamprotobuf__SecondaryRATDataUsageReportIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__SecondaryRATUsageReportList_Closure) (const Uenibstreamprotobuf__SecondaryRATUsageReportList *message, void *closure_data); typedef void (*Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs_Closure) (const Uenibstreamprotobuf__SecondaryRATUsageReportItemIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__SecondaryRATUsageReportItem_Closure) (const Uenibstreamprotobuf__SecondaryRATUsageReportItem *message, void *closure_data); typedef void (*Uenibstreamprotobuf__ERABUsageReportList_Closure) (const Uenibstreamprotobuf__ERABUsageReportList *message, void *closure_data); typedef void (*Uenibstreamprotobuf__ERABUsageReportItemIEs_Closure) (const Uenibstreamprotobuf__ERABUsageReportItemIEs *message, void *closure_data); typedef void (*Uenibstreamprotobuf__ERABUsageReportItem_Closure) (const Uenibstreamprotobuf__ERABUsageReportItem *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratdata_usage_report__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratdata_usage_report__ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratusage_report_list__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratusage_report__item_ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__secondary_ratusage_report__item__descriptor; extern const ProtobufCEnumDescriptor uenibstreamprotobuf__secondary_ratusage_report__item__secondary_rattype__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__e__rabusage_report_list__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__e__rabusage_report__item_ies__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__e__rabusage_report__item__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_secondary_5frat_5fdata_5fusage_5freport_2eproto__INCLUDED */