1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: x2ap_streaming.proto */
4 #ifndef PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED
5 #define PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED
7 #include <protobuf-c/protobuf-c.h>
9 PROTOBUF_C__BEGIN_DECLS
11 #if PROTOBUF_C_VERSION_NUMBER < 1003000
12 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
13 #elif 1003002 < PROTOBUF_C_MIN_COMPILER_VERSION
14 # 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.
17 #include "google/protobuf/wrappers.pb-c.h"
18 #include "rrctransfer.pb-c.h"
19 #include "sgnb_addition_request.pb-c.h"
20 #include "sgnb_addition_request_acknowledge.pb-c.h"
21 #include "sgnb_addition_request_reject.pb-c.h"
22 #include "sgnb_modification_request.pb-c.h"
23 #include "sgnb_modification_request_acknowledge.pb-c.h"
24 #include "sgnb_modification_request_reject.pb-c.h"
25 #include "sgnb_modification_required.pb-c.h"
26 #include "sgnb_modification_confirm.pb-c.h"
27 #include "sgnb_modification_refuse.pb-c.h"
28 #include "sgnb_release_request.pb-c.h"
29 #include "sgnb_release_request_acknowledge.pb-c.h"
30 #include "sgnb_release_required.pb-c.h"
31 #include "sgnb_release_confirm.pb-c.h"
32 #include "sgnb_reconfiguration_complete.pb-c.h"
33 #include "sn_status_transfer.pb-c.h"
34 #include "ue_context_release.pb-c.h"
35 #include "secondary_rat_data_usage_report.pb-c.h"
37 typedef struct _Uenibstreamprotobuf__X2APStreaming Uenibstreamprotobuf__X2APStreaming;
38 typedef struct _Uenibstreamprotobuf__X2APStreamingHeader Uenibstreamprotobuf__X2APStreamingHeader;
44 /* --- messages --- */
47 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE__NOT_SET = 0,
48 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_RRC_TRANSFER = 2,
49 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST = 3,
50 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST_ACKNOWLEDGE = 4,
51 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBADDITION_REQUEST_REJECT = 5,
52 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST = 6,
53 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST_ACKNOWLEDGE = 7,
54 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUEST_REJECT = 8,
55 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REQUIRED = 9,
56 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_CONFIRM = 10,
57 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBMODIFICATION_REFUSE = 11,
58 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NBRECONFIGURATION_COMPLETE = 12,
59 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUEST = 13,
60 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUEST_ACKNOWLEDGE = 14,
61 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_REQUIRED = 15,
62 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SG_NB_RELEASE_CONFIRM = 16,
63 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SN_STATUS_TRANSFER = 17,
64 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_UE_CONTEXT_RELEASE = 18,
65 UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE_SECONDARY_RATDATA_USAGE_REPORT = 19
66 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE)
67 } Uenibstreamprotobuf__X2APStreaming__X2apMessageCase;
69 struct _Uenibstreamprotobuf__X2APStreaming
71 ProtobufCMessage base;
72 Uenibstreamprotobuf__X2APStreamingHeader *header;
73 Uenibstreamprotobuf__X2APStreaming__X2apMessageCase x2ap_message_case;
75 Uenibstreamprotobuf__RRCTransfer *rrctransfer;
76 Uenibstreamprotobuf__SgNBAdditionRequest *sgnbadditionrequest;
77 Uenibstreamprotobuf__SgNBAdditionRequestAcknowledge *sgnbadditionrequestacknowledge;
78 Uenibstreamprotobuf__SgNBAdditionRequestReject *sgnbadditionrequestreject;
79 Uenibstreamprotobuf__SgNBModificationRequest *sgnbmodificationrequest;
80 Uenibstreamprotobuf__SgNBModificationRequestAcknowledge *sgnbmodificationrequestacknowledge;
81 Uenibstreamprotobuf__SgNBModificationRequestReject *sgnbmodificationrequestreject;
82 Uenibstreamprotobuf__SgNBModificationRequired *sgnbmodificationrequired;
83 Uenibstreamprotobuf__SgNBModificationConfirm *sgnbmodificationconfirm;
84 Uenibstreamprotobuf__SgNBModificationRefuse *sgnbmodificationrefuse;
85 Uenibstreamprotobuf__SgNBReconfigurationComplete *sgnbreconfigurationcomplete;
86 Uenibstreamprotobuf__SgNBReleaseRequest *sgnbreleaserequest;
87 Uenibstreamprotobuf__SgNBReleaseRequestAcknowledge *sgnbreleaserequestacknowledge;
88 Uenibstreamprotobuf__SgNBReleaseRequired *sgnbreleaserequired;
89 Uenibstreamprotobuf__SgNBReleaseConfirm *sgnbreleaseconfirm;
90 Uenibstreamprotobuf__SNStatusTransfer *snstatustransfer;
91 Uenibstreamprotobuf__UEContextRelease *uecontextrelease;
92 Uenibstreamprotobuf__SecondaryRATDataUsageReport *secondaryratdatausagereport;
95 #define UENIBSTREAMPROTOBUF__X2_APSTREAMING__INIT \
96 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__x2_apstreaming__descriptor) \
97 , NULL, UENIBSTREAMPROTOBUF__X2_APSTREAMING__X2AP_MESSAGE__NOT_SET, {0} }
100 struct _Uenibstreamprotobuf__X2APStreamingHeader
102 ProtobufCMessage base;
104 *The revision number of protobuf files of UENIB Streaming API
106 char *protobuf_revision;
108 *Identifier of gNodeB
110 Google__Protobuf__StringValue *gnbid;
112 *The timestamp of RIC INDICATION header, which contains 64-bit
113 *timestamp value as defined in section 6 of IETF RFC 5905.
117 #define UENIBSTREAMPROTOBUF__X2_APSTREAMING_HEADER__INIT \
118 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__x2_apstreaming_header__descriptor) \
119 , (char *)protobuf_c_empty_string, NULL, 0 }
122 /* Uenibstreamprotobuf__X2APStreaming methods */
123 void uenibstreamprotobuf__x2_apstreaming__init
124 (Uenibstreamprotobuf__X2APStreaming *message);
125 size_t uenibstreamprotobuf__x2_apstreaming__get_packed_size
126 (const Uenibstreamprotobuf__X2APStreaming *message);
127 size_t uenibstreamprotobuf__x2_apstreaming__pack
128 (const Uenibstreamprotobuf__X2APStreaming *message,
130 size_t uenibstreamprotobuf__x2_apstreaming__pack_to_buffer
131 (const Uenibstreamprotobuf__X2APStreaming *message,
132 ProtobufCBuffer *buffer);
133 Uenibstreamprotobuf__X2APStreaming *
134 uenibstreamprotobuf__x2_apstreaming__unpack
135 (ProtobufCAllocator *allocator,
137 const uint8_t *data);
138 void uenibstreamprotobuf__x2_apstreaming__free_unpacked
139 (Uenibstreamprotobuf__X2APStreaming *message,
140 ProtobufCAllocator *allocator);
141 /* Uenibstreamprotobuf__X2APStreamingHeader methods */
142 void uenibstreamprotobuf__x2_apstreaming_header__init
143 (Uenibstreamprotobuf__X2APStreamingHeader *message);
144 size_t uenibstreamprotobuf__x2_apstreaming_header__get_packed_size
145 (const Uenibstreamprotobuf__X2APStreamingHeader *message);
146 size_t uenibstreamprotobuf__x2_apstreaming_header__pack
147 (const Uenibstreamprotobuf__X2APStreamingHeader *message,
149 size_t uenibstreamprotobuf__x2_apstreaming_header__pack_to_buffer
150 (const Uenibstreamprotobuf__X2APStreamingHeader *message,
151 ProtobufCBuffer *buffer);
152 Uenibstreamprotobuf__X2APStreamingHeader *
153 uenibstreamprotobuf__x2_apstreaming_header__unpack
154 (ProtobufCAllocator *allocator,
156 const uint8_t *data);
157 void uenibstreamprotobuf__x2_apstreaming_header__free_unpacked
158 (Uenibstreamprotobuf__X2APStreamingHeader *message,
159 ProtobufCAllocator *allocator);
160 /* --- per-message closures --- */
162 typedef void (*Uenibstreamprotobuf__X2APStreaming_Closure)
163 (const Uenibstreamprotobuf__X2APStreaming *message,
165 typedef void (*Uenibstreamprotobuf__X2APStreamingHeader_Closure)
166 (const Uenibstreamprotobuf__X2APStreamingHeader *message,
169 /* --- services --- */
172 /* --- descriptors --- */
174 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming__descriptor;
175 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__x2_apstreaming_header__descriptor;
177 PROTOBUF_C__END_DECLS
180 #endif /* PROTOBUF_C_x2ap_5fstreaming_2eproto__INCLUDED */