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 |
|
6 |
#include <google/protobuf-c/protobuf-c.h>
|
7 |
|
8 |
PROTOBUF_C_BEGIN_DECLS
|
9 |
|
10 |
|
11 |
typedef struct _OSMPBF__HeaderBlock OSMPBF__HeaderBlock;
|
12 |
typedef struct _OSMPBF__HeaderBBox OSMPBF__HeaderBBox;
|
13 |
typedef struct _OSMPBF__PrimitiveBlock OSMPBF__PrimitiveBlock;
|
14 |
typedef struct _OSMPBF__PrimitiveGroup OSMPBF__PrimitiveGroup;
|
15 |
typedef struct _OSMPBF__StringTable OSMPBF__StringTable;
|
16 |
typedef struct _OSMPBF__Info OSMPBF__Info;
|
17 |
typedef struct _OSMPBF__DenseInfo OSMPBF__DenseInfo;
|
18 |
typedef struct _OSMPBF__ChangeSet OSMPBF__ChangeSet;
|
19 |
typedef struct _OSMPBF__Node OSMPBF__Node;
|
20 |
typedef struct _OSMPBF__DenseNodes OSMPBF__DenseNodes;
|
21 |
typedef struct _OSMPBF__Way OSMPBF__Way;
|
22 |
typedef struct _OSMPBF__Relation OSMPBF__Relation;
|
23 |
|
24 |
|
25 |
/* --- enums --- */
|
26 |
|
27 |
typedef enum _OSMPBF__Relation__MemberType {
|
28 |
OSMPBF__RELATION__MEMBER_TYPE__NODE = 0,
|
29 |
OSMPBF__RELATION__MEMBER_TYPE__WAY = 1,
|
30 |
OSMPBF__RELATION__MEMBER_TYPE__RELATION = 2
|
31 |
} OSMPBF__Relation__MemberType;
|
32 |
|
33 |
/* --- messages --- */
|
34 |
|
35 |
struct _OSMPBF__HeaderBlock
|
36 |
{
|
37 |
ProtobufCMessage base;
|
38 |
OSMPBF__HeaderBBox *bbox;
|
39 |
size_t n_required_features;
|
40 |
char **required_features;
|
41 |
size_t n_optional_features;
|
42 |
char **optional_features;
|
43 |
char *writingprogram;
|
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 |
|
51 |
struct _OSMPBF__HeaderBBox
|
52 |
{
|
53 |
ProtobufCMessage base;
|
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 |
|
64 |
struct _OSMPBF__PrimitiveBlock
|
65 |
{
|
66 |
ProtobufCMessage base;
|
67 |
OSMPBF__StringTable *stringtable;
|
68 |
size_t n_primitivegroup;
|
69 |
OSMPBF__PrimitiveGroup **primitivegroup;
|
70 |
protobuf_c_boolean has_granularity;
|
71 |
int32_t granularity;
|
72 |
protobuf_c_boolean has_lat_offset;
|
73 |
int64_t lat_offset;
|
74 |
protobuf_c_boolean has_lon_offset;
|
75 |
int64_t lon_offset;
|
76 |
protobuf_c_boolean has_date_granularity;
|
77 |
int32_t date_granularity;
|
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 |
|
84 |
struct _OSMPBF__PrimitiveGroup
|
85 |
{
|
86 |
ProtobufCMessage base;
|
87 |
size_t n_nodes;
|
88 |
OSMPBF__Node **nodes;
|
89 |
OSMPBF__DenseNodes *dense;
|
90 |
size_t n_ways;
|
91 |
OSMPBF__Way **ways;
|
92 |
size_t n_relations;
|
93 |
OSMPBF__Relation **relations;
|
94 |
size_t n_changesets;
|
95 |
OSMPBF__ChangeSet **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 |
|
102 |
struct _OSMPBF__StringTable
|
103 |
{
|
104 |
ProtobufCMessage base;
|
105 |
size_t n_s;
|
106 |
ProtobufCBinaryData *s;
|
107 |
};
|
108 |
#define OSMPBF__STRING_TABLE__INIT \
|
109 |
{ PROTOBUF_C_MESSAGE_INIT (&osmpbf__string_table__descriptor) \
|
110 |
, 0,NULL }
|
111 |
|
112 |
|
113 |
struct _OSMPBF__Info
|
114 |
{
|
115 |
ProtobufCMessage base;
|
116 |
protobuf_c_boolean has_version;
|
117 |
int32_t version;
|
118 |
protobuf_c_boolean has_timestamp;
|
119 |
int64_t timestamp;
|
120 |
protobuf_c_boolean has_changeset;
|
121 |
int64_t changeset;
|
122 |
protobuf_c_boolean has_uid;
|
123 |
int32_t uid;
|
124 |
protobuf_c_boolean has_user_sid;
|
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 |
|
132 |
struct _OSMPBF__DenseInfo
|
133 |
{
|
134 |
ProtobufCMessage base;
|
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 |
|
151 |
struct _OSMPBF__ChangeSet
|
152 |
{
|
153 |
ProtobufCMessage base;
|
154 |
int64_t id;
|
155 |
};
|
156 |
#define OSMPBF__CHANGE_SET__INIT \
|
157 |
{ PROTOBUF_C_MESSAGE_INIT (&osmpbf__change_set__descriptor) \
|
158 |
, 0 }
|
159 |
|
160 |
|
161 |
struct _OSMPBF__Node
|
162 |
{
|
163 |
ProtobufCMessage base;
|
164 |
int64_t id;
|
165 |
size_t n_keys;
|
166 |
uint32_t *keys;
|
167 |
size_t n_vals;
|
168 |
uint32_t *vals;
|
169 |
OSMPBF__Info *info;
|
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 |
|
178 |
struct _OSMPBF__DenseNodes
|
179 |
{
|
180 |
ProtobufCMessage base;
|
181 |
size_t n_id;
|
182 |
int64_t *id;
|
183 |
OSMPBF__DenseInfo *denseinfo;
|
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 |
|
196 |
struct _OSMPBF__Way
|
197 |
{
|
198 |
ProtobufCMessage base;
|
199 |
int64_t id;
|
200 |
size_t n_keys;
|
201 |
uint32_t *keys;
|
202 |
size_t n_vals;
|
203 |
uint32_t *vals;
|
204 |
OSMPBF__Info *info;
|
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 |
|
213 |
struct _OSMPBF__Relation
|
214 |
{
|
215 |
ProtobufCMessage base;
|
216 |
int64_t id;
|
217 |
size_t n_keys;
|
218 |
uint32_t *keys;
|
219 |
size_t n_vals;
|
220 |
uint32_t *vals;
|
221 |
OSMPBF__Info *info;
|
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;
|
227 |
OSMPBF__Relation__MemberType *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 */
|
235 |
void osmpbf__header_block__init
|
236 |
(OSMPBF__HeaderBlock *message);
|
237 |
size_t osmpbf__header_block__get_packed_size
|
238 |
(const OSMPBF__HeaderBlock *message);
|
239 |
size_t osmpbf__header_block__pack
|
240 |
(const OSMPBF__HeaderBlock *message,
|
241 |
uint8_t *out);
|
242 |
size_t osmpbf__header_block__pack_to_buffer
|
243 |
(const OSMPBF__HeaderBlock *message,
|
244 |
ProtobufCBuffer *buffer);
|
245 |
OSMPBF__HeaderBlock *
|
246 |
osmpbf__header_block__unpack
|
247 |
(ProtobufCAllocator *allocator,
|
248 |
size_t len,
|
249 |
const uint8_t *data);
|
250 |
void osmpbf__header_block__free_unpacked
|
251 |
(OSMPBF__HeaderBlock *message,
|
252 |
ProtobufCAllocator *allocator);
|
253 |
/* OSMPBF__HeaderBBox methods */
|
254 |
void osmpbf__header_bbox__init
|
255 |
(OSMPBF__HeaderBBox *message);
|
256 |
size_t osmpbf__header_bbox__get_packed_size
|
257 |
(const OSMPBF__HeaderBBox *message);
|
258 |
size_t osmpbf__header_bbox__pack
|
259 |
(const OSMPBF__HeaderBBox *message,
|
260 |
uint8_t *out);
|
261 |
size_t osmpbf__header_bbox__pack_to_buffer
|
262 |
(const OSMPBF__HeaderBBox *message,
|
263 |
ProtobufCBuffer *buffer);
|
264 |
OSMPBF__HeaderBBox *
|
265 |
osmpbf__header_bbox__unpack
|
266 |
(ProtobufCAllocator *allocator,
|
267 |
size_t len,
|
268 |
const uint8_t *data);
|
269 |
void osmpbf__header_bbox__free_unpacked
|
270 |
(OSMPBF__HeaderBBox *message,
|
271 |
ProtobufCAllocator *allocator);
|
272 |
/* OSMPBF__PrimitiveBlock methods */
|
273 |
void osmpbf__primitive_block__init
|
274 |
(OSMPBF__PrimitiveBlock *message);
|
275 |
size_t osmpbf__primitive_block__get_packed_size
|
276 |
(const OSMPBF__PrimitiveBlock *message);
|
277 |
size_t osmpbf__primitive_block__pack
|
278 |
(const OSMPBF__PrimitiveBlock *message,
|
279 |
uint8_t *out);
|
280 |
size_t osmpbf__primitive_block__pack_to_buffer
|
281 |
(const OSMPBF__PrimitiveBlock *message,
|
282 |
ProtobufCBuffer *buffer);
|
283 |
OSMPBF__PrimitiveBlock *
|
284 |
osmpbf__primitive_block__unpack
|
285 |
(ProtobufCAllocator *allocator,
|
286 |
size_t len,
|
287 |
const uint8_t *data);
|
288 |
void osmpbf__primitive_block__free_unpacked
|
289 |
(OSMPBF__PrimitiveBlock *message,
|
290 |
ProtobufCAllocator *allocator);
|
291 |
/* OSMPBF__PrimitiveGroup methods */
|
292 |
void osmpbf__primitive_group__init
|
293 |
(OSMPBF__PrimitiveGroup *message);
|
294 |
size_t osmpbf__primitive_group__get_packed_size
|
295 |
(const OSMPBF__PrimitiveGroup *message);
|
296 |
size_t osmpbf__primitive_group__pack
|
297 |
(const OSMPBF__PrimitiveGroup *message,
|
298 |
uint8_t *out);
|
299 |
size_t osmpbf__primitive_group__pack_to_buffer
|
300 |
(const OSMPBF__PrimitiveGroup *message,
|
301 |
ProtobufCBuffer *buffer);
|
302 |
OSMPBF__PrimitiveGroup *
|
303 |
osmpbf__primitive_group__unpack
|
304 |
(ProtobufCAllocator *allocator,
|
305 |
size_t len,
|
306 |
const uint8_t *data);
|
307 |
void osmpbf__primitive_group__free_unpacked
|
308 |
(OSMPBF__PrimitiveGroup *message,
|
309 |
ProtobufCAllocator *allocator);
|
310 |
/* OSMPBF__StringTable methods */
|
311 |
void osmpbf__string_table__init
|
312 |
(OSMPBF__StringTable *message);
|
313 |
size_t osmpbf__string_table__get_packed_size
|
314 |
(const OSMPBF__StringTable *message);
|
315 |
size_t osmpbf__string_table__pack
|
316 |
(const OSMPBF__StringTable *message,
|
317 |
uint8_t *out);
|
318 |
size_t osmpbf__string_table__pack_to_buffer
|
319 |
(const OSMPBF__StringTable *message,
|
320 |
ProtobufCBuffer *buffer);
|
321 |
OSMPBF__StringTable *
|
322 |
osmpbf__string_table__unpack
|
323 |
(ProtobufCAllocator *allocator,
|
324 |
size_t len,
|
325 |
const uint8_t *data);
|
326 |
void osmpbf__string_table__free_unpacked
|
327 |
(OSMPBF__StringTable *message,
|
328 |
ProtobufCAllocator *allocator);
|
329 |
/* OSMPBF__Info methods */
|
330 |
void osmpbf__info__init
|
331 |
(OSMPBF__Info *message);
|
332 |
size_t osmpbf__info__get_packed_size
|
333 |
(const OSMPBF__Info *message);
|
334 |
size_t osmpbf__info__pack
|
335 |
(const OSMPBF__Info *message,
|
336 |
uint8_t *out);
|
337 |
size_t osmpbf__info__pack_to_buffer
|
338 |
(const OSMPBF__Info *message,
|
339 |
ProtobufCBuffer *buffer);
|
340 |
OSMPBF__Info *
|
341 |
osmpbf__info__unpack
|
342 |
(ProtobufCAllocator *allocator,
|
343 |
size_t len,
|
344 |
const uint8_t *data);
|
345 |
void osmpbf__info__free_unpacked
|
346 |
(OSMPBF__Info *message,
|
347 |
ProtobufCAllocator *allocator);
|
348 |
/* OSMPBF__DenseInfo methods */
|
349 |
void osmpbf__dense_info__init
|
350 |
(OSMPBF__DenseInfo *message);
|
351 |
size_t osmpbf__dense_info__get_packed_size
|
352 |
(const OSMPBF__DenseInfo *message);
|
353 |
size_t osmpbf__dense_info__pack
|
354 |
(const OSMPBF__DenseInfo *message,
|
355 |
uint8_t *out);
|
356 |
size_t osmpbf__dense_info__pack_to_buffer
|
357 |
(const OSMPBF__DenseInfo *message,
|
358 |
ProtobufCBuffer *buffer);
|
359 |
OSMPBF__DenseInfo *
|
360 |
osmpbf__dense_info__unpack
|
361 |
(ProtobufCAllocator *allocator,
|
362 |
size_t len,
|
363 |
const uint8_t *data);
|
364 |
void osmpbf__dense_info__free_unpacked
|
365 |
(OSMPBF__DenseInfo *message,
|
366 |
ProtobufCAllocator *allocator);
|
367 |
/* OSMPBF__ChangeSet methods */
|
368 |
void osmpbf__change_set__init
|
369 |
(OSMPBF__ChangeSet *message);
|
370 |
size_t osmpbf__change_set__get_packed_size
|
371 |
(const OSMPBF__ChangeSet *message);
|
372 |
size_t osmpbf__change_set__pack
|
373 |
(const OSMPBF__ChangeSet *message,
|
374 |
uint8_t *out);
|
375 |
size_t osmpbf__change_set__pack_to_buffer
|
376 |
(const OSMPBF__ChangeSet *message,
|
377 |
ProtobufCBuffer *buffer);
|
378 |
OSMPBF__ChangeSet *
|
379 |
osmpbf__change_set__unpack
|
380 |
(ProtobufCAllocator *allocator,
|
381 |
size_t len,
|
382 |
const uint8_t *data);
|
383 |
void osmpbf__change_set__free_unpacked
|
384 |
(OSMPBF__ChangeSet *message,
|
385 |
ProtobufCAllocator *allocator);
|
386 |
/* OSMPBF__Node methods */
|
387 |
void osmpbf__node__init
|
388 |
(OSMPBF__Node *message);
|
389 |
size_t osmpbf__node__get_packed_size
|
390 |
(const OSMPBF__Node *message);
|
391 |
size_t osmpbf__node__pack
|
392 |
(const OSMPBF__Node *message,
|
393 |
uint8_t *out);
|
394 |
size_t osmpbf__node__pack_to_buffer
|
395 |
(const OSMPBF__Node *message,
|
396 |
ProtobufCBuffer *buffer);
|
397 |
OSMPBF__Node *
|
398 |
osmpbf__node__unpack
|
399 |
(ProtobufCAllocator *allocator,
|
400 |
size_t len,
|
401 |
const uint8_t *data);
|
402 |
void osmpbf__node__free_unpacked
|
403 |
(OSMPBF__Node *message,
|
404 |
ProtobufCAllocator *allocator);
|
405 |
/* OSMPBF__DenseNodes methods */
|
406 |
void osmpbf__dense_nodes__init
|
407 |
(OSMPBF__DenseNodes *message);
|
408 |
size_t osmpbf__dense_nodes__get_packed_size
|
409 |
(const OSMPBF__DenseNodes *message);
|
410 |
size_t osmpbf__dense_nodes__pack
|
411 |
(const OSMPBF__DenseNodes *message,
|
412 |
uint8_t *out);
|
413 |
size_t osmpbf__dense_nodes__pack_to_buffer
|
414 |
(const OSMPBF__DenseNodes *message,
|
415 |
ProtobufCBuffer *buffer);
|
416 |
OSMPBF__DenseNodes *
|
417 |
osmpbf__dense_nodes__unpack
|
418 |
(ProtobufCAllocator *allocator,
|
419 |
size_t len,
|
420 |
const uint8_t *data);
|
421 |
void osmpbf__dense_nodes__free_unpacked
|
422 |
(OSMPBF__DenseNodes *message,
|
423 |
ProtobufCAllocator *allocator);
|
424 |
/* OSMPBF__Way methods */
|
425 |
void osmpbf__way__init
|
426 |
(OSMPBF__Way *message);
|
427 |
size_t osmpbf__way__get_packed_size
|
428 |
(const OSMPBF__Way *message);
|
429 |
size_t osmpbf__way__pack
|
430 |
(const OSMPBF__Way *message,
|
431 |
uint8_t *out);
|
432 |
size_t osmpbf__way__pack_to_buffer
|
433 |
(const OSMPBF__Way *message,
|
434 |
ProtobufCBuffer *buffer);
|
435 |
OSMPBF__Way *
|
436 |
osmpbf__way__unpack
|
437 |
(ProtobufCAllocator *allocator,
|
438 |
size_t len,
|
439 |
const uint8_t *data);
|
440 |
void osmpbf__way__free_unpacked
|
441 |
(OSMPBF__Way *message,
|
442 |
ProtobufCAllocator *allocator);
|
443 |
/* OSMPBF__Relation methods */
|
444 |
void osmpbf__relation__init
|
445 |
(OSMPBF__Relation *message);
|
446 |
size_t osmpbf__relation__get_packed_size
|
447 |
(const OSMPBF__Relation *message);
|
448 |
size_t osmpbf__relation__pack
|
449 |
(const OSMPBF__Relation *message,
|
450 |
uint8_t *out);
|
451 |
size_t osmpbf__relation__pack_to_buffer
|
452 |
(const OSMPBF__Relation *message,
|
453 |
ProtobufCBuffer *buffer);
|
454 |
OSMPBF__Relation *
|
455 |
osmpbf__relation__unpack
|
456 |
(ProtobufCAllocator *allocator,
|
457 |
size_t len,
|
458 |
const uint8_t *data);
|
459 |
void osmpbf__relation__free_unpacked
|
460 |
(OSMPBF__Relation *message,
|
461 |
ProtobufCAllocator *allocator);
|
462 |
/* --- per-message closures --- */
|
463 |
|
464 |
typedef void (*OSMPBF__HeaderBlock_Closure)
|
465 |
(const OSMPBF__HeaderBlock *message,
|
466 |
void *closure_data);
|
467 |
typedef void (*OSMPBF__HeaderBBox_Closure)
|
468 |
(const OSMPBF__HeaderBBox *message,
|
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 |
|
506 |
extern const ProtobufCMessageDescriptor osmpbf__header_block__descriptor;
|
507 |
extern const ProtobufCMessageDescriptor osmpbf__header_bbox__descriptor;
|
508 |
extern const ProtobufCMessageDescriptor osmpbf__primitive_block__descriptor;
|
509 |
extern const ProtobufCMessageDescriptor osmpbf__primitive_group__descriptor;
|
510 |
extern const ProtobufCMessageDescriptor osmpbf__string_table__descriptor;
|
511 |
extern const ProtobufCMessageDescriptor osmpbf__info__descriptor;
|
512 |
extern const ProtobufCMessageDescriptor osmpbf__dense_info__descriptor;
|
513 |
extern const ProtobufCMessageDescriptor osmpbf__change_set__descriptor;
|
514 |
extern const ProtobufCMessageDescriptor osmpbf__node__descriptor;
|
515 |
extern const ProtobufCMessageDescriptor osmpbf__dense_nodes__descriptor;
|
516 |
extern const ProtobufCMessageDescriptor osmpbf__way__descriptor;
|
517 |
extern const ProtobufCMessageDescriptor osmpbf__relation__descriptor;
|
518 |
extern const ProtobufCEnumDescriptor osmpbf__relation__member_type__descriptor;
|
519 |
|
520 |
PROTOBUF_C_END_DECLS
|
521 |
|
522 |
|
523 |
#endif /* PROTOBUF_osmformat_2eproto__INCLUDED */
|