/[zanavi_public1]/navit/navit/maptool/generated-code/osmformat.pb-c.c
ZANavi

Contents of /navit/navit/maptool/generated-code/osmformat.pb-c.c

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (hide annotations) (download)
Fri Oct 28 21:39:42 2011 UTC (12 years, 5 months ago) by zoff99
File MIME type: text/plain
File size: 48889 byte(s)
import
1 zoff99 8 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2    
3     /* Do not generate deprecated warnings for self */
4     #ifndef PROTOBUF_C_NO_DEPRECATED
5     #define PROTOBUF_C_NO_DEPRECATED
6     #endif
7    
8     #include "osmformat.pb-c.h"
9     void osmpbf__header_block__init
10     (OSMPBF__HeaderBlock *message)
11     {
12     static OSMPBF__HeaderBlock init_value = OSMPBF__HEADER_BLOCK__INIT;
13     *message = init_value;
14     }
15     size_t osmpbf__header_block__get_packed_size
16     (const OSMPBF__HeaderBlock *message)
17     {
18     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_block__descriptor);
19     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
20     }
21     size_t osmpbf__header_block__pack
22     (const OSMPBF__HeaderBlock *message,
23     uint8_t *out)
24     {
25     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_block__descriptor);
26     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
27     }
28     size_t osmpbf__header_block__pack_to_buffer
29     (const OSMPBF__HeaderBlock *message,
30     ProtobufCBuffer *buffer)
31     {
32     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_block__descriptor);
33     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
34     }
35     OSMPBF__HeaderBlock *
36     osmpbf__header_block__unpack
37     (ProtobufCAllocator *allocator,
38     size_t len,
39     const uint8_t *data)
40     {
41     return (OSMPBF__HeaderBlock *)
42     protobuf_c_message_unpack (&osmpbf__header_block__descriptor,
43     allocator, len, data);
44     }
45     void osmpbf__header_block__free_unpacked
46     (OSMPBF__HeaderBlock *message,
47     ProtobufCAllocator *allocator)
48     {
49     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_block__descriptor);
50     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
51     }
52     void osmpbf__header_bbox__init
53     (OSMPBF__HeaderBBox *message)
54     {
55     static OSMPBF__HeaderBBox init_value = OSMPBF__HEADER_BBOX__INIT;
56     *message = init_value;
57     }
58     size_t osmpbf__header_bbox__get_packed_size
59     (const OSMPBF__HeaderBBox *message)
60     {
61     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_bbox__descriptor);
62     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
63     }
64     size_t osmpbf__header_bbox__pack
65     (const OSMPBF__HeaderBBox *message,
66     uint8_t *out)
67     {
68     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_bbox__descriptor);
69     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
70     }
71     size_t osmpbf__header_bbox__pack_to_buffer
72     (const OSMPBF__HeaderBBox *message,
73     ProtobufCBuffer *buffer)
74     {
75     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_bbox__descriptor);
76     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
77     }
78     OSMPBF__HeaderBBox *
79     osmpbf__header_bbox__unpack
80     (ProtobufCAllocator *allocator,
81     size_t len,
82     const uint8_t *data)
83     {
84     return (OSMPBF__HeaderBBox *)
85     protobuf_c_message_unpack (&osmpbf__header_bbox__descriptor,
86     allocator, len, data);
87     }
88     void osmpbf__header_bbox__free_unpacked
89     (OSMPBF__HeaderBBox *message,
90     ProtobufCAllocator *allocator)
91     {
92     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__header_bbox__descriptor);
93     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
94     }
95     void osmpbf__primitive_block__init
96     (OSMPBF__PrimitiveBlock *message)
97     {
98     static OSMPBF__PrimitiveBlock init_value = OSMPBF__PRIMITIVE_BLOCK__INIT;
99     *message = init_value;
100     }
101     size_t osmpbf__primitive_block__get_packed_size
102     (const OSMPBF__PrimitiveBlock *message)
103     {
104     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_block__descriptor);
105     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
106     }
107     size_t osmpbf__primitive_block__pack
108     (const OSMPBF__PrimitiveBlock *message,
109     uint8_t *out)
110     {
111     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_block__descriptor);
112     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
113     }
114     size_t osmpbf__primitive_block__pack_to_buffer
115     (const OSMPBF__PrimitiveBlock *message,
116     ProtobufCBuffer *buffer)
117     {
118     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_block__descriptor);
119     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
120     }
121     OSMPBF__PrimitiveBlock *
122     osmpbf__primitive_block__unpack
123     (ProtobufCAllocator *allocator,
124     size_t len,
125     const uint8_t *data)
126     {
127     return (OSMPBF__PrimitiveBlock *)
128     protobuf_c_message_unpack (&osmpbf__primitive_block__descriptor,
129     allocator, len, data);
130     }
131     void osmpbf__primitive_block__free_unpacked
132     (OSMPBF__PrimitiveBlock *message,
133     ProtobufCAllocator *allocator)
134     {
135     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_block__descriptor);
136     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
137     }
138     void osmpbf__primitive_group__init
139     (OSMPBF__PrimitiveGroup *message)
140     {
141     static OSMPBF__PrimitiveGroup init_value = OSMPBF__PRIMITIVE_GROUP__INIT;
142     *message = init_value;
143     }
144     size_t osmpbf__primitive_group__get_packed_size
145     (const OSMPBF__PrimitiveGroup *message)
146     {
147     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_group__descriptor);
148     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
149     }
150     size_t osmpbf__primitive_group__pack
151     (const OSMPBF__PrimitiveGroup *message,
152     uint8_t *out)
153     {
154     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_group__descriptor);
155     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
156     }
157     size_t osmpbf__primitive_group__pack_to_buffer
158     (const OSMPBF__PrimitiveGroup *message,
159     ProtobufCBuffer *buffer)
160     {
161     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_group__descriptor);
162     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
163     }
164     OSMPBF__PrimitiveGroup *
165     osmpbf__primitive_group__unpack
166     (ProtobufCAllocator *allocator,
167     size_t len,
168     const uint8_t *data)
169     {
170     return (OSMPBF__PrimitiveGroup *)
171     protobuf_c_message_unpack (&osmpbf__primitive_group__descriptor,
172     allocator, len, data);
173     }
174     void osmpbf__primitive_group__free_unpacked
175     (OSMPBF__PrimitiveGroup *message,
176     ProtobufCAllocator *allocator)
177     {
178     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__primitive_group__descriptor);
179     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
180     }
181     void osmpbf__string_table__init
182     (OSMPBF__StringTable *message)
183     {
184     static OSMPBF__StringTable init_value = OSMPBF__STRING_TABLE__INIT;
185     *message = init_value;
186     }
187     size_t osmpbf__string_table__get_packed_size
188     (const OSMPBF__StringTable *message)
189     {
190     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__string_table__descriptor);
191     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
192     }
193     size_t osmpbf__string_table__pack
194     (const OSMPBF__StringTable *message,
195     uint8_t *out)
196     {
197     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__string_table__descriptor);
198     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
199     }
200     size_t osmpbf__string_table__pack_to_buffer
201     (const OSMPBF__StringTable *message,
202     ProtobufCBuffer *buffer)
203     {
204     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__string_table__descriptor);
205     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
206     }
207     OSMPBF__StringTable *
208     osmpbf__string_table__unpack
209     (ProtobufCAllocator *allocator,
210     size_t len,
211     const uint8_t *data)
212     {
213     return (OSMPBF__StringTable *)
214     protobuf_c_message_unpack (&osmpbf__string_table__descriptor,
215     allocator, len, data);
216     }
217     void osmpbf__string_table__free_unpacked
218     (OSMPBF__StringTable *message,
219     ProtobufCAllocator *allocator)
220     {
221     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__string_table__descriptor);
222     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
223     }
224     void osmpbf__info__init
225     (OSMPBF__Info *message)
226     {
227     static OSMPBF__Info init_value = OSMPBF__INFO__INIT;
228     *message = init_value;
229     }
230     size_t osmpbf__info__get_packed_size
231     (const OSMPBF__Info *message)
232     {
233     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__info__descriptor);
234     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
235     }
236     size_t osmpbf__info__pack
237     (const OSMPBF__Info *message,
238     uint8_t *out)
239     {
240     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__info__descriptor);
241     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
242     }
243     size_t osmpbf__info__pack_to_buffer
244     (const OSMPBF__Info *message,
245     ProtobufCBuffer *buffer)
246     {
247     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__info__descriptor);
248     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
249     }
250     OSMPBF__Info *
251     osmpbf__info__unpack
252     (ProtobufCAllocator *allocator,
253     size_t len,
254     const uint8_t *data)
255     {
256     return (OSMPBF__Info *)
257     protobuf_c_message_unpack (&osmpbf__info__descriptor,
258     allocator, len, data);
259     }
260     void osmpbf__info__free_unpacked
261     (OSMPBF__Info *message,
262     ProtobufCAllocator *allocator)
263     {
264     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__info__descriptor);
265     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
266     }
267     void osmpbf__dense_info__init
268     (OSMPBF__DenseInfo *message)
269     {
270     static OSMPBF__DenseInfo init_value = OSMPBF__DENSE_INFO__INIT;
271     *message = init_value;
272     }
273     size_t osmpbf__dense_info__get_packed_size
274     (const OSMPBF__DenseInfo *message)
275     {
276     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_info__descriptor);
277     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
278     }
279     size_t osmpbf__dense_info__pack
280     (const OSMPBF__DenseInfo *message,
281     uint8_t *out)
282     {
283     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_info__descriptor);
284     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
285     }
286     size_t osmpbf__dense_info__pack_to_buffer
287     (const OSMPBF__DenseInfo *message,
288     ProtobufCBuffer *buffer)
289     {
290     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_info__descriptor);
291     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
292     }
293     OSMPBF__DenseInfo *
294     osmpbf__dense_info__unpack
295     (ProtobufCAllocator *allocator,
296     size_t len,
297     const uint8_t *data)
298     {
299     return (OSMPBF__DenseInfo *)
300     protobuf_c_message_unpack (&osmpbf__dense_info__descriptor,
301     allocator, len, data);
302     }
303     void osmpbf__dense_info__free_unpacked
304     (OSMPBF__DenseInfo *message,
305     ProtobufCAllocator *allocator)
306     {
307     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_info__descriptor);
308     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
309     }
310     void osmpbf__change_set__init
311     (OSMPBF__ChangeSet *message)
312     {
313     static OSMPBF__ChangeSet init_value = OSMPBF__CHANGE_SET__INIT;
314     *message = init_value;
315     }
316     size_t osmpbf__change_set__get_packed_size
317     (const OSMPBF__ChangeSet *message)
318     {
319     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__change_set__descriptor);
320     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
321     }
322     size_t osmpbf__change_set__pack
323     (const OSMPBF__ChangeSet *message,
324     uint8_t *out)
325     {
326     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__change_set__descriptor);
327     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
328     }
329     size_t osmpbf__change_set__pack_to_buffer
330     (const OSMPBF__ChangeSet *message,
331     ProtobufCBuffer *buffer)
332     {
333     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__change_set__descriptor);
334     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
335     }
336     OSMPBF__ChangeSet *
337     osmpbf__change_set__unpack
338     (ProtobufCAllocator *allocator,
339     size_t len,
340     const uint8_t *data)
341     {
342     return (OSMPBF__ChangeSet *)
343     protobuf_c_message_unpack (&osmpbf__change_set__descriptor,
344     allocator, len, data);
345     }
346     void osmpbf__change_set__free_unpacked
347     (OSMPBF__ChangeSet *message,
348     ProtobufCAllocator *allocator)
349     {
350     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__change_set__descriptor);
351     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
352     }
353     void osmpbf__node__init
354     (OSMPBF__Node *message)
355     {
356     static OSMPBF__Node init_value = OSMPBF__NODE__INIT;
357     *message = init_value;
358     }
359     size_t osmpbf__node__get_packed_size
360     (const OSMPBF__Node *message)
361     {
362     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__node__descriptor);
363     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
364     }
365     size_t osmpbf__node__pack
366     (const OSMPBF__Node *message,
367     uint8_t *out)
368     {
369     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__node__descriptor);
370     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
371     }
372     size_t osmpbf__node__pack_to_buffer
373     (const OSMPBF__Node *message,
374     ProtobufCBuffer *buffer)
375     {
376     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__node__descriptor);
377     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
378     }
379     OSMPBF__Node *
380     osmpbf__node__unpack
381     (ProtobufCAllocator *allocator,
382     size_t len,
383     const uint8_t *data)
384     {
385     return (OSMPBF__Node *)
386     protobuf_c_message_unpack (&osmpbf__node__descriptor,
387     allocator, len, data);
388     }
389     void osmpbf__node__free_unpacked
390     (OSMPBF__Node *message,
391     ProtobufCAllocator *allocator)
392     {
393     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__node__descriptor);
394     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
395     }
396     void osmpbf__dense_nodes__init
397     (OSMPBF__DenseNodes *message)
398     {
399     static OSMPBF__DenseNodes init_value = OSMPBF__DENSE_NODES__INIT;
400     *message = init_value;
401     }
402     size_t osmpbf__dense_nodes__get_packed_size
403     (const OSMPBF__DenseNodes *message)
404     {
405     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_nodes__descriptor);
406     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
407     }
408     size_t osmpbf__dense_nodes__pack
409     (const OSMPBF__DenseNodes *message,
410     uint8_t *out)
411     {
412     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_nodes__descriptor);
413     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
414     }
415     size_t osmpbf__dense_nodes__pack_to_buffer
416     (const OSMPBF__DenseNodes *message,
417     ProtobufCBuffer *buffer)
418     {
419     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_nodes__descriptor);
420     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
421     }
422     OSMPBF__DenseNodes *
423     osmpbf__dense_nodes__unpack
424     (ProtobufCAllocator *allocator,
425     size_t len,
426     const uint8_t *data)
427     {
428     return (OSMPBF__DenseNodes *)
429     protobuf_c_message_unpack (&osmpbf__dense_nodes__descriptor,
430     allocator, len, data);
431     }
432     void osmpbf__dense_nodes__free_unpacked
433     (OSMPBF__DenseNodes *message,
434     ProtobufCAllocator *allocator)
435     {
436     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__dense_nodes__descriptor);
437     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
438     }
439     void osmpbf__way__init
440     (OSMPBF__Way *message)
441     {
442     static OSMPBF__Way init_value = OSMPBF__WAY__INIT;
443     *message = init_value;
444     }
445     size_t osmpbf__way__get_packed_size
446     (const OSMPBF__Way *message)
447     {
448     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__way__descriptor);
449     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
450     }
451     size_t osmpbf__way__pack
452     (const OSMPBF__Way *message,
453     uint8_t *out)
454     {
455     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__way__descriptor);
456     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
457     }
458     size_t osmpbf__way__pack_to_buffer
459     (const OSMPBF__Way *message,
460     ProtobufCBuffer *buffer)
461     {
462     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__way__descriptor);
463     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
464     }
465     OSMPBF__Way *
466     osmpbf__way__unpack
467     (ProtobufCAllocator *allocator,
468     size_t len,
469     const uint8_t *data)
470     {
471     return (OSMPBF__Way *)
472     protobuf_c_message_unpack (&osmpbf__way__descriptor,
473     allocator, len, data);
474     }
475     void osmpbf__way__free_unpacked
476     (OSMPBF__Way *message,
477     ProtobufCAllocator *allocator)
478     {
479     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__way__descriptor);
480     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
481     }
482     void osmpbf__relation__init
483     (OSMPBF__Relation *message)
484     {
485     static OSMPBF__Relation init_value = OSMPBF__RELATION__INIT;
486     *message = init_value;
487     }
488     size_t osmpbf__relation__get_packed_size
489     (const OSMPBF__Relation *message)
490     {
491     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__relation__descriptor);
492     return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message));
493     }
494     size_t osmpbf__relation__pack
495     (const OSMPBF__Relation *message,
496     uint8_t *out)
497     {
498     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__relation__descriptor);
499     return protobuf_c_message_pack ((const ProtobufCMessage*)message, out);
500     }
501     size_t osmpbf__relation__pack_to_buffer
502     (const OSMPBF__Relation *message,
503     ProtobufCBuffer *buffer)
504     {
505     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__relation__descriptor);
506     return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer);
507     }
508     OSMPBF__Relation *
509     osmpbf__relation__unpack
510     (ProtobufCAllocator *allocator,
511     size_t len,
512     const uint8_t *data)
513     {
514     return (OSMPBF__Relation *)
515     protobuf_c_message_unpack (&osmpbf__relation__descriptor,
516     allocator, len, data);
517     }
518     void osmpbf__relation__free_unpacked
519     (OSMPBF__Relation *message,
520     ProtobufCAllocator *allocator)
521     {
522     PROTOBUF_C_ASSERT (message->base.descriptor == &osmpbf__relation__descriptor);
523     protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
524     }
525     static const ProtobufCFieldDescriptor osmpbf__header_block__field_descriptors[5] =
526     {
527     {
528     "bbox",
529     1,
530     PROTOBUF_C_LABEL_OPTIONAL,
531     PROTOBUF_C_TYPE_MESSAGE,
532     0, /* quantifier_offset */
533     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, bbox),
534     &osmpbf__header_bbox__descriptor,
535     NULL,
536     0, /* packed */
537     0,NULL,NULL /* reserved1,reserved2, etc */
538     },
539     {
540     "required_features",
541     4,
542     PROTOBUF_C_LABEL_REPEATED,
543     PROTOBUF_C_TYPE_STRING,
544     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, n_required_features),
545     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, required_features),
546     NULL,
547     NULL,
548     0, /* packed */
549     0,NULL,NULL /* reserved1,reserved2, etc */
550     },
551     {
552     "optional_features",
553     5,
554     PROTOBUF_C_LABEL_REPEATED,
555     PROTOBUF_C_TYPE_STRING,
556     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, n_optional_features),
557     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, optional_features),
558     NULL,
559     NULL,
560     0, /* packed */
561     0,NULL,NULL /* reserved1,reserved2, etc */
562     },
563     {
564     "writingprogram",
565     16,
566     PROTOBUF_C_LABEL_OPTIONAL,
567     PROTOBUF_C_TYPE_STRING,
568     0, /* quantifier_offset */
569     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, writingprogram),
570     NULL,
571     NULL,
572     0, /* packed */
573     0,NULL,NULL /* reserved1,reserved2, etc */
574     },
575     {
576     "source",
577     17,
578     PROTOBUF_C_LABEL_OPTIONAL,
579     PROTOBUF_C_TYPE_STRING,
580     0, /* quantifier_offset */
581     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBlock, source),
582     NULL,
583     NULL,
584     0, /* packed */
585     0,NULL,NULL /* reserved1,reserved2, etc */
586     },
587     };
588     static const unsigned osmpbf__header_block__field_indices_by_name[] = {
589     0, /* field[0] = bbox */
590     2, /* field[2] = optional_features */
591     1, /* field[1] = required_features */
592     4, /* field[4] = source */
593     3, /* field[3] = writingprogram */
594     };
595     static const ProtobufCIntRange osmpbf__header_block__number_ranges[3 + 1] =
596     {
597     { 1, 0 },
598     { 4, 1 },
599     { 16, 3 },
600     { 0, 5 }
601     };
602     const ProtobufCMessageDescriptor osmpbf__header_block__descriptor =
603     {
604     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
605     "OSMPBF.HeaderBlock",
606     "HeaderBlock",
607     "OSMPBF__HeaderBlock",
608     "OSMPBF",
609     sizeof(OSMPBF__HeaderBlock),
610     5,
611     osmpbf__header_block__field_descriptors,
612     osmpbf__header_block__field_indices_by_name,
613     3, osmpbf__header_block__number_ranges,
614     (ProtobufCMessageInit) osmpbf__header_block__init,
615     NULL,NULL,NULL /* reserved[123] */
616     };
617     static const ProtobufCFieldDescriptor osmpbf__header_bbox__field_descriptors[4] =
618     {
619     {
620     "left",
621     1,
622     PROTOBUF_C_LABEL_REQUIRED,
623     PROTOBUF_C_TYPE_SINT64,
624     0, /* quantifier_offset */
625     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBBox, left),
626     NULL,
627     NULL,
628     0, /* packed */
629     0,NULL,NULL /* reserved1,reserved2, etc */
630     },
631     {
632     "right",
633     2,
634     PROTOBUF_C_LABEL_REQUIRED,
635     PROTOBUF_C_TYPE_SINT64,
636     0, /* quantifier_offset */
637     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBBox, right),
638     NULL,
639     NULL,
640     0, /* packed */
641     0,NULL,NULL /* reserved1,reserved2, etc */
642     },
643     {
644     "top",
645     3,
646     PROTOBUF_C_LABEL_REQUIRED,
647     PROTOBUF_C_TYPE_SINT64,
648     0, /* quantifier_offset */
649     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBBox, top),
650     NULL,
651     NULL,
652     0, /* packed */
653     0,NULL,NULL /* reserved1,reserved2, etc */
654     },
655     {
656     "bottom",
657     4,
658     PROTOBUF_C_LABEL_REQUIRED,
659     PROTOBUF_C_TYPE_SINT64,
660     0, /* quantifier_offset */
661     PROTOBUF_C_OFFSETOF(OSMPBF__HeaderBBox, bottom),
662     NULL,
663     NULL,
664     0, /* packed */
665     0,NULL,NULL /* reserved1,reserved2, etc */
666     },
667     };
668     static const unsigned osmpbf__header_bbox__field_indices_by_name[] = {
669     3, /* field[3] = bottom */
670     0, /* field[0] = left */
671     1, /* field[1] = right */
672     2, /* field[2] = top */
673     };
674     static const ProtobufCIntRange osmpbf__header_bbox__number_ranges[1 + 1] =
675     {
676     { 1, 0 },
677     { 0, 4 }
678     };
679     const ProtobufCMessageDescriptor osmpbf__header_bbox__descriptor =
680     {
681     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
682     "OSMPBF.HeaderBBox",
683     "HeaderBBox",
684     "OSMPBF__HeaderBBox",
685     "OSMPBF",
686     sizeof(OSMPBF__HeaderBBox),
687     4,
688     osmpbf__header_bbox__field_descriptors,
689     osmpbf__header_bbox__field_indices_by_name,
690     1, osmpbf__header_bbox__number_ranges,
691     (ProtobufCMessageInit) osmpbf__header_bbox__init,
692     NULL,NULL,NULL /* reserved[123] */
693     };
694     static const int32_t osmpbf__primitive_block__granularity__default_value = 100;
695     static const int64_t osmpbf__primitive_block__lat_offset__default_value = 0;
696     static const int64_t osmpbf__primitive_block__lon_offset__default_value = 0;
697     static const int32_t osmpbf__primitive_block__date_granularity__default_value = 1000;
698     static const ProtobufCFieldDescriptor osmpbf__primitive_block__field_descriptors[6] =
699     {
700     {
701     "stringtable",
702     1,
703     PROTOBUF_C_LABEL_REQUIRED,
704     PROTOBUF_C_TYPE_MESSAGE,
705     0, /* quantifier_offset */
706     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, stringtable),
707     &osmpbf__string_table__descriptor,
708     NULL,
709     0, /* packed */
710     0,NULL,NULL /* reserved1,reserved2, etc */
711     },
712     {
713     "primitivegroup",
714     2,
715     PROTOBUF_C_LABEL_REPEATED,
716     PROTOBUF_C_TYPE_MESSAGE,
717     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, n_primitivegroup),
718     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, primitivegroup),
719     &osmpbf__primitive_group__descriptor,
720     NULL,
721     0, /* packed */
722     0,NULL,NULL /* reserved1,reserved2, etc */
723     },
724     {
725     "granularity",
726     17,
727     PROTOBUF_C_LABEL_OPTIONAL,
728     PROTOBUF_C_TYPE_INT32,
729     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, has_granularity),
730     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, granularity),
731     NULL,
732     &osmpbf__primitive_block__granularity__default_value,
733     0, /* packed */
734     0,NULL,NULL /* reserved1,reserved2, etc */
735     },
736     {
737     "date_granularity",
738     18,
739     PROTOBUF_C_LABEL_OPTIONAL,
740     PROTOBUF_C_TYPE_INT32,
741     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, has_date_granularity),
742     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, date_granularity),
743     NULL,
744     &osmpbf__primitive_block__date_granularity__default_value,
745     0, /* packed */
746     0,NULL,NULL /* reserved1,reserved2, etc */
747     },
748     {
749     "lat_offset",
750     19,
751     PROTOBUF_C_LABEL_OPTIONAL,
752     PROTOBUF_C_TYPE_INT64,
753     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, has_lat_offset),
754     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, lat_offset),
755     NULL,
756     &osmpbf__primitive_block__lat_offset__default_value,
757     0, /* packed */
758     0,NULL,NULL /* reserved1,reserved2, etc */
759     },
760     {
761     "lon_offset",
762     20,
763     PROTOBUF_C_LABEL_OPTIONAL,
764     PROTOBUF_C_TYPE_INT64,
765     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, has_lon_offset),
766     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveBlock, lon_offset),
767     NULL,
768     &osmpbf__primitive_block__lon_offset__default_value,
769     0, /* packed */
770     0,NULL,NULL /* reserved1,reserved2, etc */
771     },
772     };
773     static const unsigned osmpbf__primitive_block__field_indices_by_name[] = {
774     3, /* field[3] = date_granularity */
775     2, /* field[2] = granularity */
776     4, /* field[4] = lat_offset */
777     5, /* field[5] = lon_offset */
778     1, /* field[1] = primitivegroup */
779     0, /* field[0] = stringtable */
780     };
781     static const ProtobufCIntRange osmpbf__primitive_block__number_ranges[2 + 1] =
782     {
783     { 1, 0 },
784     { 17, 2 },
785     { 0, 6 }
786     };
787     const ProtobufCMessageDescriptor osmpbf__primitive_block__descriptor =
788     {
789     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
790     "OSMPBF.PrimitiveBlock",
791     "PrimitiveBlock",
792     "OSMPBF__PrimitiveBlock",
793     "OSMPBF",
794     sizeof(OSMPBF__PrimitiveBlock),
795     6,
796     osmpbf__primitive_block__field_descriptors,
797     osmpbf__primitive_block__field_indices_by_name,
798     2, osmpbf__primitive_block__number_ranges,
799     (ProtobufCMessageInit) osmpbf__primitive_block__init,
800     NULL,NULL,NULL /* reserved[123] */
801     };
802     static const ProtobufCFieldDescriptor osmpbf__primitive_group__field_descriptors[5] =
803     {
804     {
805     "nodes",
806     1,
807     PROTOBUF_C_LABEL_REPEATED,
808     PROTOBUF_C_TYPE_MESSAGE,
809     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, n_nodes),
810     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, nodes),
811     &osmpbf__node__descriptor,
812     NULL,
813     0, /* packed */
814     0,NULL,NULL /* reserved1,reserved2, etc */
815     },
816     {
817     "dense",
818     2,
819     PROTOBUF_C_LABEL_OPTIONAL,
820     PROTOBUF_C_TYPE_MESSAGE,
821     0, /* quantifier_offset */
822     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, dense),
823     &osmpbf__dense_nodes__descriptor,
824     NULL,
825     0, /* packed */
826     0,NULL,NULL /* reserved1,reserved2, etc */
827     },
828     {
829     "ways",
830     3,
831     PROTOBUF_C_LABEL_REPEATED,
832     PROTOBUF_C_TYPE_MESSAGE,
833     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, n_ways),
834     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, ways),
835     &osmpbf__way__descriptor,
836     NULL,
837     0, /* packed */
838     0,NULL,NULL /* reserved1,reserved2, etc */
839     },
840     {
841     "relations",
842     4,
843     PROTOBUF_C_LABEL_REPEATED,
844     PROTOBUF_C_TYPE_MESSAGE,
845     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, n_relations),
846     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, relations),
847     &osmpbf__relation__descriptor,
848     NULL,
849     0, /* packed */
850     0,NULL,NULL /* reserved1,reserved2, etc */
851     },
852     {
853     "changesets",
854     5,
855     PROTOBUF_C_LABEL_REPEATED,
856     PROTOBUF_C_TYPE_MESSAGE,
857     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, n_changesets),
858     PROTOBUF_C_OFFSETOF(OSMPBF__PrimitiveGroup, changesets),
859     &osmpbf__change_set__descriptor,
860     NULL,
861     0, /* packed */
862     0,NULL,NULL /* reserved1,reserved2, etc */
863     },
864     };
865     static const unsigned osmpbf__primitive_group__field_indices_by_name[] = {
866     4, /* field[4] = changesets */
867     1, /* field[1] = dense */
868     0, /* field[0] = nodes */
869     3, /* field[3] = relations */
870     2, /* field[2] = ways */
871     };
872     static const ProtobufCIntRange osmpbf__primitive_group__number_ranges[1 + 1] =
873     {
874     { 1, 0 },
875     { 0, 5 }
876     };
877     const ProtobufCMessageDescriptor osmpbf__primitive_group__descriptor =
878     {
879     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
880     "OSMPBF.PrimitiveGroup",
881     "PrimitiveGroup",
882     "OSMPBF__PrimitiveGroup",
883     "OSMPBF",
884     sizeof(OSMPBF__PrimitiveGroup),
885     5,
886     osmpbf__primitive_group__field_descriptors,
887     osmpbf__primitive_group__field_indices_by_name,
888     1, osmpbf__primitive_group__number_ranges,
889     (ProtobufCMessageInit) osmpbf__primitive_group__init,
890     NULL,NULL,NULL /* reserved[123] */
891     };
892     static const ProtobufCFieldDescriptor osmpbf__string_table__field_descriptors[1] =
893     {
894     {
895     "s",
896     1,
897     PROTOBUF_C_LABEL_REPEATED,
898     PROTOBUF_C_TYPE_BYTES,
899     PROTOBUF_C_OFFSETOF(OSMPBF__StringTable, n_s),
900     PROTOBUF_C_OFFSETOF(OSMPBF__StringTable, s),
901     NULL,
902     NULL,
903     0, /* packed */
904     0,NULL,NULL /* reserved1,reserved2, etc */
905     },
906     };
907     static const unsigned osmpbf__string_table__field_indices_by_name[] = {
908     0, /* field[0] = s */
909     };
910     static const ProtobufCIntRange osmpbf__string_table__number_ranges[1 + 1] =
911     {
912     { 1, 0 },
913     { 0, 1 }
914     };
915     const ProtobufCMessageDescriptor osmpbf__string_table__descriptor =
916     {
917     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
918     "OSMPBF.StringTable",
919     "StringTable",
920     "OSMPBF__StringTable",
921     "OSMPBF",
922     sizeof(OSMPBF__StringTable),
923     1,
924     osmpbf__string_table__field_descriptors,
925     osmpbf__string_table__field_indices_by_name,
926     1, osmpbf__string_table__number_ranges,
927     (ProtobufCMessageInit) osmpbf__string_table__init,
928     NULL,NULL,NULL /* reserved[123] */
929     };
930     static const int32_t osmpbf__info__version__default_value = -1;
931     static const ProtobufCFieldDescriptor osmpbf__info__field_descriptors[5] =
932     {
933     {
934     "version",
935     1,
936     PROTOBUF_C_LABEL_OPTIONAL,
937     PROTOBUF_C_TYPE_INT32,
938     PROTOBUF_C_OFFSETOF(OSMPBF__Info, has_version),
939     PROTOBUF_C_OFFSETOF(OSMPBF__Info, version),
940     NULL,
941     &osmpbf__info__version__default_value,
942     0, /* packed */
943     0,NULL,NULL /* reserved1,reserved2, etc */
944     },
945     {
946     "timestamp",
947     2,
948     PROTOBUF_C_LABEL_OPTIONAL,
949     PROTOBUF_C_TYPE_INT64,
950     PROTOBUF_C_OFFSETOF(OSMPBF__Info, has_timestamp),
951     PROTOBUF_C_OFFSETOF(OSMPBF__Info, timestamp),
952     NULL,
953     NULL,
954     0, /* packed */
955     0,NULL,NULL /* reserved1,reserved2, etc */
956     },
957     {
958     "changeset",
959     3,
960     PROTOBUF_C_LABEL_OPTIONAL,
961     PROTOBUF_C_TYPE_INT64,
962     PROTOBUF_C_OFFSETOF(OSMPBF__Info, has_changeset),
963     PROTOBUF_C_OFFSETOF(OSMPBF__Info, changeset),
964     NULL,
965     NULL,
966     0, /* packed */
967     0,NULL,NULL /* reserved1,reserved2, etc */
968     },
969     {
970     "uid",
971     4,
972     PROTOBUF_C_LABEL_OPTIONAL,
973     PROTOBUF_C_TYPE_INT32,
974     PROTOBUF_C_OFFSETOF(OSMPBF__Info, has_uid),
975     PROTOBUF_C_OFFSETOF(OSMPBF__Info, uid),
976     NULL,
977     NULL,
978     0, /* packed */
979     0,NULL,NULL /* reserved1,reserved2, etc */
980     },
981     {
982     "user_sid",
983     5,
984     PROTOBUF_C_LABEL_OPTIONAL,
985     PROTOBUF_C_TYPE_UINT32,
986     PROTOBUF_C_OFFSETOF(OSMPBF__Info, has_user_sid),
987     PROTOBUF_C_OFFSETOF(OSMPBF__Info, user_sid),
988     NULL,
989     NULL,
990     0, /* packed */
991     0,NULL,NULL /* reserved1,reserved2, etc */
992     },
993     };
994     static const unsigned osmpbf__info__field_indices_by_name[] = {
995     2, /* field[2] = changeset */
996     1, /* field[1] = timestamp */
997     3, /* field[3] = uid */
998     4, /* field[4] = user_sid */
999     0, /* field[0] = version */
1000     };
1001     static const ProtobufCIntRange osmpbf__info__number_ranges[1 + 1] =
1002     {
1003     { 1, 0 },
1004     { 0, 5 }
1005     };
1006     const ProtobufCMessageDescriptor osmpbf__info__descriptor =
1007     {
1008     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1009     "OSMPBF.Info",
1010     "Info",
1011     "OSMPBF__Info",
1012     "OSMPBF",
1013     sizeof(OSMPBF__Info),
1014     5,
1015     osmpbf__info__field_descriptors,
1016     osmpbf__info__field_indices_by_name,
1017     1, osmpbf__info__number_ranges,
1018     (ProtobufCMessageInit) osmpbf__info__init,
1019     NULL,NULL,NULL /* reserved[123] */
1020     };
1021     static const ProtobufCFieldDescriptor osmpbf__dense_info__field_descriptors[5] =
1022     {
1023     {
1024     "version",
1025     1,
1026     PROTOBUF_C_LABEL_REPEATED,
1027     PROTOBUF_C_TYPE_INT32,
1028     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, n_version),
1029     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, version),
1030     NULL,
1031     NULL,
1032     1, /* packed */
1033     0,NULL,NULL /* reserved1,reserved2, etc */
1034     },
1035     {
1036     "timestamp",
1037     2,
1038     PROTOBUF_C_LABEL_REPEATED,
1039     PROTOBUF_C_TYPE_SINT64,
1040     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, n_timestamp),
1041     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, timestamp),
1042     NULL,
1043     NULL,
1044     1, /* packed */
1045     0,NULL,NULL /* reserved1,reserved2, etc */
1046     },
1047     {
1048     "changeset",
1049     3,
1050     PROTOBUF_C_LABEL_REPEATED,
1051     PROTOBUF_C_TYPE_SINT64,
1052     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, n_changeset),
1053     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, changeset),
1054     NULL,
1055     NULL,
1056     1, /* packed */
1057     0,NULL,NULL /* reserved1,reserved2, etc */
1058     },
1059     {
1060     "uid",
1061     4,
1062     PROTOBUF_C_LABEL_REPEATED,
1063     PROTOBUF_C_TYPE_SINT32,
1064     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, n_uid),
1065     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, uid),
1066     NULL,
1067     NULL,
1068     1, /* packed */
1069     0,NULL,NULL /* reserved1,reserved2, etc */
1070     },
1071     {
1072     "user_sid",
1073     5,
1074     PROTOBUF_C_LABEL_REPEATED,
1075     PROTOBUF_C_TYPE_SINT32,
1076     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, n_user_sid),
1077     PROTOBUF_C_OFFSETOF(OSMPBF__DenseInfo, user_sid),
1078     NULL,
1079     NULL,
1080     1, /* packed */
1081     0,NULL,NULL /* reserved1,reserved2, etc */
1082     },
1083     };
1084     static const unsigned osmpbf__dense_info__field_indices_by_name[] = {
1085     2, /* field[2] = changeset */
1086     1, /* field[1] = timestamp */
1087     3, /* field[3] = uid */
1088     4, /* field[4] = user_sid */
1089     0, /* field[0] = version */
1090     };
1091     static const ProtobufCIntRange osmpbf__dense_info__number_ranges[1 + 1] =
1092     {
1093     { 1, 0 },
1094     { 0, 5 }
1095     };
1096     const ProtobufCMessageDescriptor osmpbf__dense_info__descriptor =
1097     {
1098     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1099     "OSMPBF.DenseInfo",
1100     "DenseInfo",
1101     "OSMPBF__DenseInfo",
1102     "OSMPBF",
1103     sizeof(OSMPBF__DenseInfo),
1104     5,
1105     osmpbf__dense_info__field_descriptors,
1106     osmpbf__dense_info__field_indices_by_name,
1107     1, osmpbf__dense_info__number_ranges,
1108     (ProtobufCMessageInit) osmpbf__dense_info__init,
1109     NULL,NULL,NULL /* reserved[123] */
1110     };
1111     static const ProtobufCFieldDescriptor osmpbf__change_set__field_descriptors[1] =
1112     {
1113     {
1114     "id",
1115     1,
1116     PROTOBUF_C_LABEL_REQUIRED,
1117     PROTOBUF_C_TYPE_INT64,
1118     0, /* quantifier_offset */
1119     PROTOBUF_C_OFFSETOF(OSMPBF__ChangeSet, id),
1120     NULL,
1121     NULL,
1122     0, /* packed */
1123     0,NULL,NULL /* reserved1,reserved2, etc */
1124     },
1125     };
1126     static const unsigned osmpbf__change_set__field_indices_by_name[] = {
1127     0, /* field[0] = id */
1128     };
1129     static const ProtobufCIntRange osmpbf__change_set__number_ranges[1 + 1] =
1130     {
1131     { 1, 0 },
1132     { 0, 1 }
1133     };
1134     const ProtobufCMessageDescriptor osmpbf__change_set__descriptor =
1135     {
1136     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1137     "OSMPBF.ChangeSet",
1138     "ChangeSet",
1139     "OSMPBF__ChangeSet",
1140     "OSMPBF",
1141     sizeof(OSMPBF__ChangeSet),
1142     1,
1143     osmpbf__change_set__field_descriptors,
1144     osmpbf__change_set__field_indices_by_name,
1145     1, osmpbf__change_set__number_ranges,
1146     (ProtobufCMessageInit) osmpbf__change_set__init,
1147     NULL,NULL,NULL /* reserved[123] */
1148     };
1149     static const ProtobufCFieldDescriptor osmpbf__node__field_descriptors[6] =
1150     {
1151     {
1152     "id",
1153     1,
1154     PROTOBUF_C_LABEL_REQUIRED,
1155     PROTOBUF_C_TYPE_SINT64,
1156     0, /* quantifier_offset */
1157     PROTOBUF_C_OFFSETOF(OSMPBF__Node, id),
1158     NULL,
1159     NULL,
1160     0, /* packed */
1161     0,NULL,NULL /* reserved1,reserved2, etc */
1162     },
1163     {
1164     "keys",
1165     2,
1166     PROTOBUF_C_LABEL_REPEATED,
1167     PROTOBUF_C_TYPE_UINT32,
1168     PROTOBUF_C_OFFSETOF(OSMPBF__Node, n_keys),
1169     PROTOBUF_C_OFFSETOF(OSMPBF__Node, keys),
1170     NULL,
1171     NULL,
1172     1, /* packed */
1173     0,NULL,NULL /* reserved1,reserved2, etc */
1174     },
1175     {
1176     "vals",
1177     3,
1178     PROTOBUF_C_LABEL_REPEATED,
1179     PROTOBUF_C_TYPE_UINT32,
1180     PROTOBUF_C_OFFSETOF(OSMPBF__Node, n_vals),
1181     PROTOBUF_C_OFFSETOF(OSMPBF__Node, vals),
1182     NULL,
1183     NULL,
1184     1, /* packed */
1185     0,NULL,NULL /* reserved1,reserved2, etc */
1186     },
1187     {
1188     "info",
1189     4,
1190     PROTOBUF_C_LABEL_OPTIONAL,
1191     PROTOBUF_C_TYPE_MESSAGE,
1192     0, /* quantifier_offset */
1193     PROTOBUF_C_OFFSETOF(OSMPBF__Node, info),
1194     &osmpbf__info__descriptor,
1195     NULL,
1196     0, /* packed */
1197     0,NULL,NULL /* reserved1,reserved2, etc */
1198     },
1199     {
1200     "lat",
1201     8,
1202     PROTOBUF_C_LABEL_REQUIRED,
1203     PROTOBUF_C_TYPE_SINT64,
1204     0, /* quantifier_offset */
1205     PROTOBUF_C_OFFSETOF(OSMPBF__Node, lat),
1206     NULL,
1207     NULL,
1208     0, /* packed */
1209     0,NULL,NULL /* reserved1,reserved2, etc */
1210     },
1211     {
1212     "lon",
1213     9,
1214     PROTOBUF_C_LABEL_REQUIRED,
1215     PROTOBUF_C_TYPE_SINT64,
1216     0, /* quantifier_offset */
1217     PROTOBUF_C_OFFSETOF(OSMPBF__Node, lon),
1218     NULL,
1219     NULL,
1220     0, /* packed */
1221     0,NULL,NULL /* reserved1,reserved2, etc */
1222     },
1223     };
1224     static const unsigned osmpbf__node__field_indices_by_name[] = {
1225     0, /* field[0] = id */
1226     3, /* field[3] = info */
1227     1, /* field[1] = keys */
1228     4, /* field[4] = lat */
1229     5, /* field[5] = lon */
1230     2, /* field[2] = vals */
1231     };
1232     static const ProtobufCIntRange osmpbf__node__number_ranges[2 + 1] =
1233     {
1234     { 1, 0 },
1235     { 8, 4 },
1236     { 0, 6 }
1237     };
1238     const ProtobufCMessageDescriptor osmpbf__node__descriptor =
1239     {
1240     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1241     "OSMPBF.Node",
1242     "Node",
1243     "OSMPBF__Node",
1244     "OSMPBF",
1245     sizeof(OSMPBF__Node),
1246     6,
1247     osmpbf__node__field_descriptors,
1248     osmpbf__node__field_indices_by_name,
1249     2, osmpbf__node__number_ranges,
1250     (ProtobufCMessageInit) osmpbf__node__init,
1251     NULL,NULL,NULL /* reserved[123] */
1252     };
1253     static const ProtobufCFieldDescriptor osmpbf__dense_nodes__field_descriptors[5] =
1254     {
1255     {
1256     "id",
1257     1,
1258     PROTOBUF_C_LABEL_REPEATED,
1259     PROTOBUF_C_TYPE_SINT64,
1260     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, n_id),
1261     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, id),
1262     NULL,
1263     NULL,
1264     1, /* packed */
1265     0,NULL,NULL /* reserved1,reserved2, etc */
1266     },
1267     {
1268     "denseinfo",
1269     5,
1270     PROTOBUF_C_LABEL_OPTIONAL,
1271     PROTOBUF_C_TYPE_MESSAGE,
1272     0, /* quantifier_offset */
1273     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, denseinfo),
1274     &osmpbf__dense_info__descriptor,
1275     NULL,
1276     0, /* packed */
1277     0,NULL,NULL /* reserved1,reserved2, etc */
1278     },
1279     {
1280     "lat",
1281     8,
1282     PROTOBUF_C_LABEL_REPEATED,
1283     PROTOBUF_C_TYPE_SINT64,
1284     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, n_lat),
1285     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, lat),
1286     NULL,
1287     NULL,
1288     1, /* packed */
1289     0,NULL,NULL /* reserved1,reserved2, etc */
1290     },
1291     {
1292     "lon",
1293     9,
1294     PROTOBUF_C_LABEL_REPEATED,
1295     PROTOBUF_C_TYPE_SINT64,
1296     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, n_lon),
1297     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, lon),
1298     NULL,
1299     NULL,
1300     1, /* packed */
1301     0,NULL,NULL /* reserved1,reserved2, etc */
1302     },
1303     {
1304     "keys_vals",
1305     10,
1306     PROTOBUF_C_LABEL_REPEATED,
1307     PROTOBUF_C_TYPE_INT32,
1308     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, n_keys_vals),
1309     PROTOBUF_C_OFFSETOF(OSMPBF__DenseNodes, keys_vals),
1310     NULL,
1311     NULL,
1312     1, /* packed */
1313     0,NULL,NULL /* reserved1,reserved2, etc */
1314     },
1315     };
1316     static const unsigned osmpbf__dense_nodes__field_indices_by_name[] = {
1317     1, /* field[1] = denseinfo */
1318     0, /* field[0] = id */
1319     4, /* field[4] = keys_vals */
1320     2, /* field[2] = lat */
1321     3, /* field[3] = lon */
1322     };
1323     static const ProtobufCIntRange osmpbf__dense_nodes__number_ranges[3 + 1] =
1324     {
1325     { 1, 0 },
1326     { 5, 1 },
1327     { 8, 2 },
1328     { 0, 5 }
1329     };
1330     const ProtobufCMessageDescriptor osmpbf__dense_nodes__descriptor =
1331     {
1332     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1333     "OSMPBF.DenseNodes",
1334     "DenseNodes",
1335     "OSMPBF__DenseNodes",
1336     "OSMPBF",
1337     sizeof(OSMPBF__DenseNodes),
1338     5,
1339     osmpbf__dense_nodes__field_descriptors,
1340     osmpbf__dense_nodes__field_indices_by_name,
1341     3, osmpbf__dense_nodes__number_ranges,
1342     (ProtobufCMessageInit) osmpbf__dense_nodes__init,
1343     NULL,NULL,NULL /* reserved[123] */
1344     };
1345     static const ProtobufCFieldDescriptor osmpbf__way__field_descriptors[5] =
1346     {
1347     {
1348     "id",
1349     1,
1350     PROTOBUF_C_LABEL_REQUIRED,
1351     PROTOBUF_C_TYPE_INT64,
1352     0, /* quantifier_offset */
1353     PROTOBUF_C_OFFSETOF(OSMPBF__Way, id),
1354     NULL,
1355     NULL,
1356     0, /* packed */
1357     0,NULL,NULL /* reserved1,reserved2, etc */
1358     },
1359     {
1360     "keys",
1361     2,
1362     PROTOBUF_C_LABEL_REPEATED,
1363     PROTOBUF_C_TYPE_UINT32,
1364     PROTOBUF_C_OFFSETOF(OSMPBF__Way, n_keys),
1365     PROTOBUF_C_OFFSETOF(OSMPBF__Way, keys),
1366     NULL,
1367     NULL,
1368     1, /* packed */
1369     0,NULL,NULL /* reserved1,reserved2, etc */
1370     },
1371     {
1372     "vals",
1373     3,
1374     PROTOBUF_C_LABEL_REPEATED,
1375     PROTOBUF_C_TYPE_UINT32,
1376     PROTOBUF_C_OFFSETOF(OSMPBF__Way, n_vals),
1377     PROTOBUF_C_OFFSETOF(OSMPBF__Way, vals),
1378     NULL,
1379     NULL,
1380     1, /* packed */
1381     0,NULL,NULL /* reserved1,reserved2, etc */
1382     },
1383     {
1384     "info",
1385     4,
1386     PROTOBUF_C_LABEL_OPTIONAL,
1387     PROTOBUF_C_TYPE_MESSAGE,
1388     0, /* quantifier_offset */
1389     PROTOBUF_C_OFFSETOF(OSMPBF__Way, info),
1390     &osmpbf__info__descriptor,
1391     NULL,
1392     0, /* packed */
1393     0,NULL,NULL /* reserved1,reserved2, etc */
1394     },
1395     {
1396     "refs",
1397     8,
1398     PROTOBUF_C_LABEL_REPEATED,
1399     PROTOBUF_C_TYPE_SINT64,
1400     PROTOBUF_C_OFFSETOF(OSMPBF__Way, n_refs),
1401     PROTOBUF_C_OFFSETOF(OSMPBF__Way, refs),
1402     NULL,
1403     NULL,
1404     1, /* packed */
1405     0,NULL,NULL /* reserved1,reserved2, etc */
1406     },
1407     };
1408     static const unsigned osmpbf__way__field_indices_by_name[] = {
1409     0, /* field[0] = id */
1410     3, /* field[3] = info */
1411     1, /* field[1] = keys */
1412     4, /* field[4] = refs */
1413     2, /* field[2] = vals */
1414     };
1415     static const ProtobufCIntRange osmpbf__way__number_ranges[2 + 1] =
1416     {
1417     { 1, 0 },
1418     { 8, 4 },
1419     { 0, 5 }
1420     };
1421     const ProtobufCMessageDescriptor osmpbf__way__descriptor =
1422     {
1423     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1424     "OSMPBF.Way",
1425     "Way",
1426     "OSMPBF__Way",
1427     "OSMPBF",
1428     sizeof(OSMPBF__Way),
1429     5,
1430     osmpbf__way__field_descriptors,
1431     osmpbf__way__field_indices_by_name,
1432     2, osmpbf__way__number_ranges,
1433     (ProtobufCMessageInit) osmpbf__way__init,
1434     NULL,NULL,NULL /* reserved[123] */
1435     };
1436     const ProtobufCEnumValue osmpbf__relation__member_type__enum_values_by_number[3] =
1437     {
1438     { "NODE", "OSMPBF__RELATION__MEMBER_TYPE__NODE", 0 },
1439     { "WAY", "OSMPBF__RELATION__MEMBER_TYPE__WAY", 1 },
1440     { "RELATION", "OSMPBF__RELATION__MEMBER_TYPE__RELATION", 2 },
1441     };
1442     static const ProtobufCIntRange osmpbf__relation__member_type__value_ranges[] = {
1443     {0, 0},{0, 3}
1444     };
1445     const ProtobufCEnumValueIndex osmpbf__relation__member_type__enum_values_by_name[3] =
1446     {
1447     { "NODE", 0 },
1448     { "RELATION", 2 },
1449     { "WAY", 1 },
1450     };
1451     const ProtobufCEnumDescriptor osmpbf__relation__member_type__descriptor =
1452     {
1453     PROTOBUF_C_ENUM_DESCRIPTOR_MAGIC,
1454     "OSMPBF.Relation.MemberType",
1455     "MemberType",
1456     "OSMPBF__Relation__MemberType",
1457     "OSMPBF",
1458     3,
1459     osmpbf__relation__member_type__enum_values_by_number,
1460     3,
1461     osmpbf__relation__member_type__enum_values_by_name,
1462     1,
1463     osmpbf__relation__member_type__value_ranges,
1464     NULL,NULL,NULL,NULL /* reserved[1234] */
1465     };
1466     static const ProtobufCFieldDescriptor osmpbf__relation__field_descriptors[7] =
1467     {
1468     {
1469     "id",
1470     1,
1471     PROTOBUF_C_LABEL_REQUIRED,
1472     PROTOBUF_C_TYPE_INT64,
1473     0, /* quantifier_offset */
1474     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, id),
1475     NULL,
1476     NULL,
1477     0, /* packed */
1478     0,NULL,NULL /* reserved1,reserved2, etc */
1479     },
1480     {
1481     "keys",
1482     2,
1483     PROTOBUF_C_LABEL_REPEATED,
1484     PROTOBUF_C_TYPE_UINT32,
1485     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, n_keys),
1486     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, keys),
1487     NULL,
1488     NULL,
1489     1, /* packed */
1490     0,NULL,NULL /* reserved1,reserved2, etc */
1491     },
1492     {
1493     "vals",
1494     3,
1495     PROTOBUF_C_LABEL_REPEATED,
1496     PROTOBUF_C_TYPE_UINT32,
1497     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, n_vals),
1498     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, vals),
1499     NULL,
1500     NULL,
1501     1, /* packed */
1502     0,NULL,NULL /* reserved1,reserved2, etc */
1503     },
1504     {
1505     "info",
1506     4,
1507     PROTOBUF_C_LABEL_OPTIONAL,
1508     PROTOBUF_C_TYPE_MESSAGE,
1509     0, /* quantifier_offset */
1510     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, info),
1511     &osmpbf__info__descriptor,
1512     NULL,
1513     0, /* packed */
1514     0,NULL,NULL /* reserved1,reserved2, etc */
1515     },
1516     {
1517     "roles_sid",
1518     8,
1519     PROTOBUF_C_LABEL_REPEATED,
1520     PROTOBUF_C_TYPE_INT32,
1521     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, n_roles_sid),
1522     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, roles_sid),
1523     NULL,
1524     NULL,
1525     1, /* packed */
1526     0,NULL,NULL /* reserved1,reserved2, etc */
1527     },
1528     {
1529     "memids",
1530     9,
1531     PROTOBUF_C_LABEL_REPEATED,
1532     PROTOBUF_C_TYPE_SINT64,
1533     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, n_memids),
1534     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, memids),
1535     NULL,
1536     NULL,
1537     1, /* packed */
1538     0,NULL,NULL /* reserved1,reserved2, etc */
1539     },
1540     {
1541     "types",
1542     10,
1543     PROTOBUF_C_LABEL_REPEATED,
1544     PROTOBUF_C_TYPE_ENUM,
1545     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, n_types),
1546     PROTOBUF_C_OFFSETOF(OSMPBF__Relation, types),
1547     &osmpbf__relation__member_type__descriptor,
1548     NULL,
1549     1, /* packed */
1550     0,NULL,NULL /* reserved1,reserved2, etc */
1551     },
1552     };
1553     static const unsigned osmpbf__relation__field_indices_by_name[] = {
1554     0, /* field[0] = id */
1555     3, /* field[3] = info */
1556     1, /* field[1] = keys */
1557     5, /* field[5] = memids */
1558     4, /* field[4] = roles_sid */
1559     6, /* field[6] = types */
1560     2, /* field[2] = vals */
1561     };
1562     static const ProtobufCIntRange osmpbf__relation__number_ranges[2 + 1] =
1563     {
1564     { 1, 0 },
1565     { 8, 4 },
1566     { 0, 7 }
1567     };
1568     const ProtobufCMessageDescriptor osmpbf__relation__descriptor =
1569     {
1570     PROTOBUF_C_MESSAGE_DESCRIPTOR_MAGIC,
1571     "OSMPBF.Relation",
1572     "Relation",
1573     "OSMPBF__Relation",
1574     "OSMPBF",
1575     sizeof(OSMPBF__Relation),
1576     7,
1577     osmpbf__relation__field_descriptors,
1578     osmpbf__relation__field_indices_by_name,
1579     2, osmpbf__relation__number_ranges,
1580     (ProtobufCMessageInit) osmpbf__relation__init,
1581     NULL,NULL,NULL /* reserved[123] */
1582     };

   
Visit the ZANavi Wiki