1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: ricgeomessages.proto */
4 /* Do not generate deprecated warnings for self */
5 #ifndef PROTOBUF_C__NO_DEPRECATED
6 #define PROTOBUF_C__NO_DEPRECATED
9 #include "ricgeomessages.pb-c.h"
13 static const GeoHdr init_value = GEO_HDR__INIT;
14 *message = init_value;
16 size_t geo_hdr__get_packed_size
17 (const GeoHdr *message)
19 assert(message->base.descriptor == &geo_hdr__descriptor);
20 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
23 (const GeoHdr *message,
26 assert(message->base.descriptor == &geo_hdr__descriptor);
27 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
29 size_t geo_hdr__pack_to_buffer
30 (const GeoHdr *message,
31 ProtobufCBuffer *buffer)
33 assert(message->base.descriptor == &geo_hdr__descriptor);
34 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
38 (ProtobufCAllocator *allocator,
43 protobuf_c_message_unpack (&geo_hdr__descriptor,
44 allocator, len, data);
46 void geo_hdr__free_unpacked
48 ProtobufCAllocator *allocator)
52 assert(message->base.descriptor == &geo_hdr__descriptor);
53 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
58 static const GeoMsg init_value = GEO_MSG__INIT;
59 *message = init_value;
61 size_t geo_msg__get_packed_size
62 (const GeoMsg *message)
64 assert(message->base.descriptor == &geo_msg__descriptor);
65 return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
68 (const GeoMsg *message,
71 assert(message->base.descriptor == &geo_msg__descriptor);
72 return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
74 size_t geo_msg__pack_to_buffer
75 (const GeoMsg *message,
76 ProtobufCBuffer *buffer)
78 assert(message->base.descriptor == &geo_msg__descriptor);
79 return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
83 (ProtobufCAllocator *allocator,
88 protobuf_c_message_unpack (&geo_msg__descriptor,
89 allocator, len, data);
91 void geo_msg__free_unpacked
93 ProtobufCAllocator *allocator)
97 assert(message->base.descriptor == &geo_msg__descriptor);
98 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
100 static const ProtobufCFieldDescriptor geo_hdr__field_descriptors[6] =
105 PROTOBUF_C_LABEL_NONE,
106 PROTOBUF_C_TYPE_UINT64,
107 0, /* quantifier_offset */
108 offsetof(GeoHdr, sequencenumber),
112 0,NULL,NULL /* reserved1,reserved2, etc */
117 PROTOBUF_C_LABEL_NONE,
118 PROTOBUF_C_TYPE_UINT64,
119 0, /* quantifier_offset */
120 offsetof(GeoHdr, timestamp),
124 0,NULL,NULL /* reserved1,reserved2, etc */
129 PROTOBUF_C_LABEL_NONE,
130 PROTOBUF_C_TYPE_UINT32,
131 0, /* quantifier_offset */
132 offsetof(GeoHdr, eci),
136 0,NULL,NULL /* reserved1,reserved2, etc */
141 PROTOBUF_C_LABEL_NONE,
142 PROTOBUF_C_TYPE_UINT32,
143 0, /* quantifier_offset */
144 offsetof(GeoHdr, plmn),
148 0,NULL,NULL /* reserved1,reserved2, etc */
153 PROTOBUF_C_LABEL_NONE,
154 PROTOBUF_C_TYPE_UINT64,
155 0, /* quantifier_offset */
156 offsetof(GeoHdr, eutrantraceid),
160 0,NULL,NULL /* reserved1,reserved2, etc */
165 PROTOBUF_C_LABEL_NONE,
166 PROTOBUF_C_TYPE_UINT32,
167 0, /* quantifier_offset */
168 offsetof(GeoHdr, crnti),
172 0,NULL,NULL /* reserved1,reserved2, etc */
175 static const unsigned geo_hdr__field_indices_by_name[] = {
176 5, /* field[5] = CRNTI */
177 4, /* field[4] = EUtranTraceID */
178 2, /* field[2] = Eci */
179 3, /* field[3] = Plmn */
180 0, /* field[0] = SequenceNumber */
181 1, /* field[1] = Timestamp */
183 static const ProtobufCIntRange geo_hdr__number_ranges[1 + 1] =
188 const ProtobufCMessageDescriptor geo_hdr__descriptor =
190 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
197 geo_hdr__field_descriptors,
198 geo_hdr__field_indices_by_name,
199 1, geo_hdr__number_ranges,
200 (ProtobufCMessageInit) geo_hdr__init,
201 NULL,NULL,NULL /* reserved[123] */
203 static const ProtobufCEnumValue geo_msg__types__enum_values_by_number[1] =
205 { "PCMDREPORT", "GEO_MSG__TYPES__PCMDREPORT", 0 },
207 static const ProtobufCIntRange geo_msg__types__value_ranges[] = {
210 static const ProtobufCEnumValueIndex geo_msg__types__enum_values_by_name[1] =
214 const ProtobufCEnumDescriptor geo_msg__types__descriptor =
216 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
222 geo_msg__types__enum_values_by_number,
224 geo_msg__types__enum_values_by_name,
226 geo_msg__types__value_ranges,
227 NULL,NULL,NULL,NULL /* reserved[1234] */
229 static const ProtobufCFieldDescriptor geo_msg__field_descriptors[3] =
234 PROTOBUF_C_LABEL_NONE,
235 PROTOBUF_C_TYPE_ENUM,
236 0, /* quantifier_offset */
237 offsetof(GeoMsg, type),
238 &geo_msg__types__descriptor,
241 0,NULL,NULL /* reserved1,reserved2, etc */
246 PROTOBUF_C_LABEL_NONE,
247 PROTOBUF_C_TYPE_MESSAGE,
248 offsetof(GeoMsg, geo_msg_oneof_case),
249 offsetof(GeoMsg, report),
250 &pcmd_report__descriptor,
252 0 | PROTOBUF_C_FIELD_FLAG_ONEOF, /* flags */
253 0,NULL,NULL /* reserved1,reserved2, etc */
258 PROTOBUF_C_LABEL_NONE,
259 PROTOBUF_C_TYPE_MESSAGE,
260 0, /* quantifier_offset */
261 offsetof(GeoMsg, hdr),
262 &geo_hdr__descriptor,
265 0,NULL,NULL /* reserved1,reserved2, etc */
268 static const unsigned geo_msg__field_indices_by_name[] = {
269 2, /* field[2] = hdr */
270 1, /* field[1] = report */
271 0, /* field[0] = type */
273 static const ProtobufCIntRange geo_msg__number_ranges[1 + 1] =
278 const ProtobufCMessageDescriptor geo_msg__descriptor =
280 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
287 geo_msg__field_descriptors,
288 geo_msg__field_indices_by_name,
289 1, geo_msg__number_ranges,
290 (ProtobufCMessageInit) geo_msg__init,
291 NULL,NULL,NULL /* reserved[123] */