navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
osmformat.pb-c.h
Go to the documentation of this file.
1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 
3 #ifndef PROTOBUF_C_osmformat_2eproto__INCLUDED
4 #define PROTOBUF_C_osmformat_2eproto__INCLUDED
5 
7 
9 
10 
16 typedef struct _OSMPBF__Info OSMPBF__Info;
19 typedef struct _OSMPBF__Node OSMPBF__Node;
21 typedef struct _OSMPBF__Way OSMPBF__Way;
23 
24 
25 /* --- enums --- */
26 
32 
33 /* --- messages --- */
34 
36 {
44  char *source;
45 };
46 #define OSMPBF__HEADER_BLOCK__INIT \
47  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__header_block__descriptor) \
48  , NULL, 0,NULL, 0,NULL, NULL, NULL }
49 
50 
52 {
54  int64_t left;
55  int64_t right;
56  int64_t top;
57  int64_t bottom;
58 };
59 #define OSMPBF__HEADER_BBOX__INIT \
60  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__header_bbox__descriptor) \
61  , 0, 0, 0, 0 }
62 
63 
65 {
71  int32_t granularity;
73  int64_t lat_offset;
75  int64_t lon_offset;
78 };
79 #define OSMPBF__PRIMITIVE_BLOCK__INIT \
80  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__primitive_block__descriptor) \
81  , NULL, 0,NULL, 0,100, 0,0, 0,0, 0,1000 }
82 
83 
85 {
87  size_t n_nodes;
90  size_t n_ways;
92  size_t n_relations;
94  size_t n_changesets;
96 };
97 #define OSMPBF__PRIMITIVE_GROUP__INIT \
98  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__primitive_group__descriptor) \
99  , 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL }
100 
101 
103 {
105  size_t n_s;
107 };
108 #define OSMPBF__STRING_TABLE__INIT \
109  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__string_table__descriptor) \
110  , 0,NULL }
111 
112 
114 {
117  int32_t version;
119  int64_t timestamp;
121  int64_t changeset;
123  int32_t uid;
125  uint32_t user_sid;
126 };
127 #define OSMPBF__INFO__INIT \
128  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__info__descriptor) \
129  , 0,-1, 0,0, 0,0, 0,0, 0,0 }
130 
131 
133 {
135  size_t n_version;
136  int32_t *version;
137  size_t n_timestamp;
138  int64_t *timestamp;
139  size_t n_changeset;
140  int64_t *changeset;
141  size_t n_uid;
142  int32_t *uid;
143  size_t n_user_sid;
144  int32_t *user_sid;
145 };
146 #define OSMPBF__DENSE_INFO__INIT \
147  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__dense_info__descriptor) \
148  , 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
149 
150 
152 {
154  int64_t id;
155 };
156 #define OSMPBF__CHANGE_SET__INIT \
157  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__change_set__descriptor) \
158  , 0 }
159 
160 
162 {
164  int64_t id;
165  size_t n_keys;
166  uint32_t *keys;
167  size_t n_vals;
168  uint32_t *vals;
170  int64_t lat;
171  int64_t lon;
172 };
173 #define OSMPBF__NODE__INIT \
174  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__node__descriptor) \
175  , 0, 0,NULL, 0,NULL, NULL, 0, 0 }
176 
177 
179 {
181  size_t n_id;
182  int64_t *id;
184  size_t n_lat;
185  int64_t *lat;
186  size_t n_lon;
187  int64_t *lon;
188  size_t n_keys_vals;
189  int32_t *keys_vals;
190 };
191 #define OSMPBF__DENSE_NODES__INIT \
192  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__dense_nodes__descriptor) \
193  , 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL }
194 
195 
197 {
199  int64_t id;
200  size_t n_keys;
201  uint32_t *keys;
202  size_t n_vals;
203  uint32_t *vals;
205  size_t n_refs;
206  int64_t *refs;
207 };
208 #define OSMPBF__WAY__INIT \
209  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__way__descriptor) \
210  , 0, 0,NULL, 0,NULL, NULL, 0,NULL }
211 
212 
214 {
216  int64_t id;
217  size_t n_keys;
218  uint32_t *keys;
219  size_t n_vals;
220  uint32_t *vals;
222  size_t n_roles_sid;
223  int32_t *roles_sid;
224  size_t n_memids;
225  int64_t *memids;
226  size_t n_types;
228 };
229 #define OSMPBF__RELATION__INIT \
230  { PROTOBUF_C_MESSAGE_INIT (&osmpbf__relation__descriptor) \
231  , 0, 0,NULL, 0,NULL, NULL, 0,NULL, 0,NULL, 0,NULL }
232 
233 
234 /* OSMPBF__HeaderBlock methods */
238  (const OSMPBF__HeaderBlock *message);
241  uint8_t *out);
247  (ProtobufCAllocator *allocator,
248  size_t len,
249  const uint8_t *data);
252  ProtobufCAllocator *allocator);
253 /* OSMPBF__HeaderBBox methods */
257  (const OSMPBF__HeaderBBox *message);
259  (const OSMPBF__HeaderBBox *message,
260  uint8_t *out);
262  (const OSMPBF__HeaderBBox *message,
266  (ProtobufCAllocator *allocator,
267  size_t len,
268  const uint8_t *data);
271  ProtobufCAllocator *allocator);
272 /* OSMPBF__PrimitiveBlock methods */
279  uint8_t *out);
285  (ProtobufCAllocator *allocator,
286  size_t len,
287  const uint8_t *data);
290  ProtobufCAllocator *allocator);
291 /* OSMPBF__PrimitiveGroup methods */
298  uint8_t *out);
304  (ProtobufCAllocator *allocator,
305  size_t len,
306  const uint8_t *data);
309  ProtobufCAllocator *allocator);
310 /* OSMPBF__StringTable methods */
314  (const OSMPBF__StringTable *message);
317  uint8_t *out);
323  (ProtobufCAllocator *allocator,
324  size_t len,
325  const uint8_t *data);
328  ProtobufCAllocator *allocator);
329 /* OSMPBF__Info methods */
333  (const OSMPBF__Info *message);
334 size_t osmpbf__info__pack
335  (const OSMPBF__Info *message,
336  uint8_t *out);
338  (const OSMPBF__Info *message,
340 OSMPBF__Info *
342  (ProtobufCAllocator *allocator,
343  size_t len,
344  const uint8_t *data);
347  ProtobufCAllocator *allocator);
348 /* OSMPBF__DenseInfo methods */
352  (const OSMPBF__DenseInfo *message);
354  (const OSMPBF__DenseInfo *message,
355  uint8_t *out);
357  (const OSMPBF__DenseInfo *message,
361  (ProtobufCAllocator *allocator,
362  size_t len,
363  const uint8_t *data);
366  ProtobufCAllocator *allocator);
367 /* OSMPBF__ChangeSet methods */
371  (const OSMPBF__ChangeSet *message);
373  (const OSMPBF__ChangeSet *message,
374  uint8_t *out);
376  (const OSMPBF__ChangeSet *message,
380  (ProtobufCAllocator *allocator,
381  size_t len,
382  const uint8_t *data);
385  ProtobufCAllocator *allocator);
386 /* OSMPBF__Node methods */
390  (const OSMPBF__Node *message);
391 size_t osmpbf__node__pack
392  (const OSMPBF__Node *message,
393  uint8_t *out);
395  (const OSMPBF__Node *message,
397 OSMPBF__Node *
399  (ProtobufCAllocator *allocator,
400  size_t len,
401  const uint8_t *data);
404  ProtobufCAllocator *allocator);
405 /* OSMPBF__DenseNodes methods */
409  (const OSMPBF__DenseNodes *message);
411  (const OSMPBF__DenseNodes *message,
412  uint8_t *out);
414  (const OSMPBF__DenseNodes *message,
418  (ProtobufCAllocator *allocator,
419  size_t len,
420  const uint8_t *data);
423  ProtobufCAllocator *allocator);
424 /* OSMPBF__Way methods */
426  (OSMPBF__Way *message);
428  (const OSMPBF__Way *message);
429 size_t osmpbf__way__pack
430  (const OSMPBF__Way *message,
431  uint8_t *out);
433  (const OSMPBF__Way *message,
435 OSMPBF__Way *
437  (ProtobufCAllocator *allocator,
438  size_t len,
439  const uint8_t *data);
442  ProtobufCAllocator *allocator);
443 /* OSMPBF__Relation methods */
447  (const OSMPBF__Relation *message);
449  (const OSMPBF__Relation *message,
450  uint8_t *out);
452  (const OSMPBF__Relation *message,
456  (ProtobufCAllocator *allocator,
457  size_t len,
458  const uint8_t *data);
461  ProtobufCAllocator *allocator);
462 /* --- per-message closures --- */
463 
464 typedef void (*OSMPBF__HeaderBlock_Closure)
466  void *closure_data);
467 typedef void (*OSMPBF__HeaderBBox_Closure)
469  void *closure_data);
470 typedef void (*OSMPBF__PrimitiveBlock_Closure)
471  (const OSMPBF__PrimitiveBlock *message,
472  void *closure_data);
473 typedef void (*OSMPBF__PrimitiveGroup_Closure)
474  (const OSMPBF__PrimitiveGroup *message,
475  void *closure_data);
476 typedef void (*OSMPBF__StringTable_Closure)
477  (const OSMPBF__StringTable *message,
478  void *closure_data);
479 typedef void (*OSMPBF__Info_Closure)
480  (const OSMPBF__Info *message,
481  void *closure_data);
482 typedef void (*OSMPBF__DenseInfo_Closure)
483  (const OSMPBF__DenseInfo *message,
484  void *closure_data);
485 typedef void (*OSMPBF__ChangeSet_Closure)
486  (const OSMPBF__ChangeSet *message,
487  void *closure_data);
488 typedef void (*OSMPBF__Node_Closure)
489  (const OSMPBF__Node *message,
490  void *closure_data);
491 typedef void (*OSMPBF__DenseNodes_Closure)
492  (const OSMPBF__DenseNodes *message,
493  void *closure_data);
494 typedef void (*OSMPBF__Way_Closure)
495  (const OSMPBF__Way *message,
496  void *closure_data);
497 typedef void (*OSMPBF__Relation_Closure)
498  (const OSMPBF__Relation *message,
499  void *closure_data);
500 
501 /* --- services --- */
502 
503 
504 /* --- descriptors --- */
505 
519 
521 
522 
523 #endif /* PROTOBUF_osmformat_2eproto__INCLUDED */
typedefPROTOBUF_C_BEGIN_DECLS struct _OSMPBF__HeaderBlock OSMPBF__HeaderBlock
Definition: osmformat.pb-c.h:11
void(* OSMPBF__Info_Closure)(const OSMPBF__Info *message, void *closure_data)
Definition: osmformat.pb-c.h:480
OSMPBF__Info * info
Definition: osmformat.pb-c.h:169
void osmpbf__dense_nodes__init(OSMPBF__DenseNodes *message)
Definition: osmformat.pb-c.c:397
const ProtobufCMessageDescriptor osmpbf__relation__descriptor
Definition: osmformat.pb-c.c:1568
void osmpbf__header_block__free_unpacked(OSMPBF__HeaderBlock *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:46
protobuf_c_boolean has_lat_offset
Definition: osmformat.pb-c.h:72
int64_t id
Definition: osmformat.pb-c.h:216
void(* OSMPBF__HeaderBlock_Closure)(const OSMPBF__HeaderBlock *message, void *closure_data)
Definition: osmformat.pb-c.h:465
ProtobufCMessage base
Definition: osmformat.pb-c.h:198
Definition: messages.h:25
void(* OSMPBF__Relation_Closure)(const OSMPBF__Relation *message, void *closure_data)
Definition: osmformat.pb-c.h:498
void osmpbf__relation__free_unpacked(OSMPBF__Relation *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:519
OSMPBF__Way * osmpbf__way__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:467
size_t n_types
Definition: osmformat.pb-c.h:226
size_t n_user_sid
Definition: osmformat.pb-c.h:143
void osmpbf__primitive_group__init(OSMPBF__PrimitiveGroup *message)
Definition: osmformat.pb-c.c:139
ProtobufCMessage base
Definition: osmformat.pb-c.h:180
const ProtobufCMessageDescriptor osmpbf__way__descriptor
Definition: osmformat.pb-c.c:1421
void osmpbf__change_set__init(OSMPBF__ChangeSet *message)
Definition: osmformat.pb-c.c:311
int64_t right
Definition: osmformat.pb-c.h:55
size_t osmpbf__node__pack_to_buffer(const OSMPBF__Node *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:373
protobuf_c_boolean has_uid
Definition: osmformat.pb-c.h:122
int32_t * uid
Definition: osmformat.pb-c.h:142
const ProtobufCMessageDescriptor osmpbf__header_block__descriptor
Definition: osmformat.pb-c.c:602
OSMPBF__DenseNodes * dense
Definition: osmformat.pb-c.h:89
Definition: protobuf-c.h:256
void osmpbf__primitive_block__free_unpacked(OSMPBF__PrimitiveBlock *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:132
size_t osmpbf__info__get_packed_size(const OSMPBF__Info *message)
Definition: osmformat.pb-c.c:231
int64_t lat_offset
Definition: osmformat.pb-c.h:73
void osmpbf__primitive_block__init(OSMPBF__PrimitiveBlock *message)
Definition: osmformat.pb-c.c:96
OSMPBF__PrimitiveBlock * osmpbf__primitive_block__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:123
Definition: osmformat.pb-c.h:29
void(* OSMPBF__ChangeSet_Closure)(const OSMPBF__ChangeSet *message, void *closure_data)
Definition: osmformat.pb-c.h:486
ProtobufCBinaryData * s
Definition: osmformat.pb-c.h:106
int64_t bottom
Definition: osmformat.pb-c.h:57
void osmpbf__header_bbox__init(OSMPBF__HeaderBBox *message)
Definition: osmformat.pb-c.c:53
size_t osmpbf__primitive_group__pack(const OSMPBF__PrimitiveGroup *message, uint8_t *out)
Definition: osmformat.pb-c.c:151
Definition: protobuf-c.h:304
Definition: osmformat.pb-c.h:196
OSMPBF__HeaderBBox * bbox
Definition: osmformat.pb-c.h:38
size_t osmpbf__dense_nodes__get_packed_size(const OSMPBF__DenseNodes *message)
Definition: osmformat.pb-c.c:403
size_t n_roles_sid
Definition: osmformat.pb-c.h:222
Definition: osmformat.pb-c.h:213
const ProtobufCMessageDescriptor osmpbf__dense_info__descriptor
Definition: osmformat.pb-c.c:1096
const ProtobufCMessageDescriptor osmpbf__change_set__descriptor
Definition: osmformat.pb-c.c:1134
size_t osmpbf__relation__get_packed_size(const OSMPBF__Relation *message)
Definition: osmformat.pb-c.c:489
Definition: osmformat.pb-c.h:178
size_t osmpbf__dense_info__pack(const OSMPBF__DenseInfo *message, uint8_t *out)
Definition: osmformat.pb-c.c:280
enum _OSMPBF__Relation__MemberType OSMPBF__Relation__MemberType
size_t osmpbf__header_block__pack(const OSMPBF__HeaderBlock *message, uint8_t *out)
Definition: osmformat.pb-c.c:22
uint32_t * vals
Definition: osmformat.pb-c.h:203
Definition: osmformat.pb-c.h:113
OSMPBF__Node ** nodes
Definition: osmformat.pb-c.h:88
int32_t * roles_sid
Definition: osmformat.pb-c.h:223
Definition: osmformat.pb-c.h:102
Definition: osmformat.pb-c.h:151
uint32_t * keys
Definition: osmformat.pb-c.h:166
size_t n_nodes
Definition: osmformat.pb-c.h:87
protobuf_c_boolean has_timestamp
Definition: osmformat.pb-c.h:118
void osmpbf__way__init(OSMPBF__Way *message)
Definition: osmformat.pb-c.c:440
uint32_t * vals
Definition: osmformat.pb-c.h:168
size_t n_ways
Definition: osmformat.pb-c.h:90
size_t osmpbf__primitive_block__pack(const OSMPBF__PrimitiveBlock *message, uint8_t *out)
Definition: osmformat.pb-c.c:108
size_t n_memids
Definition: osmformat.pb-c.h:224
OSMPBF__Relation ** relations
Definition: osmformat.pb-c.h:93
int64_t * memids
Definition: osmformat.pb-c.h:225
OSMPBF__HeaderBBox * osmpbf__header_bbox__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:80
size_t osmpbf__header_bbox__pack_to_buffer(const OSMPBF__HeaderBBox *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:72
size_t n_relations
Definition: osmformat.pb-c.h:92
OSMPBF__Info * info
Definition: osmformat.pb-c.h:204
char * writingprogram
Definition: osmformat.pb-c.h:43
OSMPBF__PrimitiveGroup * osmpbf__primitive_group__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:166
size_t osmpbf__header_bbox__get_packed_size(const OSMPBF__HeaderBBox *message)
Definition: osmformat.pb-c.c:59
void(* OSMPBF__HeaderBBox_Closure)(const OSMPBF__HeaderBBox *message, void *closure_data)
Definition: osmformat.pb-c.h:468
void(* OSMPBF__Node_Closure)(const OSMPBF__Node *message, void *closure_data)
Definition: osmformat.pb-c.h:489
protobuf_c_boolean has_user_sid
Definition: osmformat.pb-c.h:124
OSMPBF__DenseInfo * osmpbf__dense_info__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:295
protobuf_c_boolean has_version
Definition: osmformat.pb-c.h:116
size_t osmpbf__dense_nodes__pack(const OSMPBF__DenseNodes *message, uint8_t *out)
Definition: osmformat.pb-c.c:409
int64_t id
Definition: osmformat.pb-c.h:164
OSMPBF__Relation__MemberType * types
Definition: osmformat.pb-c.h:227
ProtobufCMessage base
Definition: osmformat.pb-c.h:163
void(* OSMPBF__PrimitiveGroup_Closure)(const OSMPBF__PrimitiveGroup *message, void *closure_data)
Definition: osmformat.pb-c.h:474
size_t osmpbf__change_set__pack_to_buffer(const OSMPBF__ChangeSet *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:330
size_t n_changeset
Definition: osmformat.pb-c.h:139
size_t osmpbf__change_set__get_packed_size(const OSMPBF__ChangeSet *message)
Definition: osmformat.pb-c.c:317
size_t osmpbf__way__get_packed_size(const OSMPBF__Way *message)
Definition: osmformat.pb-c.c:446
size_t n_refs
Definition: osmformat.pb-c.h:205
void(* OSMPBF__StringTable_Closure)(const OSMPBF__StringTable *message, void *closure_data)
Definition: osmformat.pb-c.h:477
void osmpbf__way__free_unpacked(OSMPBF__Way *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:476
char ** optional_features
Definition: osmformat.pb-c.h:42
size_t osmpbf__way__pack_to_buffer(const OSMPBF__Way *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:459
size_t n_id
Definition: osmformat.pb-c.h:181
void osmpbf__header_block__init(OSMPBF__HeaderBlock *message)
Definition: osmformat.pb-c.c:10
size_t n_lon
Definition: osmformat.pb-c.h:186
OSMPBF__ChangeSet ** changesets
Definition: osmformat.pb-c.h:95
int32_t date_granularity
Definition: osmformat.pb-c.h:77
void osmpbf__string_table__init(OSMPBF__StringTable *message)
Definition: osmformat.pb-c.c:182
int64_t id
Definition: osmformat.pb-c.h:199
int64_t * refs
Definition: osmformat.pb-c.h:206
OSMPBF__StringTable * stringtable
Definition: osmformat.pb-c.h:67
void(* OSMPBF__DenseInfo_Closure)(const OSMPBF__DenseInfo *message, void *closure_data)
Definition: osmformat.pb-c.h:483
int64_t * lon
Definition: osmformat.pb-c.h:187
size_t osmpbf__header_block__pack_to_buffer(const OSMPBF__HeaderBlock *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:29
char ** required_features
Definition: osmformat.pb-c.h:40
size_t n_vals
Definition: osmformat.pb-c.h:219
void(* OSMPBF__Way_Closure)(const OSMPBF__Way *message, void *closure_data)
Definition: osmformat.pb-c.h:495
void osmpbf__node__init(OSMPBF__Node *message)
Definition: osmformat.pb-c.c:354
int protobuf_c_boolean
Definition: protobuf-c.h:88
size_t osmpbf__change_set__pack(const OSMPBF__ChangeSet *message, uint8_t *out)
Definition: osmformat.pb-c.c:323
OSMPBF__HeaderBlock * osmpbf__header_block__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:37
#define PROTOBUF_C_END_DECLS
Definition: protobuf-c.h:29
size_t osmpbf__node__get_packed_size(const OSMPBF__Node *message)
Definition: osmformat.pb-c.c:360
size_t n_lat
Definition: osmformat.pb-c.h:184
protobuf_c_boolean has_lon_offset
Definition: osmformat.pb-c.h:74
ProtobufCMessage base
Definition: osmformat.pb-c.h:134
int32_t * keys_vals
Definition: osmformat.pb-c.h:189
int64_t * changeset
Definition: osmformat.pb-c.h:140
Definition: protobuf-c.h:136
protobuf_c_boolean has_changeset
Definition: osmformat.pb-c.h:120
ProtobufCMessage base
Definition: osmformat.pb-c.h:153
size_t n_uid
Definition: osmformat.pb-c.h:141
char data
Definition: garmin_img.c:354
Definition: osmformat.pb-c.h:132
OSMPBF__ChangeSet * osmpbf__change_set__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:338
ProtobufCMessage base
Definition: osmformat.pb-c.h:104
int64_t * timestamp
Definition: osmformat.pb-c.h:138
ProtobufCMessage base
Definition: osmformat.pb-c.h:86
int64_t id
Definition: osmformat.pb-c.h:154
int64_t lon_offset
Definition: osmformat.pb-c.h:75
OSMPBF__Way ** ways
Definition: osmformat.pb-c.h:91
int64_t lon
Definition: osmformat.pb-c.h:171
size_t osmpbf__info__pack_to_buffer(const OSMPBF__Info *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:244
size_t n_timestamp
Definition: osmformat.pb-c.h:137
size_t osmpbf__primitive_block__get_packed_size(const OSMPBF__PrimitiveBlock *message)
Definition: osmformat.pb-c.c:102
int64_t left
Definition: osmformat.pb-c.h:54
size_t osmpbf__info__pack(const OSMPBF__Info *message, uint8_t *out)
Definition: osmformat.pb-c.c:237
size_t n_version
Definition: osmformat.pb-c.h:135
void osmpbf__node__free_unpacked(OSMPBF__Node *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:390
int64_t * lat
Definition: osmformat.pb-c.h:185
ProtobufCMessage base
Definition: osmformat.pb-c.h:115
size_t osmpbf__node__pack(const OSMPBF__Node *message, uint8_t *out)
Definition: osmformat.pb-c.c:366
int32_t * user_sid
Definition: osmformat.pb-c.h:144
size_t osmpbf__dense_info__get_packed_size(const OSMPBF__DenseInfo *message)
Definition: osmformat.pb-c.c:274
int64_t * id
Definition: osmformat.pb-c.h:182
OSMPBF__Relation * osmpbf__relation__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:510
void osmpbf__string_table__free_unpacked(OSMPBF__StringTable *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:218
size_t n_changesets
Definition: osmformat.pb-c.h:94
int64_t changeset
Definition: osmformat.pb-c.h:121
const ProtobufCMessageDescriptor osmpbf__info__descriptor
Definition: osmformat.pb-c.c:1006
size_t n_optional_features
Definition: osmformat.pb-c.h:41
Definition: osmformat.pb-c.h:35
int64_t timestamp
Definition: osmformat.pb-c.h:119
void(* OSMPBF__DenseNodes_Closure)(const OSMPBF__DenseNodes *message, void *closure_data)
Definition: osmformat.pb-c.h:492
OSMPBF__PrimitiveGroup ** primitivegroup
Definition: osmformat.pb-c.h:69
ProtobufCMessage base
Definition: osmformat.pb-c.h:37
Definition: maptool.h:168
Definition: osmformat.pb-c.h:161
int32_t uid
Definition: osmformat.pb-c.h:123
Definition: osmformat.pb-c.h:30
Definition: protobuf-c.h:177
Definition: osmformat.pb-c.h:84
void osmpbf__dense_info__free_unpacked(OSMPBF__DenseInfo *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:304
size_t osmpbf__dense_nodes__pack_to_buffer(const OSMPBF__DenseNodes *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:416
size_t osmpbf__string_table__pack_to_buffer(const OSMPBF__StringTable *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:201
int32_t * version
Definition: osmformat.pb-c.h:136
const ProtobufCMessageDescriptor osmpbf__header_bbox__descriptor
Definition: osmformat.pb-c.c:679
const ProtobufCMessageDescriptor osmpbf__node__descriptor
Definition: osmformat.pb-c.c:1238
void osmpbf__info__init(OSMPBF__Info *message)
Definition: osmformat.pb-c.c:225
char * source
Definition: osmformat.pb-c.h:44
size_t osmpbf__way__pack(const OSMPBF__Way *message, uint8_t *out)
Definition: osmformat.pb-c.c:452
size_t n_vals
Definition: osmformat.pb-c.h:202
protobuf_c_boolean has_date_granularity
Definition: osmformat.pb-c.h:76
size_t osmpbf__primitive_block__pack_to_buffer(const OSMPBF__PrimitiveBlock *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:115
size_t n_keys
Definition: osmformat.pb-c.h:165
OSMPBF__Node * osmpbf__node__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:381
size_t osmpbf__dense_info__pack_to_buffer(const OSMPBF__DenseInfo *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:287
const ProtobufCMessageDescriptor osmpbf__string_table__descriptor
Definition: osmformat.pb-c.c:915
uint32_t * keys
Definition: osmformat.pb-c.h:218
#define PROTOBUF_C_BEGIN_DECLS
Definition: protobuf-c.h:28
size_t osmpbf__relation__pack(const OSMPBF__Relation *message, uint8_t *out)
Definition: osmformat.pb-c.c:495
size_t n_s
Definition: osmformat.pb-c.h:105
const ProtobufCMessageDescriptor osmpbf__dense_nodes__descriptor
Definition: osmformat.pb-c.c:1330
size_t osmpbf__primitive_group__pack_to_buffer(const OSMPBF__PrimitiveGroup *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:158
OSMPBF__DenseNodes * osmpbf__dense_nodes__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:424
void osmpbf__primitive_group__free_unpacked(OSMPBF__PrimitiveGroup *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:175
OSMPBF__Info * info
Definition: osmformat.pb-c.h:221
size_t osmpbf__relation__pack_to_buffer(const OSMPBF__Relation *message, ProtobufCBuffer *buffer)
Definition: osmformat.pb-c.c:502
Definition: protobuf-c.h:105
void osmpbf__info__free_unpacked(OSMPBF__Info *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:261
int32_t version
Definition: osmformat.pb-c.h:117
size_t osmpbf__primitive_group__get_packed_size(const OSMPBF__PrimitiveGroup *message)
Definition: osmformat.pb-c.c:145
uint32_t * vals
Definition: osmformat.pb-c.h:220
Definition: osmformat.pb-c.h:28
size_t n_primitivegroup
Definition: osmformat.pb-c.h:68
size_t osmpbf__header_block__get_packed_size(const OSMPBF__HeaderBlock *message)
Definition: osmformat.pb-c.c:16
protobuf_c_boolean has_granularity
Definition: osmformat.pb-c.h:70
size_t osmpbf__string_table__pack(const OSMPBF__StringTable *message, uint8_t *out)
Definition: osmformat.pb-c.c:194
size_t n_vals
Definition: osmformat.pb-c.h:167
int64_t top
Definition: osmformat.pb-c.h:56
void osmpbf__header_bbox__free_unpacked(OSMPBF__HeaderBBox *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:89
const ProtobufCMessageDescriptor osmpbf__primitive_block__descriptor
Definition: osmformat.pb-c.c:787
ProtobufCMessage base
Definition: osmformat.pb-c.h:66
uint32_t user_sid
Definition: osmformat.pb-c.h:125
void osmpbf__dense_info__init(OSMPBF__DenseInfo *message)
Definition: osmformat.pb-c.c:268
Definition: osmformat.pb-c.h:51
ProtobufCMessage base
Definition: osmformat.pb-c.h:215
int64_t lat
Definition: osmformat.pb-c.h:170
Definition: osmformat.pb-c.h:64
void(* OSMPBF__PrimitiveBlock_Closure)(const OSMPBF__PrimitiveBlock *message, void *closure_data)
Definition: osmformat.pb-c.h:471
size_t n_keys
Definition: osmformat.pb-c.h:200
const ProtobufCMessageDescriptor osmpbf__primitive_group__descriptor
Definition: osmformat.pb-c.c:877
void osmpbf__relation__init(OSMPBF__Relation *message)
Definition: osmformat.pb-c.c:483
void osmpbf__change_set__free_unpacked(OSMPBF__ChangeSet *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:347
OSMPBF__StringTable * osmpbf__string_table__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:209
size_t n_required_features
Definition: osmformat.pb-c.h:39
size_t osmpbf__header_bbox__pack(const OSMPBF__HeaderBBox *message, uint8_t *out)
Definition: osmformat.pb-c.c:65
int32_t granularity
Definition: osmformat.pb-c.h:71
_OSMPBF__Relation__MemberType
Definition: osmformat.pb-c.h:27
size_t n_keys_vals
Definition: osmformat.pb-c.h:188
uint32_t * keys
Definition: osmformat.pb-c.h:201
void osmpbf__dense_nodes__free_unpacked(OSMPBF__DenseNodes *message, ProtobufCAllocator *allocator)
Definition: osmformat.pb-c.c:433
const ProtobufCEnumDescriptor osmpbf__relation__member_type__descriptor
Definition: osmformat.pb-c.c:1451
OSMPBF__Info * osmpbf__info__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: osmformat.pb-c.c:252
OSMPBF__DenseInfo * denseinfo
Definition: osmformat.pb-c.h:183
size_t n_keys
Definition: osmformat.pb-c.h:217
ProtobufCMessage base
Definition: osmformat.pb-c.h:53
Definition: protobuf-c.h:95
size_t osmpbf__string_table__get_packed_size(const OSMPBF__StringTable *message)
Definition: osmformat.pb-c.c:188