nmsg 1.1.2
logline.pb-c.h
1/* Generated by the protocol buffer compiler. DO NOT EDIT! */
2/* Generated from: nmsg/base/logline.proto */
3
4#ifndef PROTOBUF_C_nmsg_2fbase_2flogline_2eproto__INCLUDED
5#define PROTOBUF_C_nmsg_2fbase_2flogline_2eproto__INCLUDED
6
7#include <protobuf-c/protobuf-c.h>
8
9PROTOBUF_C__BEGIN_DECLS
10
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.
15#endif
16
17
19
20
21/* --- enums --- */
22
23
24/* --- messages --- */
25
27{
28 ProtobufCMessage base;
29 protobuf_c_boolean has_category;
30 ProtobufCBinaryData category;
31 protobuf_c_boolean has_message;
32 ProtobufCBinaryData message;
33};
34#define NMSG__BASE__LOG_LINE__INIT \
35 { PROTOBUF_C_MESSAGE_INIT (&nmsg__base__log_line__descriptor) \
36, 0, {0,NULL}, 0, {0,NULL} }
37
38
39/* Nmsg__Base__LogLine methods */
40void nmsg__base__log_line__init
41 (Nmsg__Base__LogLine *message);
42size_t nmsg__base__log_line__get_packed_size
43 (const Nmsg__Base__LogLine *message);
44size_t nmsg__base__log_line__pack
45 (const Nmsg__Base__LogLine *message,
46 uint8_t *out);
47size_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,
53 size_t len,
54 const uint8_t *data);
55void nmsg__base__log_line__free_unpacked
56 (Nmsg__Base__LogLine *message,
57 ProtobufCAllocator *allocator);
58/* --- per-message closures --- */
59
60typedef void (*Nmsg__Base__LogLine_Closure)
61 (const Nmsg__Base__LogLine *message,
62 void *closure_data);
63
64/* --- services --- */
65
66
67/* --- descriptors --- */
68
69extern const ProtobufCMessageDescriptor nmsg__base__log_line__descriptor;
70
71PROTOBUF_C__END_DECLS
72
73
74#endif /* PROTOBUF_C_nmsg_2fbase_2flogline_2eproto__INCLUDED */