4#ifndef PROTOBUF_C_nmsg_2fnmsg_2eproto__INCLUDED
5#define PROTOBUF_C_nmsg_2fnmsg_2eproto__INCLUDED
7#include <protobuf-c/protobuf-c.h>
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 1004001 < 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.
30 ProtobufCMessage base;
33 size_t n_payload_crcs;
34 uint32_t *payload_crcs;
35 protobuf_c_boolean has_sequence;
37 protobuf_c_boolean has_sequence_id;
40#define NMSG__NMSG__INIT \
41 { PROTOBUF_C_MESSAGE_INIT (&nmsg__nmsg__descriptor) \
42, 0,NULL, 0,NULL, 0, 0, 0, 0 }
47 ProtobufCMessage base;
51 ProtobufCBinaryData fragment;
52 protobuf_c_boolean has_crc;
55#define NMSG__NMSG_FRAGMENT__INIT \
56 { PROTOBUF_C_MESSAGE_INIT (&nmsg__nmsg_fragment__descriptor) \
57, 0, 0, 0, {0,NULL}, 0, 0 }
62 ProtobufCMessage base;
67 protobuf_c_boolean has_payload;
68 ProtobufCBinaryData payload;
69 protobuf_c_boolean has_source;
71 protobuf_c_boolean has_operator_;
73 protobuf_c_boolean has_group;
76#define NMSG__NMSG_PAYLOAD__INIT \
77 { PROTOBUF_C_MESSAGE_INIT (&nmsg__nmsg_payload__descriptor) \
78, 0, 0, 0, 0, 0, {0,NULL}, 0, 0, 0, 0, 0, 0 }
84size_t nmsg__nmsg__get_packed_size
86size_t nmsg__nmsg__pack
89size_t nmsg__nmsg__pack_to_buffer
91 ProtobufCBuffer *buffer);
94 (ProtobufCAllocator *allocator,
97void nmsg__nmsg__free_unpacked
99 ProtobufCAllocator *allocator);
101void nmsg__nmsg_fragment__init
103size_t nmsg__nmsg_fragment__get_packed_size
105size_t nmsg__nmsg_fragment__pack
108size_t nmsg__nmsg_fragment__pack_to_buffer
110 ProtobufCBuffer *buffer);
112 nmsg__nmsg_fragment__unpack
113 (ProtobufCAllocator *allocator,
115 const uint8_t *data);
116void nmsg__nmsg_fragment__free_unpacked
118 ProtobufCAllocator *allocator);
120void nmsg__nmsg_payload__init
122size_t nmsg__nmsg_payload__get_packed_size
124size_t nmsg__nmsg_payload__pack
127size_t nmsg__nmsg_payload__pack_to_buffer
129 ProtobufCBuffer *buffer);
131 nmsg__nmsg_payload__unpack
132 (ProtobufCAllocator *allocator,
134 const uint8_t *data);
135void nmsg__nmsg_payload__free_unpacked
137 ProtobufCAllocator *allocator);
140typedef void (*Nmsg__Nmsg_Closure)
143typedef void (*Nmsg__NmsgFragment_Closure)
146typedef void (*Nmsg__NmsgPayload_Closure)
155extern const ProtobufCMessageDescriptor nmsg__nmsg__descriptor;
156extern const ProtobufCMessageDescriptor nmsg__nmsg_fragment__descriptor;
157extern const ProtobufCMessageDescriptor nmsg__nmsg_payload__descriptor;