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

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

Parent Directory Parent Directory | Revision Log Revision Log


Revision 8 - (show annotations) (download)
Fri Oct 28 21:39:42 2011 UTC (9 years, 1 month ago) by zoff99
File MIME type: text/plain
File size: 3487 byte(s)
import
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
8 PROTOBUF_C_BEGIN_DECLS
9
10
11 typedef struct _OSMPBF__Blob OSMPBF__Blob;
12 typedef struct _OSMPBF__BlobHeader OSMPBF__BlobHeader;
13
14
15 /* --- enums --- */
16
17
18 /* --- messages --- */
19
20 struct _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
39 struct _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 */
53 void osmpbf__blob__init
54 (OSMPBF__Blob *message);
55 size_t osmpbf__blob__get_packed_size
56 (const OSMPBF__Blob *message);
57 size_t osmpbf__blob__pack
58 (const OSMPBF__Blob *message,
59 uint8_t *out);
60 size_t osmpbf__blob__pack_to_buffer
61 (const OSMPBF__Blob *message,
62 ProtobufCBuffer *buffer);
63 OSMPBF__Blob *
64 osmpbf__blob__unpack
65 (ProtobufCAllocator *allocator,
66 size_t len,
67 const uint8_t *data);
68 void osmpbf__blob__free_unpacked
69 (OSMPBF__Blob *message,
70 ProtobufCAllocator *allocator);
71 /* OSMPBF__BlobHeader methods */
72 void osmpbf__blob_header__init
73 (OSMPBF__BlobHeader *message);
74 size_t osmpbf__blob_header__get_packed_size
75 (const OSMPBF__BlobHeader *message);
76 size_t osmpbf__blob_header__pack
77 (const OSMPBF__BlobHeader *message,
78 uint8_t *out);
79 size_t osmpbf__blob_header__pack_to_buffer
80 (const OSMPBF__BlobHeader *message,
81 ProtobufCBuffer *buffer);
82 OSMPBF__BlobHeader *
83 osmpbf__blob_header__unpack
84 (ProtobufCAllocator *allocator,
85 size_t len,
86 const uint8_t *data);
87 void osmpbf__blob_header__free_unpacked
88 (OSMPBF__BlobHeader *message,
89 ProtobufCAllocator *allocator);
90 /* --- per-message closures --- */
91
92 typedef void (*OSMPBF__Blob_Closure)
93 (const OSMPBF__Blob *message,
94 void *closure_data);
95 typedef void (*OSMPBF__BlobHeader_Closure)
96 (const OSMPBF__BlobHeader *message,
97 void *closure_data);
98
99 /* --- services --- */
100
101
102 /* --- descriptors --- */
103
104 extern const ProtobufCMessageDescriptor osmpbf__blob__descriptor;
105 extern const ProtobufCMessageDescriptor osmpbf__blob_header__descriptor;
106
107 PROTOBUF_C_END_DECLS
108
109
110 #endif /* PROTOBUF_fileformat_2eproto__INCLUDED */

   
Visit the ZANavi Wiki