4 #ifndef PROTOBUF_C_nmsg_2fbase_2flogline_2eproto__INCLUDED 5 #define PROTOBUF_C_nmsg_2fbase_2flogline_2eproto__INCLUDED 7 #include <protobuf-c/protobuf-c.h> 9 PROTOBUF_C__BEGIN_DECLS
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 1002001 < 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. 18 typedef struct _Nmsg__Base__LogLine Nmsg__Base__LogLine;
26 struct _Nmsg__Base__LogLine
28 ProtobufCMessage base;
29 protobuf_c_boolean has_category;
30 ProtobufCBinaryData category;
31 protobuf_c_boolean has_message;
32 ProtobufCBinaryData message;
34 #define NMSG__BASE__LOG_LINE__INIT \ 35 { PROTOBUF_C_MESSAGE_INIT (&nmsg__base__log_line__descriptor) \ 36 , 0,{0,NULL}, 0,{0,NULL} } 40 void nmsg__base__log_line__init
41 (Nmsg__Base__LogLine *message);
42 size_t nmsg__base__log_line__get_packed_size
43 (
const Nmsg__Base__LogLine *message);
44 size_t nmsg__base__log_line__pack
45 (
const Nmsg__Base__LogLine *message,
47 size_t nmsg__base__log_line__pack_to_buffer
48 (
const Nmsg__Base__LogLine *message,
49 ProtobufCBuffer *buffer);
51 nmsg__base__log_line__unpack
52 (ProtobufCAllocator *allocator,
55 void nmsg__base__log_line__free_unpacked
56 (Nmsg__Base__LogLine *message,
57 ProtobufCAllocator *allocator);
60 typedef void (*Nmsg__Base__LogLine_Closure)
61 (
const Nmsg__Base__LogLine *message,
69 extern const ProtobufCMessageDescriptor nmsg__base__log_line__descriptor;