4 #ifndef PROTOBUF_C_udp_2eproto__INCLUDED
5 #define PROTOBUF_C_udp_2eproto__INCLUDED
7 #include <protobuf-c/protobuf-c.h>
9 PROTOBUF_C__BEGIN_DECLS
11 #if PROTOBUF_C_VERSION_NUMBER < 1003000
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.
46 #define UDP__UDP_SCHEMA__INIT \
48 PROTOBUF_C_MESSAGE_INIT(&udp__udp_schema__descriptor) \
49 , (char *)protobuf_c_empty_string, 0, 0, 0, 0 \
57 ProtobufCBuffer *buffer);
59 size_t len,
const uint8_t *data);
61 ProtobufCAllocator *allocator);
Definition: udp.pb-c.h:23
uint32_t len
Definition: udp.pb-c.h:40
uint32_t dest
Definition: udp.pb-c.h:36
uint32_t check_p
Definition: udp.pb-c.h:44
uint32_t source
Definition: udp.pb-c.h:32
char * id
Definition: udp.pb-c.h:28
ProtobufCMessage base
Definition: udp.pb-c.h:24
size_t udp__udp_schema__pack(const Udp__UdpSchema *message, uint8_t *out)
Definition: udp.pb-c.c:19
void udp__udp_schema__free_unpacked(Udp__UdpSchema *message, ProtobufCAllocator *allocator)
Definition: udp.pb-c.c:34
Udp__UdpSchema * udp__udp_schema__unpack(ProtobufCAllocator *allocator, size_t len, const uint8_t *data)
Definition: udp.pb-c.c:29
void udp__udp_schema__init(Udp__UdpSchema *message)
Definition: udp.pb-c.c:10
const ProtobufCMessageDescriptor udp__udp_schema__descriptor
Definition: udp.pb-c.c:83
size_t udp__udp_schema__pack_to_buffer(const Udp__UdpSchema *message, ProtobufCBuffer *buffer)
Definition: udp.pb-c.c:23
void(* Udp__UdpSchema_Closure)(const Udp__UdpSchema *message, void *closure_data)
Definition: udp.pb-c.h:64
size_t udp__udp_schema__get_packed_size(const Udp__UdpSchema *message)
Definition: udp.pb-c.c:14