/* Generated by the protocol buffer compiler. DO NOT EDIT! */ /* Generated from: AnalyzeOutput.proto */ /* Do not generate deprecated warnings for self */ #ifndef PROTOBUF_C__NO_DEPRECATED #define PROTOBUF_C__NO_DEPRECATED #endif #include "AnalyzeOutput.pb-c.h" void analyze_output__init (AnalyzeOutput *message) { static const AnalyzeOutput init_value = ANALYZE_OUTPUT__INIT; *message = init_value; } size_t analyze_output__get_packed_size (const AnalyzeOutput *message) { assert(message->base.descriptor == &analyze_output__descriptor); return protobuf_c_message_get_packed_size ((const ProtobufCMessage*)(message)); } size_t analyze_output__pack (const AnalyzeOutput *message, uint8_t *out) { assert(message->base.descriptor == &analyze_output__descriptor); return protobuf_c_message_pack ((const ProtobufCMessage*)message, out); } size_t analyze_output__pack_to_buffer (const AnalyzeOutput *message, ProtobufCBuffer *buffer) { assert(message->base.descriptor == &analyze_output__descriptor); return protobuf_c_message_pack_to_buffer ((const ProtobufCMessage*)message, buffer); } AnalyzeOutput * analyze_output__unpack (ProtobufCAllocator *allocator, size_t len, const uint8_t *data) { return (AnalyzeOutput *) protobuf_c_message_unpack (&analyze_output__descriptor, allocator, len, data); } void analyze_output__free_unpacked (AnalyzeOutput *message, ProtobufCAllocator *allocator) { if(!message) return; assert(message->base.descriptor == &analyze_output__descriptor); protobuf_c_message_free_unpacked ((ProtobufCMessage*)message, allocator); } static const ProtobufCFieldDescriptor analyze_output__field_descriptors[1] = { { "EmbroideryFile", 1, PROTOBUF_C_LABEL_OPTIONAL, PROTOBUF_C_TYPE_MESSAGE, 0, /* quantifier_offset */ offsetof(AnalyzeOutput, embroideryfile), &embroidery_file__descriptor, NULL, 0, /* flags */ 0,NULL,NULL /* reserved1,reserved2, etc */ }, }; static const unsigned analyze_output__field_indices_by_name[] = { 0, /* field[0] = EmbroideryFile */ }; static const ProtobufCIntRange analyze_output__number_ranges[1 + 1] = { { 1, 0 }, { 0, 1 } }; const ProtobufCMessageDescriptor analyze_output__descriptor = { PROTOBUF_C__MESSAGE_DESCRIPTOR_MAGIC, "AnalyzeOutput", "AnalyzeOutput", "AnalyzeOutput", "", sizeof(AnalyzeOutput), 1, analyze_output__field_descriptors, analyze_output__field_indices_by_name, 1, analyze_output__number_ranges, (ProtobufCMessageInit) analyze_output__init, NULL,NULL,NULL /* reserved[123] */ };