1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: rrctransfer.proto */
4 #ifndef PROTOBUF_C_rrctransfer_2eproto__INCLUDED
5 #define PROTOBUF_C_rrctransfer_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 "rrc_general_message_types.pb-c.h"
20 typedef struct _Uenibstreamprotobuf__UENRMeasurementExtIEs Uenibstreamprotobuf__UENRMeasurementExtIEs;
21 typedef struct _Uenibstreamprotobuf__UENRMeasurement Uenibstreamprotobuf__UENRMeasurement;
22 typedef struct _Uenibstreamprotobuf__SplitSRBExtIEs Uenibstreamprotobuf__SplitSRBExtIEs;
23 typedef struct _Uenibstreamprotobuf__DeliveryStatusExtIEs Uenibstreamprotobuf__DeliveryStatusExtIEs;
24 typedef struct _Uenibstreamprotobuf__DeliveryStatus Uenibstreamprotobuf__DeliveryStatus;
25 typedef struct _Uenibstreamprotobuf__SplitSRB Uenibstreamprotobuf__SplitSRB;
26 typedef struct _Uenibstreamprotobuf__RRCTransferIEs Uenibstreamprotobuf__RRCTransferIEs;
27 typedef struct _Uenibstreamprotobuf__RRCTransfer Uenibstreamprotobuf__RRCTransfer;
32 typedef enum _Uenibstreamprotobuf__SplitSRB__SRBType {
33 UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__protobuf_unspecified = 0,
34 UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__srb1 = 1,
35 UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__srb2 = 2
36 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE)
37 } Uenibstreamprotobuf__SplitSRB__SRBType;
39 /* --- messages --- */
41 struct _Uenibstreamprotobuf__UENRMeasurementExtIEs
43 ProtobufCMessage base;
45 #define UENIBSTREAMPROTOBUF__UENRMEASUREMENT__EXT_IES__INIT \
46 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__uenrmeasurement__ext_ies__descriptor) \
50 struct _Uenibstreamprotobuf__UENRMeasurement
52 ProtobufCMessage base;
53 Uenibstreamprotobuf__RRCContainer *uenrmeasurements;
54 size_t n_ie_extensions;
55 Uenibstreamprotobuf__UENRMeasurementExtIEs **ie_extensions;
57 #define UENIBSTREAMPROTOBUF__UENRMEASUREMENT__INIT \
58 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__uenrmeasurement__descriptor) \
62 struct _Uenibstreamprotobuf__SplitSRBExtIEs
64 ProtobufCMessage base;
66 #define UENIBSTREAMPROTOBUF__SPLIT_SRB__EXT_IES__INIT \
67 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__split_srb__ext_ies__descriptor) \
71 struct _Uenibstreamprotobuf__DeliveryStatusExtIEs
73 ProtobufCMessage base;
75 #define UENIBSTREAMPROTOBUF__DELIVERY_STATUS__EXT_IES__INIT \
76 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__delivery_status__ext_ies__descriptor) \
80 struct _Uenibstreamprotobuf__DeliveryStatus
82 ProtobufCMessage base;
83 uint32_t highestsuccessdeliveredpdcpsn;
84 size_t n_ie_extensions;
85 Uenibstreamprotobuf__DeliveryStatusExtIEs **ie_extensions;
87 #define UENIBSTREAMPROTOBUF__DELIVERY_STATUS__INIT \
88 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__delivery_status__descriptor) \
92 struct _Uenibstreamprotobuf__SplitSRB
94 ProtobufCMessage base;
96 *UNNECESSARILY LONG - CANNOT COMPLETE 36.331 RRCContainer -
97 *ALSO SPLIT SRB IS NOT SUPPORTED IN NOKIA gNB. THIS WILL BE A HEAVILY
98 *UNNECESSARY EXERCISE TO DO PROTOBUF SPEC. FOR THE TIME BEING, IT IS
101 Uenibstreamprotobuf__RRCContainer *rrccontainer;
102 Uenibstreamprotobuf__SplitSRB__SRBType srbtype;
103 Uenibstreamprotobuf__DeliveryStatus *deliverystatus;
104 size_t n_ie_extensions;
105 Uenibstreamprotobuf__SplitSRBExtIEs **ie_extensions;
107 #define UENIBSTREAMPROTOBUF__SPLIT_SRB__INIT \
108 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__split_srb__descriptor) \
109 , NULL, UENIBSTREAMPROTOBUF__SPLIT_SRB__SRBTYPE__protobuf_unspecified, NULL, 0,NULL }
112 struct _Uenibstreamprotobuf__RRCTransferIEs
114 ProtobufCMessage base;
115 uint32_t id_menb_ue_x2ap_id;
116 uint32_t id_sgnb_ue_x2ap_id;
117 Uenibstreamprotobuf__SplitSRB *id_splitsrb;
118 Uenibstreamprotobuf__UENRMeasurement *id_uenrmeasurement;
119 Google__Protobuf__UInt32Value *id_menb_ue_x2ap_id_extension;
121 #define UENIBSTREAMPROTOBUF__RRCTRANSFER__IES__INIT \
122 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__rrctransfer__ies__descriptor) \
123 , 0, 0, NULL, NULL, NULL }
126 struct _Uenibstreamprotobuf__RRCTransfer
128 ProtobufCMessage base;
129 Uenibstreamprotobuf__RRCTransferIEs *rrctransfer_ies;
131 #define UENIBSTREAMPROTOBUF__RRCTRANSFER__INIT \
132 { PROTOBUF_C_MESSAGE_INIT (&uenibstreamprotobuf__rrctransfer__descriptor) \
136 /* Uenibstreamprotobuf__UENRMeasurementExtIEs methods */
137 void uenibstreamprotobuf__uenrmeasurement__ext_ies__init
138 (Uenibstreamprotobuf__UENRMeasurementExtIEs *message);
139 size_t uenibstreamprotobuf__uenrmeasurement__ext_ies__get_packed_size
140 (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message);
141 size_t uenibstreamprotobuf__uenrmeasurement__ext_ies__pack
142 (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message,
144 size_t uenibstreamprotobuf__uenrmeasurement__ext_ies__pack_to_buffer
145 (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message,
146 ProtobufCBuffer *buffer);
147 Uenibstreamprotobuf__UENRMeasurementExtIEs *
148 uenibstreamprotobuf__uenrmeasurement__ext_ies__unpack
149 (ProtobufCAllocator *allocator,
151 const uint8_t *data);
152 void uenibstreamprotobuf__uenrmeasurement__ext_ies__free_unpacked
153 (Uenibstreamprotobuf__UENRMeasurementExtIEs *message,
154 ProtobufCAllocator *allocator);
155 /* Uenibstreamprotobuf__UENRMeasurement methods */
156 void uenibstreamprotobuf__uenrmeasurement__init
157 (Uenibstreamprotobuf__UENRMeasurement *message);
158 size_t uenibstreamprotobuf__uenrmeasurement__get_packed_size
159 (const Uenibstreamprotobuf__UENRMeasurement *message);
160 size_t uenibstreamprotobuf__uenrmeasurement__pack
161 (const Uenibstreamprotobuf__UENRMeasurement *message,
163 size_t uenibstreamprotobuf__uenrmeasurement__pack_to_buffer
164 (const Uenibstreamprotobuf__UENRMeasurement *message,
165 ProtobufCBuffer *buffer);
166 Uenibstreamprotobuf__UENRMeasurement *
167 uenibstreamprotobuf__uenrmeasurement__unpack
168 (ProtobufCAllocator *allocator,
170 const uint8_t *data);
171 void uenibstreamprotobuf__uenrmeasurement__free_unpacked
172 (Uenibstreamprotobuf__UENRMeasurement *message,
173 ProtobufCAllocator *allocator);
174 /* Uenibstreamprotobuf__SplitSRBExtIEs methods */
175 void uenibstreamprotobuf__split_srb__ext_ies__init
176 (Uenibstreamprotobuf__SplitSRBExtIEs *message);
177 size_t uenibstreamprotobuf__split_srb__ext_ies__get_packed_size
178 (const Uenibstreamprotobuf__SplitSRBExtIEs *message);
179 size_t uenibstreamprotobuf__split_srb__ext_ies__pack
180 (const Uenibstreamprotobuf__SplitSRBExtIEs *message,
182 size_t uenibstreamprotobuf__split_srb__ext_ies__pack_to_buffer
183 (const Uenibstreamprotobuf__SplitSRBExtIEs *message,
184 ProtobufCBuffer *buffer);
185 Uenibstreamprotobuf__SplitSRBExtIEs *
186 uenibstreamprotobuf__split_srb__ext_ies__unpack
187 (ProtobufCAllocator *allocator,
189 const uint8_t *data);
190 void uenibstreamprotobuf__split_srb__ext_ies__free_unpacked
191 (Uenibstreamprotobuf__SplitSRBExtIEs *message,
192 ProtobufCAllocator *allocator);
193 /* Uenibstreamprotobuf__DeliveryStatusExtIEs methods */
194 void uenibstreamprotobuf__delivery_status__ext_ies__init
195 (Uenibstreamprotobuf__DeliveryStatusExtIEs *message);
196 size_t uenibstreamprotobuf__delivery_status__ext_ies__get_packed_size
197 (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message);
198 size_t uenibstreamprotobuf__delivery_status__ext_ies__pack
199 (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message,
201 size_t uenibstreamprotobuf__delivery_status__ext_ies__pack_to_buffer
202 (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message,
203 ProtobufCBuffer *buffer);
204 Uenibstreamprotobuf__DeliveryStatusExtIEs *
205 uenibstreamprotobuf__delivery_status__ext_ies__unpack
206 (ProtobufCAllocator *allocator,
208 const uint8_t *data);
209 void uenibstreamprotobuf__delivery_status__ext_ies__free_unpacked
210 (Uenibstreamprotobuf__DeliveryStatusExtIEs *message,
211 ProtobufCAllocator *allocator);
212 /* Uenibstreamprotobuf__DeliveryStatus methods */
213 void uenibstreamprotobuf__delivery_status__init
214 (Uenibstreamprotobuf__DeliveryStatus *message);
215 size_t uenibstreamprotobuf__delivery_status__get_packed_size
216 (const Uenibstreamprotobuf__DeliveryStatus *message);
217 size_t uenibstreamprotobuf__delivery_status__pack
218 (const Uenibstreamprotobuf__DeliveryStatus *message,
220 size_t uenibstreamprotobuf__delivery_status__pack_to_buffer
221 (const Uenibstreamprotobuf__DeliveryStatus *message,
222 ProtobufCBuffer *buffer);
223 Uenibstreamprotobuf__DeliveryStatus *
224 uenibstreamprotobuf__delivery_status__unpack
225 (ProtobufCAllocator *allocator,
227 const uint8_t *data);
228 void uenibstreamprotobuf__delivery_status__free_unpacked
229 (Uenibstreamprotobuf__DeliveryStatus *message,
230 ProtobufCAllocator *allocator);
231 /* Uenibstreamprotobuf__SplitSRB methods */
232 void uenibstreamprotobuf__split_srb__init
233 (Uenibstreamprotobuf__SplitSRB *message);
234 size_t uenibstreamprotobuf__split_srb__get_packed_size
235 (const Uenibstreamprotobuf__SplitSRB *message);
236 size_t uenibstreamprotobuf__split_srb__pack
237 (const Uenibstreamprotobuf__SplitSRB *message,
239 size_t uenibstreamprotobuf__split_srb__pack_to_buffer
240 (const Uenibstreamprotobuf__SplitSRB *message,
241 ProtobufCBuffer *buffer);
242 Uenibstreamprotobuf__SplitSRB *
243 uenibstreamprotobuf__split_srb__unpack
244 (ProtobufCAllocator *allocator,
246 const uint8_t *data);
247 void uenibstreamprotobuf__split_srb__free_unpacked
248 (Uenibstreamprotobuf__SplitSRB *message,
249 ProtobufCAllocator *allocator);
250 /* Uenibstreamprotobuf__RRCTransferIEs methods */
251 void uenibstreamprotobuf__rrctransfer__ies__init
252 (Uenibstreamprotobuf__RRCTransferIEs *message);
253 size_t uenibstreamprotobuf__rrctransfer__ies__get_packed_size
254 (const Uenibstreamprotobuf__RRCTransferIEs *message);
255 size_t uenibstreamprotobuf__rrctransfer__ies__pack
256 (const Uenibstreamprotobuf__RRCTransferIEs *message,
258 size_t uenibstreamprotobuf__rrctransfer__ies__pack_to_buffer
259 (const Uenibstreamprotobuf__RRCTransferIEs *message,
260 ProtobufCBuffer *buffer);
261 Uenibstreamprotobuf__RRCTransferIEs *
262 uenibstreamprotobuf__rrctransfer__ies__unpack
263 (ProtobufCAllocator *allocator,
265 const uint8_t *data);
266 void uenibstreamprotobuf__rrctransfer__ies__free_unpacked
267 (Uenibstreamprotobuf__RRCTransferIEs *message,
268 ProtobufCAllocator *allocator);
269 /* Uenibstreamprotobuf__RRCTransfer methods */
270 void uenibstreamprotobuf__rrctransfer__init
271 (Uenibstreamprotobuf__RRCTransfer *message);
272 size_t uenibstreamprotobuf__rrctransfer__get_packed_size
273 (const Uenibstreamprotobuf__RRCTransfer *message);
274 size_t uenibstreamprotobuf__rrctransfer__pack
275 (const Uenibstreamprotobuf__RRCTransfer *message,
277 size_t uenibstreamprotobuf__rrctransfer__pack_to_buffer
278 (const Uenibstreamprotobuf__RRCTransfer *message,
279 ProtobufCBuffer *buffer);
280 Uenibstreamprotobuf__RRCTransfer *
281 uenibstreamprotobuf__rrctransfer__unpack
282 (ProtobufCAllocator *allocator,
284 const uint8_t *data);
285 void uenibstreamprotobuf__rrctransfer__free_unpacked
286 (Uenibstreamprotobuf__RRCTransfer *message,
287 ProtobufCAllocator *allocator);
288 /* --- per-message closures --- */
290 typedef void (*Uenibstreamprotobuf__UENRMeasurementExtIEs_Closure)
291 (const Uenibstreamprotobuf__UENRMeasurementExtIEs *message,
293 typedef void (*Uenibstreamprotobuf__UENRMeasurement_Closure)
294 (const Uenibstreamprotobuf__UENRMeasurement *message,
296 typedef void (*Uenibstreamprotobuf__SplitSRBExtIEs_Closure)
297 (const Uenibstreamprotobuf__SplitSRBExtIEs *message,
299 typedef void (*Uenibstreamprotobuf__DeliveryStatusExtIEs_Closure)
300 (const Uenibstreamprotobuf__DeliveryStatusExtIEs *message,
302 typedef void (*Uenibstreamprotobuf__DeliveryStatus_Closure)
303 (const Uenibstreamprotobuf__DeliveryStatus *message,
305 typedef void (*Uenibstreamprotobuf__SplitSRB_Closure)
306 (const Uenibstreamprotobuf__SplitSRB *message,
308 typedef void (*Uenibstreamprotobuf__RRCTransferIEs_Closure)
309 (const Uenibstreamprotobuf__RRCTransferIEs *message,
311 typedef void (*Uenibstreamprotobuf__RRCTransfer_Closure)
312 (const Uenibstreamprotobuf__RRCTransfer *message,
315 /* --- services --- */
318 /* --- descriptors --- */
320 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__uenrmeasurement__ext_ies__descriptor;
321 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__uenrmeasurement__descriptor;
322 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__split_srb__ext_ies__descriptor;
323 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__delivery_status__ext_ies__descriptor;
324 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__delivery_status__descriptor;
325 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__split_srb__descriptor;
326 extern const ProtobufCEnumDescriptor uenibstreamprotobuf__split_srb__srbtype__descriptor;
327 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__rrctransfer__ies__descriptor;
328 extern const ProtobufCMessageDescriptor uenibstreamprotobuf__rrctransfer__descriptor;
330 PROTOBUF_C__END_DECLS
333 #endif /* PROTOBUF_C_rrctransfer_2eproto__INCLUDED */