pbf_parser 0.1.0 → 0.2.0

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