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 _StreamingProtobufs__UENRMeasurementExtIEs StreamingProtobufs__UENRMeasurementExtIEs;
21 typedef struct _StreamingProtobufs__UENRMeasurement StreamingProtobufs__UENRMeasurement;
22 typedef struct _StreamingProtobufs__SplitSRBExtIEs StreamingProtobufs__SplitSRBExtIEs;
23 typedef struct _StreamingProtobufs__DeliveryStatusExtIEs StreamingProtobufs__DeliveryStatusExtIEs;
24 typedef struct _StreamingProtobufs__DeliveryStatus StreamingProtobufs__DeliveryStatus;
25 typedef struct _StreamingProtobufs__SplitSRB StreamingProtobufs__SplitSRB;
26 typedef struct _StreamingProtobufs__RRCTransferIEs StreamingProtobufs__RRCTransferIEs;
27 typedef struct _StreamingProtobufs__RRCTransfer StreamingProtobufs__RRCTransfer;
32 typedef enum _StreamingProtobufs__SplitSRB__SRBType {
33 STREAMING_PROTOBUFS__SPLIT_SRB__SRBTYPE__protobuf_unspecified = 0,
34 STREAMING_PROTOBUFS__SPLIT_SRB__SRBTYPE__srb1 = 1,
35 STREAMING_PROTOBUFS__SPLIT_SRB__SRBTYPE__srb2 = 2
36 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__SPLIT_SRB__SRBTYPE)
37 } StreamingProtobufs__SplitSRB__SRBType;
39 /* --- messages --- */
41 struct _StreamingProtobufs__UENRMeasurementExtIEs
43 ProtobufCMessage base;
45 #define STREAMING_PROTOBUFS__UENRMEASUREMENT__EXT_IES__INIT \
46 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__uenrmeasurement__ext_ies__descriptor) \
50 struct _StreamingProtobufs__UENRMeasurement
52 ProtobufCMessage base;
53 StreamingProtobufs__RRCContainer *uenrmeasurements;
54 size_t n_ie_extensions;
55 StreamingProtobufs__UENRMeasurementExtIEs **ie_extensions;
57 #define STREAMING_PROTOBUFS__UENRMEASUREMENT__INIT \
58 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__uenrmeasurement__descriptor) \
62 struct _StreamingProtobufs__SplitSRBExtIEs
64 ProtobufCMessage base;
66 #define STREAMING_PROTOBUFS__SPLIT_SRB__EXT_IES__INIT \
67 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__split_srb__ext_ies__descriptor) \
71 struct _StreamingProtobufs__DeliveryStatusExtIEs
73 ProtobufCMessage base;
75 #define STREAMING_PROTOBUFS__DELIVERY_STATUS__EXT_IES__INIT \
76 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__delivery_status__ext_ies__descriptor) \
80 struct _StreamingProtobufs__DeliveryStatus
82 ProtobufCMessage base;
83 uint32_t highestsuccessdeliveredpdcpsn;
84 size_t n_ie_extensions;
85 StreamingProtobufs__DeliveryStatusExtIEs **ie_extensions;
87 #define STREAMING_PROTOBUFS__DELIVERY_STATUS__INIT \
88 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__delivery_status__descriptor) \
92 struct _StreamingProtobufs__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 StreamingProtobufs__RRCContainer *rrccontainer;
102 StreamingProtobufs__SplitSRB__SRBType srbtype;
103 StreamingProtobufs__DeliveryStatus *deliverystatus;
104 size_t n_ie_extensions;
105 StreamingProtobufs__SplitSRBExtIEs **ie_extensions;
107 #define STREAMING_PROTOBUFS__SPLIT_SRB__INIT \
108 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__split_srb__descriptor) \
109 , NULL, STREAMING_PROTOBUFS__SPLIT_SRB__SRBTYPE__protobuf_unspecified, NULL, 0,NULL }
112 struct _StreamingProtobufs__RRCTransferIEs
114 ProtobufCMessage base;
115 uint32_t id_menb_ue_x2ap_id;
116 uint32_t id_sgnb_ue_x2ap_id;
117 StreamingProtobufs__SplitSRB *id_splitsrb;
118 StreamingProtobufs__UENRMeasurement *id_uenrmeasurement;
119 Google__Protobuf__UInt32Value *id_menb_ue_x2ap_id_extension;
121 #define STREAMING_PROTOBUFS__RRCTRANSFER__IES__INIT \
122 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__rrctransfer__ies__descriptor) \
123 , 0, 0, NULL, NULL, NULL }
126 struct _StreamingProtobufs__RRCTransfer
128 ProtobufCMessage base;
129 StreamingProtobufs__RRCTransferIEs *rrctransfer_ies;
131 #define STREAMING_PROTOBUFS__RRCTRANSFER__INIT \
132 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__rrctransfer__descriptor) \
136 /* StreamingProtobufs__UENRMeasurementExtIEs methods */
137 void streaming_protobufs__uenrmeasurement__ext_ies__init
138 (StreamingProtobufs__UENRMeasurementExtIEs *message);
139 size_t streaming_protobufs__uenrmeasurement__ext_ies__get_packed_size
140 (const StreamingProtobufs__UENRMeasurementExtIEs *message);
141 size_t streaming_protobufs__uenrmeasurement__ext_ies__pack
142 (const StreamingProtobufs__UENRMeasurementExtIEs *message,
144 size_t streaming_protobufs__uenrmeasurement__ext_ies__pack_to_buffer
145 (const StreamingProtobufs__UENRMeasurementExtIEs *message,
146 ProtobufCBuffer *buffer);
147 StreamingProtobufs__UENRMeasurementExtIEs *
148 streaming_protobufs__uenrmeasurement__ext_ies__unpack
149 (ProtobufCAllocator *allocator,
151 const uint8_t *data);
152 void streaming_protobufs__uenrmeasurement__ext_ies__free_unpacked
153 (StreamingProtobufs__UENRMeasurementExtIEs *message,
154 ProtobufCAllocator *allocator);
155 /* StreamingProtobufs__UENRMeasurement methods */
156 void streaming_protobufs__uenrmeasurement__init
157 (StreamingProtobufs__UENRMeasurement *message);
158 size_t streaming_protobufs__uenrmeasurement__get_packed_size
159 (const StreamingProtobufs__UENRMeasurement *message);
160 size_t streaming_protobufs__uenrmeasurement__pack
161 (const StreamingProtobufs__UENRMeasurement *message,
163 size_t streaming_protobufs__uenrmeasurement__pack_to_buffer
164 (const StreamingProtobufs__UENRMeasurement *message,
165 ProtobufCBuffer *buffer);
166 StreamingProtobufs__UENRMeasurement *
167 streaming_protobufs__uenrmeasurement__unpack
168 (ProtobufCAllocator *allocator,
170 const uint8_t *data);
171 void streaming_protobufs__uenrmeasurement__free_unpacked
172 (StreamingProtobufs__UENRMeasurement *message,
173 ProtobufCAllocator *allocator);
174 /* StreamingProtobufs__SplitSRBExtIEs methods */
175 void streaming_protobufs__split_srb__ext_ies__init
176 (StreamingProtobufs__SplitSRBExtIEs *message);
177 size_t streaming_protobufs__split_srb__ext_ies__get_packed_size
178 (const StreamingProtobufs__SplitSRBExtIEs *message);
179 size_t streaming_protobufs__split_srb__ext_ies__pack
180 (const StreamingProtobufs__SplitSRBExtIEs *message,
182 size_t streaming_protobufs__split_srb__ext_ies__pack_to_buffer
183 (const StreamingProtobufs__SplitSRBExtIEs *message,
184 ProtobufCBuffer *buffer);
185 StreamingProtobufs__SplitSRBExtIEs *
186 streaming_protobufs__split_srb__ext_ies__unpack
187 (ProtobufCAllocator *allocator,
189 const uint8_t *data);
190 void streaming_protobufs__split_srb__ext_ies__free_unpacked
191 (StreamingProtobufs__SplitSRBExtIEs *message,
192 ProtobufCAllocator *allocator);
193 /* StreamingProtobufs__DeliveryStatusExtIEs methods */
194 void streaming_protobufs__delivery_status__ext_ies__init
195 (StreamingProtobufs__DeliveryStatusExtIEs *message);
196 size_t streaming_protobufs__delivery_status__ext_ies__get_packed_size
197 (const StreamingProtobufs__DeliveryStatusExtIEs *message);
198 size_t streaming_protobufs__delivery_status__ext_ies__pack
199 (const StreamingProtobufs__DeliveryStatusExtIEs *message,
201 size_t streaming_protobufs__delivery_status__ext_ies__pack_to_buffer
202 (const StreamingProtobufs__DeliveryStatusExtIEs *message,
203 ProtobufCBuffer *buffer);
204 StreamingProtobufs__DeliveryStatusExtIEs *
205 streaming_protobufs__delivery_status__ext_ies__unpack
206 (ProtobufCAllocator *allocator,
208 const uint8_t *data);
209 void streaming_protobufs__delivery_status__ext_ies__free_unpacked
210 (StreamingProtobufs__DeliveryStatusExtIEs *message,
211 ProtobufCAllocator *allocator);
212 /* StreamingProtobufs__DeliveryStatus methods */
213 void streaming_protobufs__delivery_status__init
214 (StreamingProtobufs__DeliveryStatus *message);
215 size_t streaming_protobufs__delivery_status__get_packed_size
216 (const StreamingProtobufs__DeliveryStatus *message);
217 size_t streaming_protobufs__delivery_status__pack
218 (const StreamingProtobufs__DeliveryStatus *message,
220 size_t streaming_protobufs__delivery_status__pack_to_buffer
221 (const StreamingProtobufs__DeliveryStatus *message,
222 ProtobufCBuffer *buffer);
223 StreamingProtobufs__DeliveryStatus *
224 streaming_protobufs__delivery_status__unpack
225 (ProtobufCAllocator *allocator,
227 const uint8_t *data);
228 void streaming_protobufs__delivery_status__free_unpacked
229 (StreamingProtobufs__DeliveryStatus *message,
230 ProtobufCAllocator *allocator);
231 /* StreamingProtobufs__SplitSRB methods */
232 void streaming_protobufs__split_srb__init
233 (StreamingProtobufs__SplitSRB *message);
234 size_t streaming_protobufs__split_srb__get_packed_size
235 (const StreamingProtobufs__SplitSRB *message);
236 size_t streaming_protobufs__split_srb__pack
237 (const StreamingProtobufs__SplitSRB *message,
239 size_t streaming_protobufs__split_srb__pack_to_buffer
240 (const StreamingProtobufs__SplitSRB *message,
241 ProtobufCBuffer *buffer);
242 StreamingProtobufs__SplitSRB *
243 streaming_protobufs__split_srb__unpack
244 (ProtobufCAllocator *allocator,
246 const uint8_t *data);
247 void streaming_protobufs__split_srb__free_unpacked
248 (StreamingProtobufs__SplitSRB *message,
249 ProtobufCAllocator *allocator);
250 /* StreamingProtobufs__RRCTransferIEs methods */
251 void streaming_protobufs__rrctransfer__ies__init
252 (StreamingProtobufs__RRCTransferIEs *message);
253 size_t streaming_protobufs__rrctransfer__ies__get_packed_size
254 (const StreamingProtobufs__RRCTransferIEs *message);
255 size_t streaming_protobufs__rrctransfer__ies__pack
256 (const StreamingProtobufs__RRCTransferIEs *message,
258 size_t streaming_protobufs__rrctransfer__ies__pack_to_buffer
259 (const StreamingProtobufs__RRCTransferIEs *message,
260 ProtobufCBuffer *buffer);
261 StreamingProtobufs__RRCTransferIEs *
262 streaming_protobufs__rrctransfer__ies__unpack
263 (ProtobufCAllocator *allocator,
265 const uint8_t *data);
266 void streaming_protobufs__rrctransfer__ies__free_unpacked
267 (StreamingProtobufs__RRCTransferIEs *message,
268 ProtobufCAllocator *allocator);
269 /* StreamingProtobufs__RRCTransfer methods */
270 void streaming_protobufs__rrctransfer__init
271 (StreamingProtobufs__RRCTransfer *message);
272 size_t streaming_protobufs__rrctransfer__get_packed_size
273 (const StreamingProtobufs__RRCTransfer *message);
274 size_t streaming_protobufs__rrctransfer__pack
275 (const StreamingProtobufs__RRCTransfer *message,
277 size_t streaming_protobufs__rrctransfer__pack_to_buffer
278 (const StreamingProtobufs__RRCTransfer *message,
279 ProtobufCBuffer *buffer);
280 StreamingProtobufs__RRCTransfer *
281 streaming_protobufs__rrctransfer__unpack
282 (ProtobufCAllocator *allocator,
284 const uint8_t *data);
285 void streaming_protobufs__rrctransfer__free_unpacked
286 (StreamingProtobufs__RRCTransfer *message,
287 ProtobufCAllocator *allocator);
288 /* --- per-message closures --- */
290 typedef void (*StreamingProtobufs__UENRMeasurementExtIEs_Closure)
291 (const StreamingProtobufs__UENRMeasurementExtIEs *message,
293 typedef void (*StreamingProtobufs__UENRMeasurement_Closure)
294 (const StreamingProtobufs__UENRMeasurement *message,
296 typedef void (*StreamingProtobufs__SplitSRBExtIEs_Closure)
297 (const StreamingProtobufs__SplitSRBExtIEs *message,
299 typedef void (*StreamingProtobufs__DeliveryStatusExtIEs_Closure)
300 (const StreamingProtobufs__DeliveryStatusExtIEs *message,
302 typedef void (*StreamingProtobufs__DeliveryStatus_Closure)
303 (const StreamingProtobufs__DeliveryStatus *message,
305 typedef void (*StreamingProtobufs__SplitSRB_Closure)
306 (const StreamingProtobufs__SplitSRB *message,
308 typedef void (*StreamingProtobufs__RRCTransferIEs_Closure)
309 (const StreamingProtobufs__RRCTransferIEs *message,
311 typedef void (*StreamingProtobufs__RRCTransfer_Closure)
312 (const StreamingProtobufs__RRCTransfer *message,
315 /* --- services --- */
318 /* --- descriptors --- */
320 extern const ProtobufCMessageDescriptor streaming_protobufs__uenrmeasurement__ext_ies__descriptor;
321 extern const ProtobufCMessageDescriptor streaming_protobufs__uenrmeasurement__descriptor;
322 extern const ProtobufCMessageDescriptor streaming_protobufs__split_srb__ext_ies__descriptor;
323 extern const ProtobufCMessageDescriptor streaming_protobufs__delivery_status__ext_ies__descriptor;
324 extern const ProtobufCMessageDescriptor streaming_protobufs__delivery_status__descriptor;
325 extern const ProtobufCMessageDescriptor streaming_protobufs__split_srb__descriptor;
326 extern const ProtobufCEnumDescriptor streaming_protobufs__split_srb__srbtype__descriptor;
327 extern const ProtobufCMessageDescriptor streaming_protobufs__rrctransfer__ies__descriptor;
328 extern const ProtobufCMessageDescriptor streaming_protobufs__rrctransfer__descriptor;
330 PROTOBUF_C__END_DECLS
333 #endif /* PROTOBUF_C_rrctransfer_2eproto__INCLUDED */