18#ifndef PROTOBUF_C__NO_DEPRECATED
19#define PROTOBUF_C__NO_DEPRECATED
27 *message = init_value;
33 return protobuf_c_message_get_packed_size ((
const ProtobufCMessage*)(message));
40 return protobuf_c_message_pack ((
const ProtobufCMessage*)message, out);
44 ProtobufCBuffer *buffer)
47 return protobuf_c_message_pack_to_buffer ((
const ProtobufCMessage*)message, buffer);
51 (ProtobufCAllocator *allocator,
57 allocator, len, data);
61 ProtobufCAllocator *allocator)
66 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
72 *message = init_value;
78 return protobuf_c_message_get_packed_size ((
const ProtobufCMessage*)(message));
85 return protobuf_c_message_pack ((
const ProtobufCMessage*)message, out);
89 ProtobufCBuffer *buffer)
92 return protobuf_c_message_pack_to_buffer ((
const ProtobufCMessage*)message, buffer);
96 (ProtobufCAllocator *allocator,
102 allocator, len, data);
106 ProtobufCAllocator *allocator)
111 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
117 *message = init_value;
123 return protobuf_c_message_get_packed_size ((
const ProtobufCMessage*)(message));
130 return protobuf_c_message_pack ((
const ProtobufCMessage*)message, out);
134 ProtobufCBuffer *buffer)
137 return protobuf_c_message_pack_to_buffer ((
const ProtobufCMessage*)message, buffer);
141 (ProtobufCAllocator *allocator,
147 allocator, len, data);
151 ProtobufCAllocator *allocator)
156 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
162 *message = init_value;
168 return protobuf_c_message_get_packed_size ((
const ProtobufCMessage*)(message));
175 return protobuf_c_message_pack ((
const ProtobufCMessage*)message, out);
179 ProtobufCBuffer *buffer)
182 return protobuf_c_message_pack_to_buffer ((
const ProtobufCMessage*)message, buffer);
186 (ProtobufCAllocator *allocator,
192 allocator, len, data);
196 ProtobufCAllocator *allocator)
201 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
207 *message = init_value;
213 return protobuf_c_message_get_packed_size ((
const ProtobufCMessage*)(message));
220 return protobuf_c_message_pack ((
const ProtobufCMessage*)message, out);
224 ProtobufCBuffer *buffer)
227 return protobuf_c_message_pack_to_buffer ((
const ProtobufCMessage*)message, buffer);
231 (ProtobufCAllocator *allocator,
237 allocator, len, data);
241 ProtobufCAllocator *allocator)
246 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
252 *message = init_value;
258 return protobuf_c_message_get_packed_size ((
const ProtobufCMessage*)(message));
265 return protobuf_c_message_pack ((
const ProtobufCMessage*)message, out);
269 ProtobufCBuffer *buffer)
272 return protobuf_c_message_pack_to_buffer ((
const ProtobufCMessage*)message, buffer);
276 (ProtobufCAllocator *allocator,
282 allocator, len, data);
286 ProtobufCAllocator *allocator)
291 protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator);
298 PROTOBUF_C_LABEL_NONE,
299 PROTOBUF_C_TYPE_UINT32,
310 PROTOBUF_C_LABEL_NONE,
311 PROTOBUF_C_TYPE_STRING,
315 &protobuf_c_empty_string,
322 PROTOBUF_C_LABEL_NONE,
323 PROTOBUF_C_TYPE_ENUM,
334 PROTOBUF_C_LABEL_NONE,
335 PROTOBUF_C_TYPE_STRING,
339 &protobuf_c_empty_string,
346 PROTOBUF_C_LABEL_NONE,
347 PROTOBUF_C_TYPE_STRING,
351 &protobuf_c_empty_string,
358 PROTOBUF_C_LABEL_NONE,
359 PROTOBUF_C_TYPE_STRING,
363 &protobuf_c_empty_string,
370 PROTOBUF_C_LABEL_NONE,
371 PROTOBUF_C_TYPE_STRING,
375 &protobuf_c_empty_string,
382 PROTOBUF_C_LABEL_NONE,
383 PROTOBUF_C_TYPE_UINT32,
409 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
410 "ra8.mdl.StartRequest",
412 "Ra8__Mdl__StartRequest",
427 PROTOBUF_C_LABEL_NONE,
428 PROTOBUF_C_TYPE_UINT32,
439 PROTOBUF_C_LABEL_NONE,
440 PROTOBUF_C_TYPE_UINT32,
451 PROTOBUF_C_LABEL_NONE,
452 PROTOBUF_C_TYPE_UINT32,
463 PROTOBUF_C_LABEL_NONE,
464 PROTOBUF_C_TYPE_ENUM,
486 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
489 "Ra8__Mdl__Accepted",
504 PROTOBUF_C_LABEL_NONE,
505 PROTOBUF_C_TYPE_UINT32,
516 PROTOBUF_C_LABEL_NONE,
517 PROTOBUF_C_TYPE_UINT32,
526 "acknowledged_offset",
528 PROTOBUF_C_LABEL_NONE,
529 PROTOBUF_C_TYPE_UINT64,
540 PROTOBUF_C_LABEL_NONE,
541 PROTOBUF_C_TYPE_UINT32,
563 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
564 "ra8.mdl.NextRequest",
566 "Ra8__Mdl__NextRequest",
581 PROTOBUF_C_LABEL_NONE,
582 PROTOBUF_C_TYPE_UINT32,
593 PROTOBUF_C_LABEL_NONE,
594 PROTOBUF_C_TYPE_UINT32,
605 PROTOBUF_C_LABEL_NONE,
606 PROTOBUF_C_TYPE_UINT32,
617 PROTOBUF_C_LABEL_NONE,
618 PROTOBUF_C_TYPE_UINT64,
629 PROTOBUF_C_LABEL_NONE,
630 PROTOBUF_C_TYPE_BYTES,
641 PROTOBUF_C_LABEL_NONE,
642 PROTOBUF_C_TYPE_UINT64,
653 PROTOBUF_C_LABEL_NONE,
654 PROTOBUF_C_TYPE_ENUM,
665 PROTOBUF_C_LABEL_NONE,
666 PROTOBUF_C_TYPE_INT32,
677 PROTOBUF_C_LABEL_NONE,
678 PROTOBUF_C_TYPE_BYTES,
689 PROTOBUF_C_LABEL_NONE,
690 PROTOBUF_C_TYPE_INT32,
701 PROTOBUF_C_LABEL_NONE,
702 PROTOBUF_C_TYPE_STRING,
706 &protobuf_c_empty_string,
713 PROTOBUF_C_LABEL_NONE,
714 PROTOBUF_C_TYPE_STRING,
718 &protobuf_c_empty_string,
725 PROTOBUF_C_LABEL_NONE,
726 PROTOBUF_C_TYPE_STRING,
730 &protobuf_c_empty_string,
737 PROTOBUF_C_LABEL_NONE,
738 PROTOBUF_C_TYPE_STRING,
742 &protobuf_c_empty_string,
770 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
788 PROTOBUF_C_LABEL_NONE,
789 PROTOBUF_C_TYPE_UINT32,
800 PROTOBUF_C_LABEL_NONE,
801 PROTOBUF_C_TYPE_UINT32,
821 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
822 "ra8.mdl.CancelRequest",
824 "Ra8__Mdl__CancelRequest",
839 PROTOBUF_C_LABEL_NONE,
840 PROTOBUF_C_TYPE_UINT32,
851 PROTOBUF_C_LABEL_NONE,
852 PROTOBUF_C_TYPE_UINT32,
863 PROTOBUF_C_LABEL_NONE,
864 PROTOBUF_C_TYPE_INT32,
885 PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC,
888 "Ra8__Mdl__Cancelled",
900 {
"FORMAT_LOOSE",
"RA8__MDL__FORMAT__FORMAT_LOOSE", 0 },
901 {
"FORMAT_CBZ",
"RA8__MDL__FORMAT__FORMAT_CBZ", 1 },
902 {
"FORMAT_CBT",
"RA8__MDL__FORMAT__FORMAT_CBT", 2 },
903 {
"FORMAT_CBR",
"RA8__MDL__FORMAT__FORMAT_CBR", 3 },
904 {
"FORMAT_CBT_XZ",
"RA8__MDL__FORMAT__FORMAT_CBT_XZ", 4 },
905 {
"FORMAT_CBT_GZ",
"RA8__MDL__FORMAT__FORMAT_CBT_GZ", 5 },
906 {
"FORMAT_EPUB",
"RA8__MDL__FORMAT__FORMAT_EPUB", 6 },
907 {
"FORMAT_JOF",
"RA8__MDL__FORMAT__FORMAT_JOF", 7 },
908 {
"FORMAT_RABOOK",
"RA8__MDL__FORMAT__FORMAT_RABOOK", 8 },
909 {
"FORMAT_INVALID",
"RA8__MDL__FORMAT__FORMAT_INVALID", 255 },
912{0, 0},{255, 9},{0, 10}
918 {
"FORMAT_CBT_GZ", 5 },
919 {
"FORMAT_CBT_XZ", 4 },
921 {
"FORMAT_EPUB", 6 },
922 {
"FORMAT_INVALID", 9 },
924 {
"FORMAT_LOOSE", 0 },
925 {
"FORMAT_RABOOK", 8 },
929 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
944 {
"STATE_UNSPECIFIED",
"RA8__MDL__STATE__STATE_UNSPECIFIED", 0 },
945 {
"STATE_ACCEPTED",
"RA8__MDL__STATE__STATE_ACCEPTED", 1 },
946 {
"STATE_DOWNLOADING",
"RA8__MDL__STATE__STATE_DOWNLOADING", 2 },
947 {
"STATE_COMPLETE",
"RA8__MDL__STATE__STATE_COMPLETE", 3 },
948 {
"STATE_CANCELLED",
"RA8__MDL__STATE__STATE_CANCELLED", 4 },
949 {
"STATE_FAILED",
"RA8__MDL__STATE__STATE_FAILED", 5 },
956 {
"STATE_ACCEPTED", 1 },
957 {
"STATE_CANCELLED", 4 },
958 {
"STATE_COMPLETE", 3 },
959 {
"STATE_DOWNLOADING", 2 },
960 {
"STATE_FAILED", 5 },
961 {
"STATE_UNSPECIFIED", 0 },
965 PROTOBUF_C__ENUM_DESCRIPTOR_MAGIC,
#define assert(expr)
Route vendored ESP-hosted assertions through the RA8 assertion policy.