added zeromq to documentation
[collectd.git] / src / zeromq.h
1
2
3 typedef struct numpart {
4   uint16_t  type;
5   uint16_t  length;
6   uint64_t  value;
7 } numpart_t;
8
9
10
11
12 typedef struct strpart {
13   uint16_t  type;
14   uint16_t  length;
15   char      *value;
16 } strpart_t;
17
18
19 typedef struct value {
20   uint8_t   data_type;
21   uint64_t  value;
22 } value_t;
23
24 typedef struct valpart {
25   uint16_t  type;
26   uint16_t  length;
27   uint16_t  values_count;
28   value_t   *values;
29 } valpart_t;
30
31
32
33 typedef struct packet {
34   strpart_t   host;
35   numpart_t   time;
36   strpart_t   plugin;
37   strpart_t   plugin_instance;
38   strpart_t   type;
39   strpart_t   type_instance;
40   numpart_t   *interval;
41   strpart_t   *notitication;
42   numpart_t   *severity;
43 } packet_t;
44
45
46
47
48
49