UM C API 6.17.1

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

- File List
- Globals

ump_mon.pb-c.h
Go to the documentation of this file.
1
3 /* Generated by the protocol buffer compiler. DO NOT EDIT! */
4 /* Generated from: ump_mon.proto */
5
6 #ifndef PROTOBUF_C_ump_5fmon_2eproto__INCLUDED
7 #define PROTOBUF_C_ump_5fmon_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 #include "um_mon_attributes.pb-c.h"
20
21 typedef struct _Lbmmon__UMPMonMsg Lbmmon__UMPMonMsg;
22 typedef struct _Lbmmon__UMPMonMsg__Configs Lbmmon__UMPMonMsg__Configs;
23 typedef struct _Lbmmon__UMPMonMsg__Configs__PatternConfig Lbmmon__UMPMonMsg__Configs__PatternConfig;
24 typedef struct _Lbmmon__UMPMonMsg__Configs__TopicConfig Lbmmon__UMPMonMsg__Configs__TopicConfig;
25 typedef struct _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig;
26 typedef struct _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig;
27 typedef struct _Lbmmon__UMPMonMsg__Stats Lbmmon__UMPMonMsg__Stats;
28 typedef struct _Lbmmon__UMPMonMsg__Stats__SmartHeapStat Lbmmon__UMPMonMsg__Stats__SmartHeapStat;
29 typedef struct _Lbmmon__UMPMonMsg__Stats__SrcRepoStat Lbmmon__UMPMonMsg__Stats__SrcRepoStat;
30 typedef struct _Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat;
31 typedef struct _Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat;
32 typedef struct _Lbmmon__UMPMonMsg__Events Lbmmon__UMPMonMsg__Events;
33 typedef struct _Lbmmon__UMPMonMsg__Events__Event Lbmmon__UMPMonMsg__Events__Event;
34
35
36 /* --- enums --- */
37
38 typedef enum _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RepositoryType {
39 /*
40 * sync'd to UMESTORE_DMON_REPO_TYPE_NOCACHE
41 */
42 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_NOCACHE = 0,
43 /*
44 * sync'd to UMESTORE_DMON_REPO_TYPE_MEMORY
45 */
46 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_MEMORY = 1,
47 /*
48 * sync'd to UMESTORE_DMON_REPO_TYPE_DISK
49 */
50 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_DISK = 2,
51 /*
52 * No longer valid. Here for backward compatibility only
53 */
54 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_REDUCED_FD = 3
55 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE)
56 } Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RepositoryType;
57 typedef enum _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__AllowAckOnReception {
58 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION__DO_NOT_ALLOW_ACK_ON_RECEPTION = 0,
59 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION__ALLOW_ACK_ON_RECEPTION = 1
60 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION)
61 } Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__AllowAckOnReception;
62 typedef enum _Lbmmon__UMPMonMsg__Configs__TopicType {
63 /*
64 * sync'd to UMESTORE_DMON_TOPIC_TYPE_DIRECT
65 */
66 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_DIRECT = 0,
67 /*
68 * sync'd to UMESTORE_DMON_TOPIC_TYPE_PCRE
69 */
70 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_PCRE = 1,
71 /*
72 * sync'd to UMESTORE_DMON_TOPIC_TYPE_REGEXP
73 */
74 LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_REGEXP = 2
75 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE)
76 } Lbmmon__UMPMonMsg__Configs__TopicType;
77 typedef enum _Lbmmon__UMPMonMsg__Events__EventType {
78 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__NON_EVENT = 0,
79 /*
80 * reported when a store is created
81 */
82 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__STORE_CREATED_EVENT = 1,
83 /*
84 * reported when a store is deleted
85 */
86 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__STORE_DELETED_EVENT = 2,
87 /*
88 * reported when a new source registers
89 */
90 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_REGISTERED_EVENT = 3,
91 /*
92 * reported when a source reregisters
93 */
94 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_REREGISTERED_EVENT = 4,
95 /*
96 * reported when an existing source deregisters
97 */
98 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_DEREGISTERED_EVENT = 5,
99 /*
100 * reported when a source is recreated from a state file
101 */
102 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_RECREATED_EVENT = 6,
103 /*
104 * reported when a state file for an existing source is deleted
105 */
106 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__SOURCE_DELETED_EVENT = 7,
107 /*
108 * reported when a proxy source is created
109 */
110 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__PROXY_SOURCE_CREATED_EVENT = 8,
111 /*
112 * reported when a proxy source is deleted
113 */
114 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__PROXY_SOURCE_DELETED_EVENT = 9,
115 /*
116 * reported when a new topic is discovered
117 */
118 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__TOPIC_CREATE_EVENT = 10,
119 /*
120 * reported when a receiver paced persistence source starts persisting messages to disk
121 */
122 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RPP_WRITING_EVENT = 11,
123 /*
124 * reported when a receiver paced persistence source stops persisting messages to disk
125 */
126 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RPP_REPO_EMPTY_EVENT = 12,
127 /*
128 * reported when a new receiver registers
129 */
130 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_REGISTERED_EVENT = 13,
131 /*
132 * reported when an existing receiver reregisters
133 */
134 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_REREGISTERED_EVENT = 14,
135 /*
136 * reported when an existing receiver deregisters
137 */
138 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_DEREGISTERED_EVENT = 15,
139 /*
140 * reported when a receiver is recreated from a state file
141 */
142 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_RECREATED_EVENT = 16,
143 /*
144 * reported when a receiver is deleted from a state file
145 */
146 LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__RECEIVER_DELETED_EVENT = 17
147 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE)
148 } Lbmmon__UMPMonMsg__Events__EventType;
149 typedef enum _Lbmmon__UMPMonMsg__Events__DeletionReasonCode {
150 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__NOT_APPLICABLE = 0,
151 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__DELETED = 1,
152 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__STATE_LIFETIME_EXPIRED = 2,
153 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__PROXY_SRC_REREGISTERED = 3,
154 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__PROXY_SRC_STATE_LIFETIME_EXPIRED = 4,
155 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__SRC_DELETED = 5,
156 LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__SRC_RECREATED = 6
157 PROTOBUF_C__FORCE_ENUM_TO_BE_INT_SIZE(LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE)
158 } Lbmmon__UMPMonMsg__Events__DeletionReasonCode;
159
160 /* --- messages --- */
161
162 struct _Lbmmon__UMPMonMsg__Configs__PatternConfig
163 {
164 ProtobufCMessage base;
165 Lbmmon__UMPMonMsg__Configs__TopicType topic_type;
166 char *pattern;
167 };
168 #define LBMMON__UMPMON_MSG__CONFIGS__PATTERN_CONFIG__INIT \
169 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__pattern_config__descriptor) \
170 , LBMMON__UMPMON_MSG__CONFIGS__TOPIC_TYPE__TOPIC_TYPE_DIRECT, (char *)protobuf_c_empty_string }
171
172
173 struct _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig
174 {
175 ProtobufCMessage base;
176 uint32_t rcv_regid;
177 uint32_t src_regid;
178 uint32_t dmon_topic_idx;
179 uint64_t rcv_session_id;
180 uint32_t transport_idx;
181 uint32_t topic_idx;
182 uint32_t domain_id;
183 uint32_t ip_addr;
184 uint32_t port;
185 };
186 #define LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__RCV_CONFIG__INIT \
187 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__topic_config__repo_config__rcv_config__descriptor) \
188 , 0, 0, 0, 0, 0, 0, 0, 0, 0 }
189
190
191 struct _Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig
192 {
193 ProtobufCMessage base;
194 uint32_t src_regid;
195 uint32_t dmon_topic_idx;
196 char *otid;
197 uint32_t src_domain_id;
198 uint64_t src_session_id;
199 uint64_t src_flightsz_bytes;
200 uint32_t repo_sz_threshold;
201 uint32_t repo_sz_limit;
202 uint64_t repo_disk_sz_limit;
203 uint32_t repo_disk_write_delay;
204 Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RepositoryType repository_type;
205 Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__AllowAckOnReception allow_ack_on_reception;
206 uint32_t age_threshold;
207 uint32_t disk_max_write_aiocbs;
208 uint32_t disk_max_read_aiocbs;
209 uint32_t disk_aio_buffer_len;
210 char *source_string;
211 size_t n_rcv_configs;
212 Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig **rcv_configs;
213 };
214 #define LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__INIT \
215 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__topic_config__repo_config__descriptor) \
216 , 0, 0, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__REPOSITORY_TYPE__REPO_TYPE_NOCACHE, LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__REPO_CONFIG__ALLOW_ACK_ON_RECEPTION__DO_NOT_ALLOW_ACK_ON_RECEPTION, 0, 0, 0, 0, (char *)protobuf_c_empty_string, 0,NULL }
217
218
219 struct _Lbmmon__UMPMonMsg__Configs__TopicConfig
220 {
221 ProtobufCMessage base;
222 uint32_t dmon_topic_idx;
223 char *topic_name;
224 size_t n_repo_configs;
225 Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig **repo_configs;
226 };
227 #define LBMMON__UMPMON_MSG__CONFIGS__TOPIC_CONFIG__INIT \
228 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__topic_config__descriptor) \
229 , 0, (char *)protobuf_c_empty_string, 0,NULL }
230
231
232 struct _Lbmmon__UMPMonMsg__Configs
233 {
234 ProtobufCMessage base;
235 char *lbm_version;
236 char *smartheap_version;
237 char *store_name;
238 uint32_t store_idx;
239 uint32_t ip_addr;
240 uint32_t port;
241 char *disk_cache_dir_name;
242 char *disk_state_dir_name;
243 uint32_t max_retransmission_processing_rate;
244 uint32_t src_count;
245 uint32_t context_id;
246 size_t n_pattern_configs;
247 Lbmmon__UMPMonMsg__Configs__PatternConfig **pattern_configs;
248 size_t n_topic_configs;
249 Lbmmon__UMPMonMsg__Configs__TopicConfig **topic_configs;
250 };
251 #define LBMMON__UMPMON_MSG__CONFIGS__INIT \
252 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__configs__descriptor) \
253 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, 0, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0, 0, 0, 0,NULL, 0,NULL }
254
255
256 struct _Lbmmon__UMPMonMsg__Stats__SmartHeapStat
257 {
258 ProtobufCMessage base;
259 uint64_t poolsize;
260 uint64_t poolcount;
261 uint64_t smallblocksize;
262 uint64_t pagesize;
263 };
264 #define LBMMON__UMPMON_MSG__STATS__SMART_HEAP_STAT__INIT \
265 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__smart_heap_stat__descriptor) \
266 , 0, 0, 0, 0 }
267
268
269 struct _Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat
270 {
271 ProtobufCMessage base;
272 uint64_t max_offset;
273 uint64_t num_ios_pending;
274 uint64_t num_read_ios_pending;
275 uint64_t start_offset;
276 uint64_t offset;
277 };
278 #define LBMMON__UMPMON_MSG__STATS__SRC_REPO_STAT__SRC_DISK_STAT__INIT \
279 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__src_repo_stat__src_disk_stat__descriptor) \
280 , 0, 0, 0, 0, 0 }
281
282
283 struct _Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat
284 {
285 ProtobufCMessage base;
286 uint32_t rcv_regid;
287 uint32_t high_ack_sqn;
288 uint32_t flags;
289 uint64_t rcv_session_id;
290 uint64_t last_activity_timestamp_sec;
291 };
292 #define LBMMON__UMPMON_MSG__STATS__SRC_REPO_STAT__RCV_STAT__INIT \
293 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__src_repo_stat__rcv_stat__descriptor) \
294 , 0, 0, 0, 0, 0 }
295
296
297 struct _Lbmmon__UMPMonMsg__Stats__SrcRepoStat
298 {
299 ProtobufCMessage base;
300 uint32_t src_regid;
301 char *topic_name;
302 uint64_t src_session_id;
303 uint64_t message_map_sz;
304 uint64_t memory_sz;
305 uint64_t rpp_memory_sz;
306 uint32_t lead_sqn;
307 uint32_t sync_sqn;
308 uint32_t sync_complete_sqn;
309 uint32_t trail_sqn;
310 uint32_t mem_trail_sqn;
311 uint32_t contig_sqn;
312 uint32_t high_ulb_sqn;
313 uint32_t map_intentional_drops;
314 uint64_t uls;
315 uint64_t ulbs;
316 uint64_t sz_limit_drops;
317 uint32_t flags;
318 uint32_t rcvr_count;
319 uint64_t last_activity_timestamp_sec;
320 Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat *src_disk_stat;
321 size_t n_rcv_stats;
322 Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat **rcv_stats;
323 };
324 #define LBMMON__UMPMON_MSG__STATS__SRC_REPO_STAT__INIT \
325 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__src_repo_stat__descriptor) \
326 , 0, (char *)protobuf_c_empty_string, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, NULL, 0,NULL }
327
328
329 struct _Lbmmon__UMPMonMsg__Stats
330 {
331 ProtobufCMessage base;
332 uint32_t store_idx;
333 uint32_t ume_retx_req_rcv_count;
334 uint32_t ume_retx_req_serviced_count;
335 uint32_t ume_retx_req_drop_count;
336 uint32_t ume_retx_req_total_dropped;
337 uint32_t ume_retx_stat_interval;
338 uint32_t src_count;
339 Lbmmon__UMPMonMsg__Stats__SmartHeapStat *smart_heap_stat;
340 size_t n_src_repo_stats;
341 Lbmmon__UMPMonMsg__Stats__SrcRepoStat **src_repo_stats;
342 };
343 #define LBMMON__UMPMON_MSG__STATS__INIT \
344 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__stats__descriptor) \
345 , 0, 0, 0, 0, 0, 0, 0, NULL, 0,NULL }
346
347
348 struct _Lbmmon__UMPMonMsg__Events__Event
349 {
350 ProtobufCMessage base;
351 uint64_t timestamp_sec;
352 uint64_t timestamp_usec;
353 Lbmmon__UMPMonMsg__Events__EventType event_type;
354 uint32_t store_idx;
355 uint32_t low_sqn;
356 uint32_t high_sqn;
357 uint32_t lead_sqn;
358 uint32_t src_regid;
359 uint32_t rcv_regid;
360 uint32_t dmon_topic_idx;
361 Lbmmon__UMPMonMsg__Events__DeletionReasonCode deletion_reason_code;
362 char *topic_name;
363 };
364 #define LBMMON__UMPMON_MSG__EVENTS__EVENT__INIT \
365 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__events__event__descriptor) \
366 , 0, 0, LBMMON__UMPMON_MSG__EVENTS__EVENT_TYPE__NON_EVENT, 0, 0, 0, 0, 0, 0, 0, LBMMON__UMPMON_MSG__EVENTS__DELETION_REASON_CODE__NOT_APPLICABLE, (char *)protobuf_c_empty_string }
367
368
369 struct _Lbmmon__UMPMonMsg__Events
370 {
371 ProtobufCMessage base;
372 size_t n_events;
373 Lbmmon__UMPMonMsg__Events__Event **events;
374 };
375 #define LBMMON__UMPMON_MSG__EVENTS__INIT \
376 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__events__descriptor) \
377 , 0,NULL }
378
379
380 struct _Lbmmon__UMPMonMsg
381 {
382 ProtobufCMessage base;
383 Lbmmon__UMMonAttributes *attributes;
384 Lbmmon__UMPMonMsg__Configs *configs;
385 Lbmmon__UMPMonMsg__Stats *stats;
386 Lbmmon__UMPMonMsg__Events *events;
387 };
388 #define LBMMON__UMPMON_MSG__INIT \
389 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__umpmon_msg__descriptor) \
390 , NULL, NULL, NULL, NULL }
391
392
393 /* Lbmmon__UMPMonMsg__Configs__PatternConfig methods */
394 void lbmmon__umpmon_msg__configs__pattern_config__init
395 (Lbmmon__UMPMonMsg__Configs__PatternConfig *message);
396 /* Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig methods */
397 void lbmmon__umpmon_msg__configs__topic_config__repo_config__rcv_config__init
398 (Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig *message);
399 /* Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig methods */
400 void lbmmon__umpmon_msg__configs__topic_config__repo_config__init
401 (Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig *message);
402 /* Lbmmon__UMPMonMsg__Configs__TopicConfig methods */
403 void lbmmon__umpmon_msg__configs__topic_config__init
404 (Lbmmon__UMPMonMsg__Configs__TopicConfig *message);
405 /* Lbmmon__UMPMonMsg__Configs methods */
406 void lbmmon__umpmon_msg__configs__init
407 (Lbmmon__UMPMonMsg__Configs *message);
408 /* Lbmmon__UMPMonMsg__Stats__SmartHeapStat methods */
409 void lbmmon__umpmon_msg__stats__smart_heap_stat__init
410 (Lbmmon__UMPMonMsg__Stats__SmartHeapStat *message);
411 /* Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat methods */
412 void lbmmon__umpmon_msg__stats__src_repo_stat__src_disk_stat__init
413 (Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat *message);
414 /* Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat methods */
415 void lbmmon__umpmon_msg__stats__src_repo_stat__rcv_stat__init
416 (Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat *message);
417 /* Lbmmon__UMPMonMsg__Stats__SrcRepoStat methods */
418 void lbmmon__umpmon_msg__stats__src_repo_stat__init
419 (Lbmmon__UMPMonMsg__Stats__SrcRepoStat *message);
420 /* Lbmmon__UMPMonMsg__Stats methods */
421 void lbmmon__umpmon_msg__stats__init
422 (Lbmmon__UMPMonMsg__Stats *message);
423 /* Lbmmon__UMPMonMsg__Events__Event methods */
424 void lbmmon__umpmon_msg__events__event__init
425 (Lbmmon__UMPMonMsg__Events__Event *message);
426 /* Lbmmon__UMPMonMsg__Events methods */
427 void lbmmon__umpmon_msg__events__init
428 (Lbmmon__UMPMonMsg__Events *message);
429 /* Lbmmon__UMPMonMsg methods */
430 void lbmmon__umpmon_msg__init
431 (Lbmmon__UMPMonMsg *message);
432 size_t lbmmon__umpmon_msg__get_packed_size
433 (const Lbmmon__UMPMonMsg *message);
434 size_t lbmmon__umpmon_msg__pack
435 (const Lbmmon__UMPMonMsg *message,
436 uint8_t *out);
437 size_t lbmmon__umpmon_msg__pack_to_buffer
438 (const Lbmmon__UMPMonMsg *message,
439 ProtobufCBuffer *buffer);
440 Lbmmon__UMPMonMsg *
441 lbmmon__umpmon_msg__unpack
442 (ProtobufCAllocator *allocator,
443 size_t len,
444 const uint8_t *data);
445 void lbmmon__umpmon_msg__free_unpacked
446 (Lbmmon__UMPMonMsg *message,
447 ProtobufCAllocator *allocator);
448 /* --- per-message closures --- */
449
450 typedef void (*Lbmmon__UMPMonMsg__Configs__PatternConfig_Closure)
451 (const Lbmmon__UMPMonMsg__Configs__PatternConfig *message,
452 void *closure_data);
453 typedef void (*Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig_Closure)
454 (const Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig *message,
455 void *closure_data);
456 typedef void (*Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig_Closure)
457 (const Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig *message,
458 void *closure_data);
459 typedef void (*Lbmmon__UMPMonMsg__Configs__TopicConfig_Closure)
460 (const Lbmmon__UMPMonMsg__Configs__TopicConfig *message,
461 void *closure_data);
462 typedef void (*Lbmmon__UMPMonMsg__Configs_Closure)
463 (const Lbmmon__UMPMonMsg__Configs *message,
464 void *closure_data);
465 typedef void (*Lbmmon__UMPMonMsg__Stats__SmartHeapStat_Closure)
466 (const Lbmmon__UMPMonMsg__Stats__SmartHeapStat *message,
467 void *closure_data);
468 typedef void (*Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat_Closure)
469 (const Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat *message,
470 void *closure_data);
471 typedef void (*Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat_Closure)
472 (const Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat *message,
473 void *closure_data);
474 typedef void (*Lbmmon__UMPMonMsg__Stats__SrcRepoStat_Closure)
475 (const Lbmmon__UMPMonMsg__Stats__SrcRepoStat *message,
476 void *closure_data);
477 typedef void (*Lbmmon__UMPMonMsg__Stats_Closure)
478 (const Lbmmon__UMPMonMsg__Stats *message,
479 void *closure_data);
480 typedef void (*Lbmmon__UMPMonMsg__Events__Event_Closure)
481 (const Lbmmon__UMPMonMsg__Events__Event *message,
482 void *closure_data);
483 typedef void (*Lbmmon__UMPMonMsg__Events_Closure)
484 (const Lbmmon__UMPMonMsg__Events *message,
485 void *closure_data);
486 typedef void (*Lbmmon__UMPMonMsg_Closure)
487 (const Lbmmon__UMPMonMsg *message,
488 void *closure_data);
489
490 /* --- services --- */
491
492
493 /* --- descriptors --- */
494
495 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__descriptor;
496 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__descriptor;
497 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__pattern_config__descriptor;
498 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__topic_config__descriptor;
499 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__descriptor;
500 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__rcv_config__descriptor;
501 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__repository_type__descriptor;
502 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__configs__topic_config__repo_config__allow_ack_on_reception__descriptor;
503 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__configs__topic_type__descriptor;
504 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__descriptor;
505 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__smart_heap_stat__descriptor;
506 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__src_repo_stat__descriptor;
507 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__src_repo_stat__src_disk_stat__descriptor;
508 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__stats__src_repo_stat__rcv_stat__descriptor;
509 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__events__descriptor;
510 extern const ProtobufCMessageDescriptor lbmmon__umpmon_msg__events__event__descriptor;
511 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__events__event_type__descriptor;
512 extern const ProtobufCEnumDescriptor lbmmon__umpmon_msg__events__deletion_reason_code__descriptor;
513
514 PROTOBUF_C__END_DECLS
515
516
517 #endif /* PROTOBUF_C_ump_5fmon_2eproto__INCLUDED */
_Lbmmon__UMPMonMsg__Stats__SmartHeapStat
Definition: ump_mon.pb-c.h:256
lbm_version
LBMExpDLL const char * lbm_version(void)
return the version string compiled into UM.
_Lbmmon__UMPMonMsg__Events__Event
Definition: ump_mon.pb-c.h:348
_Lbmmon__UMPMonMsg__Stats__SrcRepoStat
Definition: ump_mon.pb-c.h:297
um_mon_attributes.pb-c.h
Defintions for protocol buffers.
_Lbmmon__UMPMonMsg__Stats__SrcRepoStat__SrcDiskStat
Definition: ump_mon.pb-c.h:269
_Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig
Definition: ump_mon.pb-c.h:191
_Lbmmon__UMPMonMsg__Stats__SrcRepoStat__RcvStat
Definition: ump_mon.pb-c.h:283
_Lbmmon__UMPMonMsg__Configs__PatternConfig
Definition: ump_mon.pb-c.h:162
_Lbmmon__UMPMonMsg__Configs__TopicConfig
Definition: ump_mon.pb-c.h:219
_Lbmmon__UMPMonMsg
Definition: ump_mon.pb-c.h:380
_Lbmmon__UMPMonMsg__Configs
Definition: ump_mon.pb-c.h:232
_Lbmmon__UMPMonMsg__Configs__TopicConfig__RepoConfig__RcvConfig
Definition: ump_mon.pb-c.h:173
_Lbmmon__UMPMonMsg__Events
Definition: ump_mon.pb-c.h:369
_Lbmmon__UMPMonMsg__Stats
Definition: ump_mon.pb-c.h:329