1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: rrc_system_information.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "rrc_system_information.pb-c.h"
10 void streaming_protobufs__system_information__init
11 (StreamingProtobufs__SystemInformation *message)
13 static const StreamingProtobufs__SystemInformation init_value = STREAMING_PROTOBUFS__SYSTEM_INFORMATION__INIT;
14 *message = init_value;
16 size_t streaming_protobufs__system_information__get_packed_size
17 (const StreamingProtobufs__SystemInformation *message)
19 assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
22 size_t streaming_protobufs__system_information__pack
23 (const StreamingProtobufs__SystemInformation *message,
26 assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t streaming_protobufs__system_information__pack_to_buffer
30 (const StreamingProtobufs__SystemInformation *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
36 StreamingProtobufs__SystemInformation *
37 streaming_protobufs__system_information__unpack
38 (ProtobufCAllocator *allocator,
42 return (StreamingProtobufs__SystemInformation *)
43 protobuf_c_message_unpack (&streaming_protobufs__system_information__descriptor,
44 allocator, len, data);
46 void streaming_protobufs__system_information__free_unpacked
47 (StreamingProtobufs__SystemInformation *message,
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &streaming_protobufs__system_information__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
55 void streaming_protobufs__system_information__ies__init
56 (StreamingProtobufs__SystemInformationIEs *message)
58 static const StreamingProtobufs__SystemInformationIEs init_value = STREAMING_PROTOBUFS__SYSTEM_INFORMATION__IES__INIT;
59 *message = init_value;
61 size_t streaming_protobufs__system_information__ies__get_packed_size
62 (const StreamingProtobufs__SystemInformationIEs *message)
64 assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
67 size_t streaming_protobufs__system_information__ies__pack
68 (const StreamingProtobufs__SystemInformationIEs *message,
71 assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t streaming_protobufs__system_information__ies__pack_to_buffer
75 (const StreamingProtobufs__SystemInformationIEs *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
81 StreamingProtobufs__SystemInformationIEs *
82 streaming_protobufs__system_information__ies__unpack
83 (ProtobufCAllocator *allocator,
87 return (StreamingProtobufs__SystemInformationIEs *)
88 protobuf_c_message_unpack (&streaming_protobufs__system_information__ies__descriptor,
89 allocator, len, data);
91 void streaming_protobufs__system_information__ies__free_unpacked
92 (StreamingProtobufs__SystemInformationIEs *message,
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &streaming_protobufs__system_information__ies__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 void streaming_protobufs__sib__type_and_info__init
101 (StreamingProtobufs__SIBTypeAndInfo *message)
103 static const StreamingProtobufs__SIBTypeAndInfo init_value = STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__INIT;
104 *message = init_value;
106 size_t streaming_protobufs__sib__type_and_info__get_packed_size
107 (const StreamingProtobufs__SIBTypeAndInfo *message)
109 assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
110 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
112 size_t streaming_protobufs__sib__type_and_info__pack
113 (const StreamingProtobufs__SIBTypeAndInfo *message,
116 assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
117 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
119 size_t streaming_protobufs__sib__type_and_info__pack_to_buffer
120 (const StreamingProtobufs__SIBTypeAndInfo *message,
121 ProtobufCBuffer *buffer)
123 assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
124 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
126 StreamingProtobufs__SIBTypeAndInfo *
127 streaming_protobufs__sib__type_and_info__unpack
128 (ProtobufCAllocator *allocator,
132 return (StreamingProtobufs__SIBTypeAndInfo *)
133 protobuf_c_message_unpack (&streaming_protobufs__sib__type_and_info__descriptor,
134 allocator, len, data);
136 void streaming_protobufs__sib__type_and_info__free_unpacked
137 (StreamingProtobufs__SIBTypeAndInfo *message,
138 ProtobufCAllocator *allocator)
142 assert(message->base.descriptor == &streaming_protobufs__sib__type_and_info__descriptor);
143 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
145 static const ProtobufCFieldDescriptor streaming_protobufs__system_information__field_descriptors[1] =
148 "systemInformation_r15",
150 PROTOBUF_C_LABEL_NONE,
151 PROTOBUF_C_TYPE_MESSAGE,
152 offsetof(StreamingProtobufs__SystemInformation, critical_extensions_case),
153 offsetof(StreamingProtobufs__SystemInformation, systeminformation_r15),
154 &streaming_protobufs__system_information__ies__descriptor,
156 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
157 0,NULL,NULL /* reserved1,reserved2, etc */
160 static const unsigned streaming_protobufs__system_information__field_indices_by_name[] = {
161 0, /* field[0] = systemInformation_r15 */
163 static const ProtobufCIntRange streaming_protobufs__system_information__number_ranges[1 + 1] =
168 const ProtobufCMessageDescriptor streaming_protobufs__system_information__descriptor =
170 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
171 "streaming_protobufs.SystemInformation",
173 "StreamingProtobufs__SystemInformation",
174 "streaming_protobufs",
175 sizeof(StreamingProtobufs__SystemInformation),
177 streaming_protobufs__system_information__field_descriptors,
178 streaming_protobufs__system_information__field_indices_by_name,
179 1, streaming_protobufs__system_information__number_ranges,
180 (ProtobufCMessageInit) streaming_protobufs__system_information__init,
181 NULL,NULL,NULL /* reserved[123] */
183 static const ProtobufCFieldDescriptor streaming_protobufs__system_information__ies__field_descriptors[2] =
188 PROTOBUF_C_LABEL_REPEATED,
189 PROTOBUF_C_TYPE_MESSAGE,
190 offsetof(StreamingProtobufs__SystemInformationIEs, n_sib_typeandinfo),
191 offsetof(StreamingProtobufs__SystemInformationIEs, sib_typeandinfo),
192 &streaming_protobufs__sib__type_and_info__descriptor,
195 0,NULL,NULL /* reserved1,reserved2, etc */
198 "lateNonCriticalExtension",
200 PROTOBUF_C_LABEL_NONE,
201 PROTOBUF_C_TYPE_MESSAGE,
202 0, /* quantifier_offset */
203 offsetof(StreamingProtobufs__SystemInformationIEs, latenoncriticalextension),
204 &google__protobuf__bytes_value__descriptor,
207 0,NULL,NULL /* reserved1,reserved2, etc */
210 static const unsigned streaming_protobufs__system_information__ies__field_indices_by_name[] = {
211 1, /* field[1] = lateNonCriticalExtension */
212 0, /* field[0] = sib_TypeAndInfo */
214 static const ProtobufCIntRange streaming_protobufs__system_information__ies__number_ranges[1 + 1] =
219 const ProtobufCMessageDescriptor streaming_protobufs__system_information__ies__descriptor =
221 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
222 "streaming_protobufs.SystemInformation_IEs",
223 "SystemInformationIEs",
224 "StreamingProtobufs__SystemInformationIEs",
225 "streaming_protobufs",
226 sizeof(StreamingProtobufs__SystemInformationIEs),
228 streaming_protobufs__system_information__ies__field_descriptors,
229 streaming_protobufs__system_information__ies__field_indices_by_name,
230 1, streaming_protobufs__system_information__ies__number_ranges,
231 (ProtobufCMessageInit) streaming_protobufs__system_information__ies__init,
232 NULL,NULL,NULL /* reserved[123] */
234 static const ProtobufCFieldDescriptor streaming_protobufs__sib__type_and_info__field_descriptors[8] =
239 PROTOBUF_C_LABEL_NONE,
240 PROTOBUF_C_TYPE_MESSAGE,
241 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
242 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib2),
243 &streaming_protobufs__sib2__descriptor,
245 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
246 0,NULL,NULL /* reserved1,reserved2, etc */
251 PROTOBUF_C_LABEL_NONE,
252 PROTOBUF_C_TYPE_MESSAGE,
253 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
254 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib3),
255 &streaming_protobufs__sib3__descriptor,
257 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
258 0,NULL,NULL /* reserved1,reserved2, etc */
263 PROTOBUF_C_LABEL_NONE,
264 PROTOBUF_C_TYPE_MESSAGE,
265 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
266 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib4),
267 &streaming_protobufs__sib4__descriptor,
269 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
270 0,NULL,NULL /* reserved1,reserved2, etc */
275 PROTOBUF_C_LABEL_NONE,
276 PROTOBUF_C_TYPE_MESSAGE,
277 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
278 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib5),
279 &streaming_protobufs__sib5__descriptor,
281 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
282 0,NULL,NULL /* reserved1,reserved2, etc */
287 PROTOBUF_C_LABEL_NONE,
288 PROTOBUF_C_TYPE_MESSAGE,
289 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
290 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib6),
291 &streaming_protobufs__sib6__descriptor,
293 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
294 0,NULL,NULL /* reserved1,reserved2, etc */
299 PROTOBUF_C_LABEL_NONE,
300 PROTOBUF_C_TYPE_MESSAGE,
301 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
302 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib7),
303 &streaming_protobufs__sib7__descriptor,
305 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
306 0,NULL,NULL /* reserved1,reserved2, etc */
311 PROTOBUF_C_LABEL_NONE,
312 PROTOBUF_C_TYPE_MESSAGE,
313 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
314 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib8),
315 &streaming_protobufs__sib8__descriptor,
317 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
318 0,NULL,NULL /* reserved1,reserved2, etc */
323 PROTOBUF_C_LABEL_NONE,
324 PROTOBUF_C_TYPE_MESSAGE,
325 offsetof(StreamingProtobufs__SIBTypeAndInfo, c_case),
326 offsetof(StreamingProtobufs__SIBTypeAndInfo, sib9),
327 &streaming_protobufs__sib9__descriptor,
329 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
330 0,NULL,NULL /* reserved1,reserved2, etc */
333 static const unsigned streaming_protobufs__sib__type_and_info__field_indices_by_name[] = {
334 0, /* field[0] = sib2 */
335 1, /* field[1] = sib3 */
336 2, /* field[2] = sib4 */
337 3, /* field[3] = sib5 */
338 4, /* field[4] = sib6 */
339 5, /* field[5] = sib7 */
340 6, /* field[6] = sib8 */
341 7, /* field[7] = sib9 */
343 static const ProtobufCIntRange streaming_protobufs__sib__type_and_info__number_ranges[1 + 1] =
348 const ProtobufCMessageDescriptor streaming_protobufs__sib__type_and_info__descriptor =
350 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
351 "streaming_protobufs.SIB_TypeAndInfo",
353 "StreamingProtobufs__SIBTypeAndInfo",
354 "streaming_protobufs",
355 sizeof(StreamingProtobufs__SIBTypeAndInfo),
357 streaming_protobufs__sib__type_and_info__field_descriptors,
358 streaming_protobufs__sib__type_and_info__field_indices_by_name,
359 1, streaming_protobufs__sib__type_and_info__number_ranges,
360 (ProtobufCMessageInit) streaming_protobufs__sib__type_and_info__init,
361 NULL,NULL,NULL /* reserved[123] */