4#ifndef PROTOBUF_C_nmsg_2fbase_2fpacket_2eproto__INCLUDED
5#define PROTOBUF_C_nmsg_2fbase_2fpacket_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.
23typedef enum _Nmsg__Base__PacketType {
30 NMSG__BASE__PACKET_TYPE__IP = 1
31 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(NMSG__BASE__PACKET_TYPE)
32} Nmsg__Base__PacketType;
38 ProtobufCMessage base;
39 Nmsg__Base__PacketType payload_type;
40 ProtobufCBinaryData payload;
42#define NMSG__BASE__PACKET__INIT \
43 { PROTOBUF_C_MESSAGE_INIT (&nmsg__base__packet__descriptor) \
44, NMSG__BASE__PACKET_TYPE__IP, {0,NULL} }
48void nmsg__base__packet__init
50size_t nmsg__base__packet__get_packed_size
52size_t nmsg__base__packet__pack
55size_t nmsg__base__packet__pack_to_buffer
57 ProtobufCBuffer *buffer);
59 nmsg__base__packet__unpack
60 (ProtobufCAllocator *allocator,
63void nmsg__base__packet__free_unpacked
65 ProtobufCAllocator *allocator);
68typedef void (*Nmsg__Base__Packet_Closure)
77extern const ProtobufCEnumDescriptor nmsg__base__packet_type__descriptor;
78extern const ProtobufCMessageDescriptor nmsg__base__packet__descriptor;