navit  0.5.1-trunk
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups
fileformat.pb-c.h
Go to the documentation of this file.
1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 
3 #ifndef PROTOBUF_C_fileformat_2eproto__INCLUDED
4 #define PROTOBUF_C_fileformat_2eproto__INCLUDED
5 
7 
9 
10 
11 typedef struct _OSMPBF__Blob OSMPBF__Blob;
13 
14 
15 /* --- enums --- */
16 
17 
18 /* --- messages --- */
19 
21 {
26  int32_t raw_size;
31  protobuf_c_boolean has_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 
40 {
42  char *type;
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 */
56  (const OSMPBF__Blob *message);
57 size_t osmpbf__blob__pack
58  (const OSMPBF__Blob *message,
59  uint8_t *out);
61  (const OSMPBF__Blob *message,
65  (ProtobufCAllocator *allocator,
66  size_t len,
67  const uint8_t *data);
70  ProtobufCAllocator *allocator);
71 /* OSMPBF__BlobHeader methods */
75  (const OSMPBF__BlobHeader *message);
78  uint8_t *out);
84  (ProtobufCAllocator *allocator,
85  size_t len,
86  const uint8_t *data);
89  ProtobufCAllocator *allocator);
90 /* --- per-message closures --- */
91 
92 typedef void (*OSMPBF__Blob_Closure)
94  void *closure_data);
95 typedef void (*OSMPBF__BlobHeader_Closure)
97  void *closure_data);
98 
99 /* --- services --- */
100 
101 
102 /* --- descriptors --- */
103 
106 
108 
109 
110 #endif /* PROTOBUF_fileformat_2eproto__INCLUDED */
void osmpbf__blob_header__init(OSMPBF__BlobHeader *message)
Definition: fileformat.pb-c.c:53
Definition: messages.h:25
void osmpbf__blob_header__free_unpacked(OSMPBF__BlobHeader *message, ProtobufCAllocator *allocator)
Definition: fileformat.pb-c.c:89
Definition: protobuf-c.h:256
void osmpbf__blob__init(OSMPBF__Blob *message)
Definition: fileformat.pb-c.c:10
void(* OSMPBF__BlobHeader_Closure)(const OSMPBF__BlobHeader *message, void *closure_data)
Definition: fileformat.pb-c.h:96
size_t osmpbf__blob__get_packed_size(const OSMPBF__Blob *message)
Definition: fileformat.pb-c.c:16
ProtobufCBinaryData zlib_data
Definition: fileformat.pb-c.h:28
Definition: protobuf-c.h:304
protobuf_c_boolean has_obsolete_bzip2_data PROTOBUF_C_DEPRECATED
Definition: fileformat.pb-c.h:31
ProtobufCMessage base
Definition: fileformat.pb-c.h:22
ProtobufCBinaryData indexdata
Definition: fileformat.pb-c.h:44
protobuf_c_boolean has_lzma_data
Definition: fileformat.pb-c.h:29
typedefPROTOBUF_C_BEGIN_DECLS struct _OSMPBF__Blob OSMPBF__Blob
Definition: fileformat.pb-c.h:11
void osmpbf__blob__free_unpacked(OSMPBF__Blob *message, ProtobufCAllocator *allocator)
Definition: fileformat.pb-c.c:46
size_t osmpbf__blob__pack_to_buffer(const OSMPBF__Blob *message, ProtobufCBuffer *buffer)
Definition: fileformat.pb-c.c:29
protobuf_c_boolean has_indexdata
Definition: fileformat.pb-c.h:43
int protobuf_c_boolean
Definition: protobuf-c.h:88
#define PROTOBUF_C_END_DECLS
Definition: protobuf-c.h:29
protobuf_c_boolean has_raw
Definition: fileformat.pb-c.h:23
Definition: protobuf-c.h:136
char data
Definition: garmin_img.c:354
int32_t raw_size
Definition: fileformat.pb-c.h:26
char * type
Definition: fileformat.pb-c.h:42
ProtobufCBinaryData obsolete_bzip2_data PROTOBUF_C_DEPRECATED
Definition: fileformat.pb-c.h:32
size_t osmpbf__blob__pack(const OSMPBF__Blob *message, uint8_t *out)
Definition: fileformat.pb-c.c:22
size_t osmpbf__blob_header__get_packed_size(const OSMPBF__BlobHeader *message)
Definition: fileformat.pb-c.c:59
const ProtobufCMessageDescriptor osmpbf__blob__descriptor
Definition: fileformat.pb-c.c:170
protobuf_c_boolean has_raw_size
Definition: fileformat.pb-c.h:25
void(* OSMPBF__Blob_Closure)(const OSMPBF__Blob *message, void *closure_data)
Definition: fileformat.pb-c.h:93
int32_t datasize
Definition: fileformat.pb-c.h:45
Definition: fileformat.pb-c.h:39
size_t osmpbf__blob_header__pack_to_buffer(const OSMPBF__BlobHeader *message, ProtobufCBuffer *buffer)
Definition: fileformat.pb-c.c:72
Definition: fileformat.pb-c.h:20
Definition: maptool.h:168
OSMPBF__Blob * osmpbf__blob__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: fileformat.pb-c.c:37
ProtobufCMessage base
Definition: fileformat.pb-c.h:41
#define PROTOBUF_C_BEGIN_DECLS
Definition: protobuf-c.h:28
Definition: protobuf-c.h:105
ProtobufCBinaryData lzma_data
Definition: fileformat.pb-c.h:30
protobuf_c_boolean has_zlib_data
Definition: fileformat.pb-c.h:27
const ProtobufCMessageDescriptor osmpbf__blob_header__descriptor
Definition: fileformat.pb-c.c:234
OSMPBF__BlobHeader * osmpbf__blob_header__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: fileformat.pb-c.c:80
ProtobufCBinaryData raw
Definition: fileformat.pb-c.h:24
Definition: protobuf-c.h:95
size_t osmpbf__blob_header__pack(const OSMPBF__BlobHeader *message, uint8_t *out)
Definition: fileformat.pb-c.c:65