4 #ifndef PROTOBUF_C_data_2eproto__INCLUDED
5 #define PROTOBUF_C_data_2eproto__INCLUDED
7 #include <protobuf-c/protobuf-c.h>
9 PROTOBUF_C__BEGIN_DECLS
11 #if PROTOBUF_C_VERSION_NUMBER < 1000000
12 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
13 #elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
14 # error This file was generated by an older version of protoc-c which is incompatible with your libprotobuf-c headers. Please regenerate this file with a newer version of protoc-c.
32 ProtobufCMessage base;
35 protobuf_c_boolean neg;
37 #define MPZ_SER__INIT \
38 { PROTOBUF_C_MESSAGE_INIT (&mpz_ser__descriptor) \
44 ProtobufCMessage base;
50 #define MAT_SER__INIT \
51 { PROTOBUF_C_MESSAGE_INIT (&mat_ser__descriptor) \
57 ProtobufCMessage base;
63 #define OCTET_SER__INIT \
64 { PROTOBUF_C_MESSAGE_INIT (&octet_ser__descriptor) \
70 ProtobufCMessage base;
72 size_t n_row_to_attrib;
73 int64_t *row_to_attrib;
75 #define MSP_SER__INIT \
76 { PROTOBUF_C_MESSAGE_INIT (&msp_ser__descriptor) \
82 ProtobufCMessage base;
87 #define VEC_OCTET_SER__INIT \
88 { PROTOBUF_C_MESSAGE_INIT (&vec_octet_ser__descriptor) \
95 size_t mpz_ser__get_packed_size
96 (
const MpzSer *message);
98 (
const MpzSer *message,
100 size_t mpz_ser__pack_to_buffer
101 (
const MpzSer *message,
102 ProtobufCBuffer *buffer);
105 (ProtobufCAllocator *allocator,
107 const uint8_t *data);
108 void mpz_ser__free_unpacked
110 ProtobufCAllocator *allocator);
114 size_t mat_ser__get_packed_size
119 size_t mat_ser__pack_to_buffer
121 ProtobufCBuffer *buffer);
124 (ProtobufCAllocator *allocator,
126 const uint8_t *data);
127 void mat_ser__free_unpacked
129 ProtobufCAllocator *allocator);
133 size_t octet_ser__get_packed_size
135 size_t octet_ser__pack
138 size_t octet_ser__pack_to_buffer
140 ProtobufCBuffer *buffer);
143 (ProtobufCAllocator *allocator,
145 const uint8_t *data);
146 void octet_ser__free_unpacked
148 ProtobufCAllocator *allocator);
152 size_t msp_ser__get_packed_size
157 size_t msp_ser__pack_to_buffer
159 ProtobufCBuffer *buffer);
162 (ProtobufCAllocator *allocator,
164 const uint8_t *data);
165 void msp_ser__free_unpacked
167 ProtobufCAllocator *allocator);
169 void vec_octet_ser__init
171 size_t vec_octet_ser__get_packed_size
173 size_t vec_octet_ser__pack
176 size_t vec_octet_ser__pack_to_buffer
178 ProtobufCBuffer *buffer);
180 vec_octet_ser__unpack
181 (ProtobufCAllocator *allocator,
183 const uint8_t *data);
184 void vec_octet_ser__free_unpacked
186 ProtobufCAllocator *allocator);
189 typedef void (*MpzSer_Closure)
190 (
const MpzSer *message,
192 typedef void (*MatSer_Closure)
195 typedef void (*OctetSer_Closure)
198 typedef void (*MspSer_Closure)
201 typedef void (*VecOctetSer_Closure)
210 extern const ProtobufCMessageDescriptor mpz_ser__descriptor;
211 extern const ProtobufCMessageDescriptor mat_ser__descriptor;
212 extern const ProtobufCMessageDescriptor octet_ser__descriptor;
213 extern const ProtobufCMessageDescriptor msp_ser__descriptor;
214 extern const ProtobufCMessageDescriptor vec_octet_ser__descriptor;
216 PROTOBUF_C__END_DECLS