nmsg  0.15.1
xml.pb-c.h
1 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
2 /* Generated from: nmsg/base/xml.proto */
3 
4 #ifndef PROTOBUF_C_nmsg_2fbase_2fxml_2eproto__INCLUDED
5 #define PROTOBUF_C_nmsg_2fbase_2fxml_2eproto__INCLUDED
6 
7 #include <protobuf-c/protobuf-c.h>
8 
9 PROTOBUF_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 1003001 < 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 
18 typedef struct _Nmsg__Base__Xml Nmsg__Base__Xml;
19 
20 
21 /* --- enums --- */
22 
23 
24 /* --- messages --- */
25 
26 struct _Nmsg__Base__Xml
27 {
28  ProtobufCMessage base;
29  ProtobufCBinaryData xmltype;
30  ProtobufCBinaryData xmlpayload;
31 };
32 #define NMSG__BASE__XML__INIT \
33  { PROTOBUF_C_MESSAGE_INIT (&nmsg__base__xml__descriptor) \
34  , {0,NULL}, {0,NULL} }
35 
36 
37 /* Nmsg__Base__Xml methods */
38 void nmsg__base__xml__init
39  (Nmsg__Base__Xml *message);
40 size_t nmsg__base__xml__get_packed_size
41  (const Nmsg__Base__Xml *message);
42 size_t nmsg__base__xml__pack
43  (const Nmsg__Base__Xml *message,
44  uint8_t *out);
45 size_t nmsg__base__xml__pack_to_buffer
46  (const Nmsg__Base__Xml *message,
47  ProtobufCBuffer *buffer);
48 Nmsg__Base__Xml *
49  nmsg__base__xml__unpack
50  (ProtobufCAllocator *allocator,
51  size_t len,
52  const uint8_t *data);
53 void nmsg__base__xml__free_unpacked
54  (Nmsg__Base__Xml *message,
55  ProtobufCAllocator *allocator);
56 /* --- per-message closures --- */
57 
58 typedef void (*Nmsg__Base__Xml_Closure)
59  (const Nmsg__Base__Xml *message,
60  void *closure_data);
61 
62 /* --- services --- */
63 
64 
65 /* --- descriptors --- */
66 
67 extern const ProtobufCMessageDescriptor nmsg__base__xml__descriptor;
68 
69 PROTOBUF_C__END_DECLS
70 
71 
72 #endif /* PROTOBUF_C_nmsg_2fbase_2fxml_2eproto__INCLUDED */