/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: x2ap_streaming.proto */ #ifndef PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED #define PROTOBUF_C_x2ap_5fstreaming_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 "rrctransfer.pb-c.h" #include "sgnb_addition_request.pb-c.h" #include "sgnb_addition_request_acknowledge.pb-c.h" #include "sgnb_addition_request_reject.pb-c.h" #include "sgnb_modification_request.pb-c.h" #include "sgnb_modification_request_acknowledge.pb-c.h" #include "sgnb_modification_request_reject.pb-c.h" #include "sgnb_modification_required.pb-c.h" #include "sgnb_modification_confirm.pb-c.h" #include "sgnb_modification_refuse.pb-c.h" #include "sgnb_release_request.pb-c.h" #include "sgnb_release_request_acknowledge.pb-c.h" #include "sgnb_release_required.pb-c.h" #include "sgnb_release_confirm.pb-c.h" #include "sgnb_reconfiguration_complete.pb-c.h" #include "sn_status_transfer.pb-c.h" #include "ue_context_release.pb-c.h" #include "secondary_rat_data_usage_report.pb-c.h" typedef struct _Uenibstreamprotobuf__X2APStreaming Uenibstreamprotobuf__X2APStreaming; typedef struct _Uenibstreamprotobuf__X2APStreamingHeader Uenibstreamprotobuf__X2APStreamingHeader; /* --- enums --- */ /* --- messages --- */ typedef enum { UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE__NOT_SET = 0, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_RRC_TRANSFER = 2, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST = 3, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST_ACKNOWLEDGE = 4, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST_REJECT = 5, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST = 6, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST_ACKNOWLEDGE = 7, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST_REJECT = 8, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUIRED = 9, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_CONFIRM = 10, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REFUSE = 11, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBRECONFIGURATION_COMPLETE = 12, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUEST = 13, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUEST_ACKNOWLEDGE = 14, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUIRED = 15, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_CONFIRM = 16, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SN_STATUS_TRANSFER = 17, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_UE_CONTEXT_RELEASE = 18, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SECONDARY_RATDATA_USAGE_REPORT = 19 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE) } Uenibstreamprotobuf__X2APStreaming__X2apMessageCase; struct _Uenibstreamprotobuf__X2APStreaming { ProtobufCMessage base; Uenibstreamprotobuf__X2APStreamingHeader *header; Uenibstreamprotobuf__X2APStreaming__X2apMessageCase x2ap_message_case; union { Uenibstreamprotobuf__RRCTransfer *rrctransfer; Uenibstreamprotobuf__SgNBAdditionRequest *sgnbadditionrequest; Uenibstreamprotobuf__SgNBAdditionRequestAcknowledge *sgnbadditionrequestacknowledge; Uenibstreamprotobuf__SgNBAdditionRequestReject *sgnbadditionrequestreject; Uenibstreamprotobuf__SgNBModificationRequest *sgnbmodificationrequest; Uenibstreamprotobuf__SgNBModificationRequestAcknowledge *sgnbmodificationrequestacknowledge; Uenibstreamprotobuf__SgNBModificationRequestReject *sgnbmodificationrequestreject; Uenibstreamprotobuf__SgNBModificationRequired *sgnbmodificationrequired; Uenibstreamprotobuf__SgNBModificationConfirm *sgnbmodificationconfirm; Uenibstreamprotobuf__SgNBModificationRefuse *sgnbmodificationrefuse; Uenibstreamprotobuf__SgNBReconfigurationComplete *sgnbreconfigurationcomplete; Uenibstreamprotobuf__SgNBReleaseRequest *sgnbreleaserequest; Uenibstreamprotobuf__SgNBReleaseRequestAcknowledge *sgnbreleaserequestacknowledge; Uenibstreamprotobuf__SgNBReleaseRequired *sgnbreleaserequired; Uenibstreamprotobuf__SgNBReleaseConfirm *sgnbreleaseconfirm; Uenibstreamprotobuf__SNStatusTransfer *snstatustransfer; Uenibstreamprotobuf__UEContextRelease *uecontextrelease; Uenibstreamprotobuf__SecondaryRATDataUsageReport *secondaryratdatausagereport; }; }; #define UENIBSTREAMPROTOBUF__X2_APSTREAMING__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__x2_apstreaming__descriptor) \ , NULL, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE__NOT_SET, {0} } struct _Uenibstreamprotobuf__X2APStreamingHeader { ProtobufCMessage base; /* *The revision number of protobuf files of UENIB Streaming API */ char *protobuf_revision; /* *Identifier of gNodeB */ Google__Protobuf__StringValue *gnbid; /* *The timestamp of RIC INDICATION header, which contains 64-bit *timestamp value as defined in section 6 of IETF RFC 5905. */ uint64_t timestamp; }; #define UENIBSTREAMPROTOBUF__X2_APSTREAMING_HEADER__INIT \ { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__x2_apstreaming_header__descriptor) \ , (char *)protobuf_c_empty_string, NULL, 0 } /* Uenibstreamprotobuf__X2APStreaming methods */ void uenibstreamprotobuf__x2_apstreaming__init (Uenibstreamprotobuf__X2APStreaming *message); size_t uenibstreamprotobuf__x2_apstreaming__get_packed_size (const Uenibstreamprotobuf__X2APStreaming *message); size_t uenibstreamprotobuf__x2_apstreaming__pack (const Uenibstreamprotobuf__X2APStreaming *message, uint8_t *out); size_t uenibstreamprotobuf__x2_apstreaming__pack_to_buffer (const Uenibstreamprotobuf__X2APStreaming *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__X2APStreaming * uenibstreamprotobuf__x2_apstreaming__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__x2_apstreaming__free_unpacked (Uenibstreamprotobuf__X2APStreaming *message, ProtobufCAllocator *allocator); /* Uenibstreamprotobuf__X2APStreamingHeader methods */ void uenibstreamprotobuf__x2_apstreaming_header__init (Uenibstreamprotobuf__X2APStreamingHeader *message); size_t uenibstreamprotobuf__x2_apstreaming_header__get_packed_size (const Uenibstreamprotobuf__X2APStreamingHeader *message); size_t uenibstreamprotobuf__x2_apstreaming_header__pack (const Uenibstreamprotobuf__X2APStreamingHeader *message, uint8_t *out); size_t uenibstreamprotobuf__x2_apstreaming_header__pack_to_buffer (const Uenibstreamprotobuf__X2APStreamingHeader *message, ProtobufCBuffer *buffer); Uenibstreamprotobuf__X2APStreamingHeader * uenibstreamprotobuf__x2_apstreaming_header__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data); void uenibstreamprotobuf__x2_apstreaming_header__free_unpacked (Uenibstreamprotobuf__X2APStreamingHeader *message, ProtobufCAllocator *allocator); /* --- per-message closures --- */ typedef void (*Uenibstreamprotobuf__X2APStreaming_Closure) (const Uenibstreamprotobuf__X2APStreaming *message, void *closure_data); typedef void (*Uenibstreamprotobuf__X2APStreamingHeader_Closure) (const Uenibstreamprotobuf__X2APStreamingHeader *message, void *closure_data); /* --- services --- */ /* --- descriptors --- */ extern const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming__descriptor; extern const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming_header__descriptor; PROTOBUF_C__END_DECLS #endif /* PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED */