1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: rrc_system_information.proto */
4 #ifndef PROTOBUF_C_rrc_5fsystem_5finformation_2eproto__INCLUDED
5 #define PROTOBUF_C_rrc_5fsystem_5finformation_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_common_types.pb-c.h"
19 #include "rrc_sib.pb-c.h"
21 typedef struct _StreamingProtobufs__SystemInformation StreamingProtobufs__SystemInformation;
22 typedef struct _StreamingProtobufs__SystemInformationIEs StreamingProtobufs__SystemInformationIEs;
23 typedef struct _StreamingProtobufs__SIBTypeAndInfo StreamingProtobufs__SIBTypeAndInfo;
29 /* --- messages --- */
32 STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS__NOT_SET = 0,
33 STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS_SYSTEM_INFORMATION_R15 = 1
34 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS)
35 } StreamingProtobufs__SystemInformation__CriticalExtensionsCase;
37 struct _StreamingProtobufs__SystemInformation
39 ProtobufCMessage base;
40 StreamingProtobufs__SystemInformation__CriticalExtensionsCase critical_extensions_case;
42 StreamingProtobufs__SystemInformationIEs *systeminformation_r15;
45 #define STREAMING_PROTOBUFS__SYSTEM_INFORMATION__INIT \
46 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__system_information__descriptor) \
47 , STREAMING_PROTOBUFS__SYSTEM_INFORMATION__CRITICAL_EXTENSIONS__NOT_SET, {0} }
50 struct _StreamingProtobufs__SystemInformationIEs
52 ProtobufCMessage base;
53 size_t n_sib_typeandinfo;
54 StreamingProtobufs__SIBTypeAndInfo **sib_typeandinfo;
55 Google__Protobuf__BytesValue *latenoncriticalextension;
57 #define STREAMING_PROTOBUFS__SYSTEM_INFORMATION__IES__INIT \
58 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__system_information__ies__descriptor) \
63 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C__NOT_SET = 0,
64 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB2 = 1,
65 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB3 = 2,
66 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB4 = 3,
67 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB5 = 4,
68 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB6 = 5,
69 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB7 = 6,
70 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB8 = 7,
71 STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C_SIB9 = 8
72 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C)
73 } StreamingProtobufs__SIBTypeAndInfo__CCase;
75 struct _StreamingProtobufs__SIBTypeAndInfo
77 ProtobufCMessage base;
78 StreamingProtobufs__SIBTypeAndInfo__CCase c_case;
80 StreamingProtobufs__SIB2 *sib2;
81 StreamingProtobufs__SIB3 *sib3;
82 StreamingProtobufs__SIB4 *sib4;
83 StreamingProtobufs__SIB5 *sib5;
84 StreamingProtobufs__SIB6 *sib6;
85 StreamingProtobufs__SIB7 *sib7;
86 StreamingProtobufs__SIB8 *sib8;
87 StreamingProtobufs__SIB9 *sib9;
90 #define STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__INIT \
91 { PROTOBUF_C_MESSAGE_INIT (&streaming_protobufs__sib__type_and_info__descriptor) \
92 , STREAMING_PROTOBUFS__SIB__TYPE_AND_INFO__C__NOT_SET, {0} }
95 /* StreamingProtobufs__SystemInformation methods */
96 void streaming_protobufs__system_information__init
97 (StreamingProtobufs__SystemInformation *message);
98 size_t streaming_protobufs__system_information__get_packed_size
99 (const StreamingProtobufs__SystemInformation *message);
100 size_t streaming_protobufs__system_information__pack
101 (const StreamingProtobufs__SystemInformation *message,
103 size_t streaming_protobufs__system_information__pack_to_buffer
104 (const StreamingProtobufs__SystemInformation *message,
105 ProtobufCBuffer *buffer);
106 StreamingProtobufs__SystemInformation *
107 streaming_protobufs__system_information__unpack
108 (ProtobufCAllocator *allocator,
110 const uint8_t *data);
111 void streaming_protobufs__system_information__free_unpacked
112 (StreamingProtobufs__SystemInformation *message,
113 ProtobufCAllocator *allocator);
114 /* StreamingProtobufs__SystemInformationIEs methods */
115 void streaming_protobufs__system_information__ies__init
116 (StreamingProtobufs__SystemInformationIEs *message);
117 size_t streaming_protobufs__system_information__ies__get_packed_size
118 (const StreamingProtobufs__SystemInformationIEs *message);
119 size_t streaming_protobufs__system_information__ies__pack
120 (const StreamingProtobufs__SystemInformationIEs *message,
122 size_t streaming_protobufs__system_information__ies__pack_to_buffer
123 (const StreamingProtobufs__SystemInformationIEs *message,
124 ProtobufCBuffer *buffer);
125 StreamingProtobufs__SystemInformationIEs *
126 streaming_protobufs__system_information__ies__unpack
127 (ProtobufCAllocator *allocator,
129 const uint8_t *data);
130 void streaming_protobufs__system_information__ies__free_unpacked
131 (StreamingProtobufs__SystemInformationIEs *message,
132 ProtobufCAllocator *allocator);
133 /* StreamingProtobufs__SIBTypeAndInfo methods */
134 void streaming_protobufs__sib__type_and_info__init
135 (StreamingProtobufs__SIBTypeAndInfo *message);
136 size_t streaming_protobufs__sib__type_and_info__get_packed_size
137 (const StreamingProtobufs__SIBTypeAndInfo *message);
138 size_t streaming_protobufs__sib__type_and_info__pack
139 (const StreamingProtobufs__SIBTypeAndInfo *message,
141 size_t streaming_protobufs__sib__type_and_info__pack_to_buffer
142 (const StreamingProtobufs__SIBTypeAndInfo *message,
143 ProtobufCBuffer *buffer);
144 StreamingProtobufs__SIBTypeAndInfo *
145 streaming_protobufs__sib__type_and_info__unpack
146 (ProtobufCAllocator *allocator,
148 const uint8_t *data);
149 void streaming_protobufs__sib__type_and_info__free_unpacked
150 (StreamingProtobufs__SIBTypeAndInfo *message,
151 ProtobufCAllocator *allocator);
152 /* --- per-message closures --- */
154 typedef void (*StreamingProtobufs__SystemInformation_Closure)
155 (const StreamingProtobufs__SystemInformation *message,
157 typedef void (*StreamingProtobufs__SystemInformationIEs_Closure)
158 (const StreamingProtobufs__SystemInformationIEs *message,
160 typedef void (*StreamingProtobufs__SIBTypeAndInfo_Closure)
161 (const StreamingProtobufs__SIBTypeAndInfo *message,
164 /* --- services --- */
167 /* --- descriptors --- */
169 extern const ProtobufCMessageDescriptor streaming_protobufs__system_information__descriptor;
170 extern const ProtobufCMessageDescriptor streaming_protobufs__system_information__ies__descriptor;
171 extern const ProtobufCMessageDescriptor streaming_protobufs__sib__type_and_info__descriptor;
173 PROTOBUF_C__END_DECLS
176 #endif /* PROTOBUF_C_rrc_5fsystem_5finformation_2eproto__INCLUDED */