UM C API 6.17.1

- Main Page
- Related Pages
- Modules
- Data Structures
- Files

- File List
- Globals

um_mon_control.pb-c.h
Go to the documentation of this file.
1
3 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
4 /* Generated from: um_mon_control.proto */
5
6 #ifndef PROTOBUF_C_um_5fmon_5fcontrol_2eproto__INCLUDED
7 #define PROTOBUF_C_um_5fmon_5fcontrol_2eproto__INCLUDED
8
9 #include <protobuf-c/protobuf-c.h>
10
11 PROTOBUF_C__BEGIN_DECLS
12
13 #if PROTOBUF_C_VERSION_NUMBER < 1003000
14 # error This file was generated by a newer version of protoc-c which is incompatible with your libprotobuf-c headers. Please update your headers.
15 #elif 1003003 < PROTOBUF_C_MIN_COMPILER_VERSION
16 # 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.
17 #endif
18
19
20 typedef struct _Lbmmon__UMMonControlMsg Lbmmon__UMMonControlMsg;
21
22
23 /* --- enums --- */
24
25 typedef enum _Lbmmon__UMMonControlMsg__Command {
26 LBMMON__UMMON_CONTROL_MSG__COMMAND__SET_INTERVAL = 0,
27 LBMMON__UMMON_CONTROL_MSG__COMMAND__CLEAR_INTERVAL = 1,
28 LBMMON__UMMON_CONTROL_MSG__COMMAND__SAMPLE = 2,
29 LBMMON__UMMON_CONTROL_MSG__COMMAND__SNAP = 3,
30 LBMMON__UMMON_CONTROL_MSG__COMMAND__SET_FILTER_OPTIONS = 4,
31 LBMMON__UMMON_CONTROL_MSG__COMMAND__CLEAR_FILTER_OPTIONS = 5,
32 LBMMON__UMMON_CONTROL_MSG__COMMAND__SET_DEBUG_INFO = 6,
33 LBMMON__UMMON_CONTROL_MSG__COMMAND__CLEAR_DEBUG_INFO = 7
34 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMMON_CONTROL_MSG__COMMAND)
35 } Lbmmon__UMMonControlMsg__Command;
36 typedef enum _Lbmmon__UMMonControlMsg__NodeType {
37 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__ALL_NODES = 0,
38 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__CONTEXT = 1,
39 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__RECEIVER = 2,
40 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__SOURCE = 3,
41 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__EVENT_QUEUE = 4,
42 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__RECEIVER_TOPIC = 5,
43 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__WILDCARD_RECEIVER = 6,
44 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__UMESTORE = 7,
45 LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__GATEWAY = 8
46 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMMON_CONTROL_MSG__NODE_TYPE)
47 } Lbmmon__UMMonControlMsg__NodeType;
48
49 /* --- messages --- */
50
51 struct _Lbmmon__UMMonControlMsg
52 {
53 ProtobufCMessage base;
54 Lbmmon__UMMonControlMsg__Command command;
55 Lbmmon__UMMonControlMsg__NodeType node_type;
56 char *application_id;
57 char *data;
58 };
59 #define LBMMON__UMMON_CONTROL_MSG__INIT \
60 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__ummon_control_msg__descriptor) \
61 , LBMMON__UMMON_CONTROL_MSG__COMMAND__SET_INTERVAL, LBMMON__UMMON_CONTROL_MSG__NODE_TYPE__ALL_NODES, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
62
63
64 /* Lbmmon__UMMonControlMsg methods */
65 void lbmmon__ummon_control_msg__init
66 (Lbmmon__UMMonControlMsg *message);
67 size_t lbmmon__ummon_control_msg__get_packed_size
68 (const Lbmmon__UMMonControlMsg *message);
69 size_t lbmmon__ummon_control_msg__pack
70 (const Lbmmon__UMMonControlMsg *message,
71 uint8_t *out);
72 size_t lbmmon__ummon_control_msg__pack_to_buffer
73 (const Lbmmon__UMMonControlMsg *message,
74 ProtobufCBuffer *buffer);
75 Lbmmon__UMMonControlMsg *
76 lbmmon__ummon_control_msg__unpack
77 (ProtobufCAllocator *allocator,
78 size_t len,
79 const uint8_t *data);
80 void lbmmon__ummon_control_msg__free_unpacked
81 (Lbmmon__UMMonControlMsg *message,
82 ProtobufCAllocator *allocator);
83 /* --- per-message closures --- */
84
85 typedef void (*Lbmmon__UMMonControlMsg_Closure)
86 (const Lbmmon__UMMonControlMsg *message,
87 void *closure_data);
88
89 /* --- services --- */
90
91
92 /* --- descriptors --- */
93
94 extern const ProtobufCMessageDescriptor lbmmon__ummon_control_msg__descriptor;
95 extern const ProtobufCEnumDescriptor lbmmon__ummon_control_msg__command__descriptor;
96 extern const ProtobufCEnumDescriptor lbmmon__ummon_control_msg__node_type__descriptor;
97
98 PROTOBUF_C__END_DECLS
99
100
101 #endif /* PROTOBUF_C_um_5fmon_5fcontrol_2eproto__INCLUDED */
_Lbmmon__UMMonControlMsg
Definition: um_mon_control.pb-c.h:51