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

Diff of /navit/navit/maptool/generated-code/fileformat.pb-c.h

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 30 Revision 31
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
2
3#ifndef PROTOBUF_C_fileformat_2eproto__INCLUDED
4#define PROTOBUF_C_fileformat_2eproto__INCLUDED
5
6#include <google/protobuf-c/protobuf-c.h>
7
8PROTOBUF_C_BEGIN_DECLS
9
10
11typedef struct _OSMPBF__Blob OSMPBF__Blob;
12typedef struct _OSMPBF__BlobHeader OSMPBF__BlobHeader;
13
14
15/* --- enums --- */
16
17
18/* --- messages --- */
19
20struct _OSMPBF__Blob
21{
22 ProtobufCMessage base;
23 protobuf_c_boolean has_raw;
24 ProtobufCBinaryData raw;
25 protobuf_c_boolean has_raw_size;
26 int32_t raw_size;
27 protobuf_c_boolean has_zlib_data;
28 ProtobufCBinaryData zlib_data;
29 protobuf_c_boolean has_lzma_data;
30 ProtobufCBinaryData lzma_data;
31 protobuf_c_boolean has_obsolete_bzip2_data PROTOBUF_C_DEPRECATED;
32 ProtobufCBinaryData obsolete_bzip2_data PROTOBUF_C_DEPRECATED;
33};
34#define OSMPBF__BLOB__INIT \
35 { PROTOBUF_C_MESSAGE_INIT (&osmpbf__blob__descriptor) \
36 , 0,{0,NULL}, 0,0, 0,{0,NULL}, 0,{0,NULL}, 0,{0,NULL} }
37
38
39struct _OSMPBF__BlobHeader
40{
41 ProtobufCMessage base;
42 char *type;
43 protobuf_c_boolean has_indexdata;
44 ProtobufCBinaryData indexdata;
45 int32_t datasize;
46};
47#define OSMPBF__BLOB_HEADER__INIT \
48 { PROTOBUF_C_MESSAGE_INIT (&osmpbf__blob_header__descriptor) \
49 , NULL, 0,{0,NULL}, 0 }
50
51
52/* OSMPBF__Blob methods */
53void osmpbf__blob__init
54 (OSMPBF__Blob *message);
55size_t osmpbf__blob__get_packed_size
56 (const OSMPBF__Blob *message);
57size_t osmpbf__blob__pack
58 (const OSMPBF__Blob *message,
59 uint8_t *out);
60size_t osmpbf__blob__pack_to_buffer
61 (const OSMPBF__Blob *message,
62 ProtobufCBuffer *buffer);
63OSMPBF__Blob *
64 osmpbf__blob__unpack
65 (ProtobufCAllocator *allocator,
66 size_t len,
67 const uint8_t *data);
68void osmpbf__blob__free_unpacked
69 (OSMPBF__Blob *message,
70 ProtobufCAllocator *allocator);
71/* OSMPBF__BlobHeader methods */
72void osmpbf__blob_header__init
73 (OSMPBF__BlobHeader *message);
74size_t osmpbf__blob_header__get_packed_size
75 (const OSMPBF__BlobHeader *message);
76size_t osmpbf__blob_header__pack
77 (const OSMPBF__BlobHeader *message,
78 uint8_t *out);
79size_t osmpbf__blob_header__pack_to_buffer
80 (const OSMPBF__BlobHeader *message,
81 ProtobufCBuffer *buffer);
82OSMPBF__BlobHeader *
83 osmpbf__blob_header__unpack
84 (ProtobufCAllocator *allocator,
85 size_t len,
86 const uint8_t *data);
87void osmpbf__blob_header__free_unpacked
88 (OSMPBF__BlobHeader *message,
89 ProtobufCAllocator *allocator);
90/* --- per-message closures --- */
91
92typedef void (*OSMPBF__Blob_Closure)
93 (const OSMPBF__Blob *message,
94 void *closure_data);
95typedef void (*OSMPBF__BlobHeader_Closure)
96 (const OSMPBF__BlobHeader *message,
97 void *closure_data);
98
99/* --- services --- */
100
101
102/* --- descriptors --- */
103
104extern const ProtobufCMessageDescriptor osmpbf__blob__descriptor;
105extern const ProtobufCMessageDescriptor osmpbf__blob_header__descriptor;
106
107PROTOBUF_C_END_DECLS
108
109
110#endif /* PROTOBUF_fileformat_2eproto__INCLUDED */

Legend:
Removed from v.30  
changed lines
  Added in v.31

   
Visit the ZANavi Wiki