UM C API 6.17.1

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

- File List
- Globals

srs_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: srs_mon.proto */
5
6 #ifndef PROTOBUF_C_srs_5fmon_2eproto__INCLUDED
7 #define PROTOBUF_C_srs_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__SRSMonMsg Lbmmon__SRSMonMsg;
22 typedef struct _Lbmmon__SRSMonMsg__Configs Lbmmon__SRSMonMsg__Configs;
23 typedef struct _Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute;
24 typedef struct _Lbmmon__SRSMonMsg__Configs__Internal Lbmmon__SRSMonMsg__Configs__Internal;
25 typedef struct _Lbmmon__SRSMonMsg__UMClientInfo Lbmmon__SRSMonMsg__UMClientInfo;
26 typedef struct _Lbmmon__SRSMonMsg__Stats Lbmmon__SRSMonMsg__Stats;
27 typedef struct _Lbmmon__SRSMonMsg__Stats__SRS Lbmmon__SRSMonMsg__Stats__SRS;
28 typedef struct _Lbmmon__SRSMonMsg__Stats__SRSError Lbmmon__SRSMonMsg__Stats__SRSError;
29 typedef struct _Lbmmon__SRSMonMsg__Stats__UMClient Lbmmon__SRSMonMsg__Stats__UMClient;
30 typedef struct _Lbmmon__SRSMonMsg__Stats__UMClientError Lbmmon__SRSMonMsg__Stats__UMClientError;
31 typedef struct _Lbmmon__SRSMonMsg__Events Lbmmon__SRSMonMsg__Events;
32 typedef struct _Lbmmon__SRSMonMsg__Events__UMClientConnect Lbmmon__SRSMonMsg__Events__UMClientConnect;
33 typedef struct _Lbmmon__SRSMonMsg__Events__UMClientDisconnect Lbmmon__SRSMonMsg__Events__UMClientDisconnect;
34 typedef struct _Lbmmon__SRSMonMsg__Events__SourceInfo Lbmmon__SRSMonMsg__Events__SourceInfo;
35 typedef struct _Lbmmon__SRSMonMsg__Events__SourceInfoRecord Lbmmon__SRSMonMsg__Events__SourceInfoRecord;
36 typedef struct _Lbmmon__SRSMonMsg__Events__SourceDeleteRecord Lbmmon__SRSMonMsg__Events__SourceDeleteRecord;
37 typedef struct _Lbmmon__SRSMonMsg__Events__SourceLeaveRecord Lbmmon__SRSMonMsg__Events__SourceLeaveRecord;
38 typedef struct _Lbmmon__SRSMonMsg__Events__ReceiverInfo Lbmmon__SRSMonMsg__Events__ReceiverInfo;
39 typedef struct _Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord;
40 typedef struct _Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord;
41 typedef struct _Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo;
42 typedef struct _Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord;
43 typedef struct _Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord;
44 typedef struct _Lbmmon__SRSMonMsg__Events__RouteInfoRecord Lbmmon__SRSMonMsg__Events__RouteInfoRecord;
45 typedef struct _Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord;
46 typedef struct _Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord;
47
48
49 /* --- enums --- */
50
51
52 /* --- messages --- */
53
54 struct _Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute
55 {
56 ProtobufCMessage base;
57 char *scope;
58 char *name;
59 char *value;
60 };
61 #define LBMMON__SRSMON_MSG__CONFIGS__DAEMON_MONITOR_LBMATTRIBUTE__INIT \
62 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__configs__daemon_monitor_lbmattribute__descriptor) \
63 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
64
65
66 struct _Lbmmon__SRSMonMsg__Configs__Internal
67 {
68 ProtobufCMessage base;
69 char *srs_otidmap_shards;
70 char *srs_topicmap_shards;
71 char *srs_routemap_shards;
72 char *srs_namemap_shards;
73 };
74 #define LBMMON__SRSMON_MSG__CONFIGS__INTERNAL__INIT \
75 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__configs__internal__descriptor) \
76 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string }
77
78
79 struct _Lbmmon__SRSMonMsg__Configs
80 {
81 ProtobufCMessage base;
82 char *version;
83 char *daemon_log;
84 char *daemon_log_type;
85 char *daemon_log_frequency;
86 char *daemon_log_size;
87 char *daemon_log_max_history;
88 char *daemon_log_total_size_cap;
89 char *daemon_log_compression;
90 char *daemon_pid_file;
91 char *srs_interface;
92 char *srs_port;
93 char *srs_state_lifetime;
94 char *srs_source_state_lifetime;
95 char *srs_interest_state_lifetime;
96 char *srs_route_state_lifetime;
97 char *srs_context_name_state_lifetime;
98 char *srs_source_leave_backoff;
99 char *srs_clientactor_request_stream_max_msg_count;
100 char *srs_clientactor_record_queue_service_interval;
101 char *srs_clientactor_batch_frame_max_record_count;
102 char *srs_clientactor_batch_frame_max_datagram_size;
103 char *srs_application_id;
104 char *debug_monitor_interface;
105 char *debug_monitor_port;
106 char *debug_monitor_enabled;
107 char *debug_monitor_ping_interval;
108 char *daemon_monitor_topic;
109 char *daemon_monitor_ping_interval;
110 char *daemon_monitor_publishing_interval_default;
111 char *daemon_monitor_publishing_interval_srs_stats;
112 char *daemon_monitor_publishing_interval_um_client_stats;
113 char *daemon_monitor_publishing_interval_connection_events;
114 char *daemon_monitor_publishing_interval_srs_error_stats;
115 char *daemon_monitor_publishing_interval_um_client_error_stats;
116 char *daemon_monitor_publishing_interval_config_opts;
117 char *daemon_monitor_publishing_interval_internal_config_opts;
118 char *daemon_monitor_publish_connection_events_allow;
119 char *daemon_monitor_remote_snapshot_request_allow;
120 char *daemon_monitor_remote_config_changes_request_allow;
121 char *daemon_monitor_monitor_format;
122 size_t n_daemon_monitor_lbm_attributes;
123 Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute **daemon_monitor_lbm_attributes;
124 Lbmmon__SRSMonMsg__Configs__Internal *internal;
125 };
126 #define LBMMON__SRSMON_MSG__CONFIGS__INIT \
127 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__configs__descriptor) \
128 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0,NULL, NULL }
129
130
131 struct _Lbmmon__SRSMonMsg__UMClientInfo
132 {
133 ProtobufCMessage base;
134 char *ip;
135 uint32_t port;
136 char *session_id;
137 };
138 #define LBMMON__SRSMON_MSG__UMCLIENT_INFO__INIT \
139 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__umclient_info__descriptor) \
140 , (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string }
141
142
143 struct _Lbmmon__SRSMonMsg__Stats__SRS
144 {
145 ProtobufCMessage base;
146 uint64_t clients_next_client_id;
147 uint64_t active_clients_count;
148 uint64_t clients_connects_count;
149 uint64_t clients_disconnects_count;
150 uint64_t clients_max_concurrent_connections_count;
151 uint64_t clients_active_sir_count;
152 uint64_t clients_active_rir_count;
153 uint64_t clients_active_wir_count;
154 uint64_t clients_inactive_sir_count;
155 uint64_t clients_inactive_rir_count;
156 uint64_t clients_inactive_wir_count;
157 uint64_t clients_expired_sir_count;
158 uint64_t clients_expired_rir_count;
159 uint64_t clients_expired_wir_count;
160 uint64_t clients_dr_inactive_sir_count;
161 uint64_t clients_slr_no_otid_match_count;
162 uint64_t clients_active_cnir_count;
163 uint64_t clients_inactive_cnir_count;
164 uint64_t clients_expired_cnir_count;
165 uint64_t clients_duplicate_cnir_count;
166 uint64_t clients_active_dir_count;
167 uint64_t clients_inactive_dir_count;
168 uint64_t clients_expired_dir_count;
169 uint64_t clients_active_rtir_count;
170 uint64_t clients_inactive_rtir_count;
171 uint64_t clients_expired_rtir_count;
172 };
173 #define LBMMON__SRSMON_MSG__STATS__SRS__INIT \
174 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__stats__srs__descriptor) \
175 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
176
177
178 struct _Lbmmon__SRSMonMsg__Stats__SRSError
179 {
180 ProtobufCMessage base;
181 uint64_t clients_duplicate_sir_count;
182 uint64_t clients_duplicate_rir_count;
183 uint64_t clients_duplicate_wir_count;
184 uint64_t clients_invalid_sdr_no_topic_match_count;
185 uint64_t clients_invalid_sdr_no_otid_match_count;
186 uint64_t clients_invalid_sdr_no_transport_match_count;
187 uint64_t clients_invalid_dr_no_topic_match_count;
188 uint64_t clients_invalid_dr_no_otid_match_count;
189 uint64_t clients_invalid_dr_no_transport_match_count;
190 uint64_t clients_invalid_slr_no_topic_match_count;
191 uint64_t clients_invalid_cnir_name_mismatch_count;
192 uint64_t clients_duplicate_dir_count;
193 uint64_t clients_mismatched_dir_count;
194 uint64_t clients_duplicate_rtir_count;
195 };
196 #define LBMMON__SRSMON_MSG__STATS__SRSERROR__INIT \
197 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__stats__srserror__descriptor) \
198 , 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
199
200
201 struct _Lbmmon__SRSMonMsg__Stats__UMClient
202 {
203 ProtobufCMessage base;
204 Lbmmon__SRSMonMsg__UMClientInfo *um_client_info;
205 uint64_t client_sir_received_count;
206 uint64_t client_sdr_received_count;
207 uint64_t client_rir_received_count;
208 uint64_t client_wir_received_count;
209 uint64_t client_rdr_received_count;
210 uint64_t client_wdr_received_count;
211 uint64_t client_slr_received_count;
212 uint64_t client_active_sir_count;
213 uint64_t client_max_concurrent_sir_count;
214 uint64_t client_rtir_received_count;
215 uint64_t client_cnir_received_count;
216 uint64_t client_cnqr_received_count;
217 uint64_t client_unexpected_cner_received_count;
218 uint64_t client_sir_sent_count;
219 uint64_t client_ser_sent_count;
220 uint64_t client_rir_sent_count;
221 uint64_t client_rer_sent_count;
222 uint64_t client_wir_sent_count;
223 uint64_t client_wer_sent_count;
224 uint64_t client_dir_sent_count;
225 uint64_t client_rtir_sent_count;
226 uint64_t client_rter_sent_count;
227 uint64_t client_cnir_sent_count;
228 uint64_t record_queue_depth;
229 };
230 #define LBMMON__SRSMON_MSG__STATS__UMCLIENT__INIT \
231 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__stats__umclient__descriptor) \
232 , NULL, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0 }
233
234
235 struct _Lbmmon__SRSMonMsg__Stats__UMClientError
236 {
237 ProtobufCMessage base;
238 Lbmmon__SRSMonMsg__UMClientInfo *um_client_info;
239 uint64_t client_duplicate_rir_received_count;
240 uint64_t client_duplicate_wir_received_count;
241 uint64_t client_invalid_srs_message_received_count;
242 uint64_t client_invalid_sdr_received_count;
243 uint64_t client_duplicate_rtir_received_count;
244 uint64_t client_duplicate_cnir_received_count;
245 uint64_t client_duplicate_cnqr_received_count;
246 uint64_t client_unexpected_srs_message_sent_count;
247 };
248 #define LBMMON__SRSMON_MSG__STATS__UMCLIENT_ERROR__INIT \
249 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__stats__umclient_error__descriptor) \
250 , NULL, 0, 0, 0, 0, 0, 0, 0, 0 }
251
252
253 struct _Lbmmon__SRSMonMsg__Stats
254 {
255 ProtobufCMessage base;
256 Lbmmon__SRSMonMsg__Stats__SRS *srs;
257 Lbmmon__SRSMonMsg__Stats__SRSError *srs_error;
258 Lbmmon__SRSMonMsg__Stats__UMClient *um_client;
259 Lbmmon__SRSMonMsg__Stats__UMClientError *um_client_error;
260 };
261 #define LBMMON__SRSMON_MSG__STATS__INIT \
262 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__stats__descriptor) \
263 , NULL, NULL, NULL, NULL }
264
265
266 struct _Lbmmon__SRSMonMsg__Events__UMClientConnect
267 {
268 ProtobufCMessage base;
269 uint64_t timestamp;
270 };
271 #define LBMMON__SRSMON_MSG__EVENTS__UMCLIENT_CONNECT__INIT \
272 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__umclient_connect__descriptor) \
273 , 0 }
274
275
276 struct _Lbmmon__SRSMonMsg__Events__UMClientDisconnect
277 {
278 ProtobufCMessage base;
279 uint64_t timestamp;
280 };
281 #define LBMMON__SRSMON_MSG__EVENTS__UMCLIENT_DISCONNECT__INIT \
282 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__umclient_disconnect__descriptor) \
283 , 0 }
284
285
286 struct _Lbmmon__SRSMonMsg__Events__SourceInfo
287 {
288 ProtobufCMessage base;
289 char *source;
290 char *topic;
291 uint64_t timestamp;
292 };
293 #define LBMMON__SRSMON_MSG__EVENTS__SOURCE_INFO__INIT \
294 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__source_info__descriptor) \
295 , (char *)protobuf_c_empty_string, (char *)protobuf_c_empty_string, 0 }
296
297
298 struct _Lbmmon__SRSMonMsg__Events__SourceInfoRecord
299 {
300 ProtobufCMessage base;
301 Lbmmon__SRSMonMsg__Events__SourceInfo *source_info;
302 };
303 #define LBMMON__SRSMON_MSG__EVENTS__SOURCE_INFO_RECORD__INIT \
304 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__source_info_record__descriptor) \
305 , NULL }
306
307
308 struct _Lbmmon__SRSMonMsg__Events__SourceDeleteRecord
309 {
310 ProtobufCMessage base;
311 Lbmmon__SRSMonMsg__Events__SourceInfo *source_info;
312 };
313 #define LBMMON__SRSMON_MSG__EVENTS__SOURCE_DELETE_RECORD__INIT \
314 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__source_delete_record__descriptor) \
315 , NULL }
316
317
318 struct _Lbmmon__SRSMonMsg__Events__SourceLeaveRecord
319 {
320 ProtobufCMessage base;
321 Lbmmon__SRSMonMsg__Events__SourceInfo *source_info;
322 };
323 #define LBMMON__SRSMON_MSG__EVENTS__SOURCE_LEAVE_RECORD__INIT \
324 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__source_leave_record__descriptor) \
325 , NULL }
326
327
328 struct _Lbmmon__SRSMonMsg__Events__ReceiverInfo
329 {
330 ProtobufCMessage base;
331 char *topic;
332 uint64_t domain_id;
333 uint64_t timestamp;
334 };
335 #define LBMMON__SRSMON_MSG__EVENTS__RECEIVER_INFO__INIT \
336 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__receiver_info__descriptor) \
337 , (char *)protobuf_c_empty_string, 0, 0 }
338
339
340 struct _Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord
341 {
342 ProtobufCMessage base;
343 Lbmmon__SRSMonMsg__Events__ReceiverInfo *receiver_info;
344 };
345 #define LBMMON__SRSMON_MSG__EVENTS__RECEIVER_INFO_RECORD__INIT \
346 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__receiver_info_record__descriptor) \
347 , NULL }
348
349
350 struct _Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord
351 {
352 ProtobufCMessage base;
353 Lbmmon__SRSMonMsg__Events__ReceiverInfo *receiver_info;
354 };
355 #define LBMMON__SRSMON_MSG__EVENTS__RECEIVER_DELETE_RECORD__INIT \
356 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__receiver_delete_record__descriptor) \
357 , NULL }
358
359
360 struct _Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo
361 {
362 ProtobufCMessage base;
363 char *pattern;
364 uint64_t domain_id;
365 uint64_t timestamp;
366 };
367 #define LBMMON__SRSMON_MSG__EVENTS__WILDCARD_RECEIVER_INFO__INIT \
368 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__wildcard_receiver_info__descriptor) \
369 , (char *)protobuf_c_empty_string, 0, 0 }
370
371
372 struct _Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord
373 {
374 ProtobufCMessage base;
375 Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo *wildcard_receiver_info;
376 };
377 #define LBMMON__SRSMON_MSG__EVENTS__WILDCARD_RECEIVER_INFO_RECORD__INIT \
378 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__wildcard_receiver_info_record__descriptor) \
379 , NULL }
380
381
382 struct _Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord
383 {
384 ProtobufCMessage base;
385 Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo *wildcard_receiver_info;
386 };
387 #define LBMMON__SRSMON_MSG__EVENTS__WILDCARD_RECEIVER_DELETE_RECORD__INIT \
388 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__wildcard_receiver_delete_record__descriptor) \
389 , NULL }
390
391
392 struct _Lbmmon__SRSMonMsg__Events__RouteInfoRecord
393 {
394 ProtobufCMessage base;
395 char *ip;
396 uint32_t port;
397 size_t n_domain_ids;
398 uint64_t *domain_ids;
399 uint64_t timestamp;
400 };
401 #define LBMMON__SRSMON_MSG__EVENTS__ROUTE_INFO_RECORD__INIT \
402 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__route_info_record__descriptor) \
403 , (char *)protobuf_c_empty_string, 0, 0,NULL, 0 }
404
405
406 struct _Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord
407 {
408 ProtobufCMessage base;
409 char *name;
410 uint64_t domain_id;
411 char *ip;
412 uint32_t port;
413 char *origin_context_instance;
414 uint64_t timestamp;
415 };
416 #define LBMMON__SRSMON_MSG__EVENTS__CONTEXT_NAME_INFO_RECORD__INIT \
417 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__context_name_info_record__descriptor) \
418 , (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, 0, (char *)protobuf_c_empty_string, 0 }
419
420
421 struct _Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord
422 {
423 ProtobufCMessage base;
424 char *name;
425 uint64_t domain_id;
426 uint64_t timestamp;
427 };
428 #define LBMMON__SRSMON_MSG__EVENTS__CONTEXT_NAME_QUERY_RECORD__INIT \
429 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__context_name_query_record__descriptor) \
430 , (char *)protobuf_c_empty_string, 0, 0 }
431
432
433 struct _Lbmmon__SRSMonMsg__Events
434 {
435 ProtobufCMessage base;
436 Lbmmon__SRSMonMsg__UMClientInfo *um_client_info;
437 Lbmmon__SRSMonMsg__Events__UMClientConnect *um_client_connect;
438 Lbmmon__SRSMonMsg__Events__UMClientDisconnect *um_client_disconnect;
439 size_t n_source_info_records;
440 Lbmmon__SRSMonMsg__Events__SourceInfoRecord **source_info_records;
441 size_t n_source_delete_records;
442 Lbmmon__SRSMonMsg__Events__SourceDeleteRecord **source_delete_records;
443 size_t n_source_leave_records;
444 Lbmmon__SRSMonMsg__Events__SourceLeaveRecord **source_leave_records;
445 size_t n_receiver_info_records;
446 Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord **receiver_info_records;
447 size_t n_receiver_delete_records;
448 Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord **receiver_delete_records;
449 size_t n_wildcard_receiver_info_records;
450 Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord **wildcard_receiver_info_records;
451 size_t n_wildcard_receiver_delete_records;
452 Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord **wildcard_receiver_delete_records;
453 size_t n_route_info_records;
454 Lbmmon__SRSMonMsg__Events__RouteInfoRecord **route_info_records;
455 size_t n_context_name_info_records;
456 Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord **context_name_info_records;
457 size_t n_context_name_query_records;
458 Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord **context_name_query_records;
459 };
460 #define LBMMON__SRSMON_MSG__EVENTS__INIT \
461 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__events__descriptor) \
462 , NULL, NULL, NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL, 0,NULL }
463
464
465 struct _Lbmmon__SRSMonMsg
466 {
467 ProtobufCMessage base;
468 Lbmmon__UMMonAttributes *attributes;
469 Lbmmon__SRSMonMsg__Configs *configs;
470 Lbmmon__SRSMonMsg__Stats *stats;
471 Lbmmon__SRSMonMsg__Events *events;
472 };
473 #define LBMMON__SRSMON_MSG__INIT \
474 { PROTOBUF_C_MESSAGE_INIT (&lbmmon__srsmon_msg__descriptor) \
475 , NULL, NULL, NULL, NULL }
476
477
478 /* Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute methods */
479 void lbmmon__srsmon_msg__configs__daemon_monitor_lbmattribute__init
480 (Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute *message);
481 /* Lbmmon__SRSMonMsg__Configs__Internal methods */
482 void lbmmon__srsmon_msg__configs__internal__init
483 (Lbmmon__SRSMonMsg__Configs__Internal *message);
484 /* Lbmmon__SRSMonMsg__Configs methods */
485 void lbmmon__srsmon_msg__configs__init
486 (Lbmmon__SRSMonMsg__Configs *message);
487 /* Lbmmon__SRSMonMsg__UMClientInfo methods */
488 void lbmmon__srsmon_msg__umclient_info__init
489 (Lbmmon__SRSMonMsg__UMClientInfo *message);
490 /* Lbmmon__SRSMonMsg__Stats__SRS methods */
491 void lbmmon__srsmon_msg__stats__srs__init
492 (Lbmmon__SRSMonMsg__Stats__SRS *message);
493 /* Lbmmon__SRSMonMsg__Stats__SRSError methods */
494 void lbmmon__srsmon_msg__stats__srserror__init
495 (Lbmmon__SRSMonMsg__Stats__SRSError *message);
496 /* Lbmmon__SRSMonMsg__Stats__UMClient methods */
497 void lbmmon__srsmon_msg__stats__umclient__init
498 (Lbmmon__SRSMonMsg__Stats__UMClient *message);
499 /* Lbmmon__SRSMonMsg__Stats__UMClientError methods */
500 void lbmmon__srsmon_msg__stats__umclient_error__init
501 (Lbmmon__SRSMonMsg__Stats__UMClientError *message);
502 /* Lbmmon__SRSMonMsg__Stats methods */
503 void lbmmon__srsmon_msg__stats__init
504 (Lbmmon__SRSMonMsg__Stats *message);
505 /* Lbmmon__SRSMonMsg__Events__UMClientConnect methods */
506 void lbmmon__srsmon_msg__events__umclient_connect__init
507 (Lbmmon__SRSMonMsg__Events__UMClientConnect *message);
508 /* Lbmmon__SRSMonMsg__Events__UMClientDisconnect methods */
509 void lbmmon__srsmon_msg__events__umclient_disconnect__init
510 (Lbmmon__SRSMonMsg__Events__UMClientDisconnect *message);
511 /* Lbmmon__SRSMonMsg__Events__SourceInfo methods */
512 void lbmmon__srsmon_msg__events__source_info__init
513 (Lbmmon__SRSMonMsg__Events__SourceInfo *message);
514 /* Lbmmon__SRSMonMsg__Events__SourceInfoRecord methods */
515 void lbmmon__srsmon_msg__events__source_info_record__init
516 (Lbmmon__SRSMonMsg__Events__SourceInfoRecord *message);
517 /* Lbmmon__SRSMonMsg__Events__SourceDeleteRecord methods */
518 void lbmmon__srsmon_msg__events__source_delete_record__init
519 (Lbmmon__SRSMonMsg__Events__SourceDeleteRecord *message);
520 /* Lbmmon__SRSMonMsg__Events__SourceLeaveRecord methods */
521 void lbmmon__srsmon_msg__events__source_leave_record__init
522 (Lbmmon__SRSMonMsg__Events__SourceLeaveRecord *message);
523 /* Lbmmon__SRSMonMsg__Events__ReceiverInfo methods */
524 void lbmmon__srsmon_msg__events__receiver_info__init
525 (Lbmmon__SRSMonMsg__Events__ReceiverInfo *message);
526 /* Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord methods */
527 void lbmmon__srsmon_msg__events__receiver_info_record__init
528 (Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord *message);
529 /* Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord methods */
530 void lbmmon__srsmon_msg__events__receiver_delete_record__init
531 (Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord *message);
532 /* Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo methods */
533 void lbmmon__srsmon_msg__events__wildcard_receiver_info__init
534 (Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo *message);
535 /* Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord methods */
536 void lbmmon__srsmon_msg__events__wildcard_receiver_info_record__init
537 (Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord *message);
538 /* Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord methods */
539 void lbmmon__srsmon_msg__events__wildcard_receiver_delete_record__init
540 (Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord *message);
541 /* Lbmmon__SRSMonMsg__Events__RouteInfoRecord methods */
542 void lbmmon__srsmon_msg__events__route_info_record__init
543 (Lbmmon__SRSMonMsg__Events__RouteInfoRecord *message);
544 /* Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord methods */
545 void lbmmon__srsmon_msg__events__context_name_info_record__init
546 (Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord *message);
547 /* Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord methods */
548 void lbmmon__srsmon_msg__events__context_name_query_record__init
549 (Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord *message);
550 /* Lbmmon__SRSMonMsg__Events methods */
551 void lbmmon__srsmon_msg__events__init
552 (Lbmmon__SRSMonMsg__Events *message);
553 /* Lbmmon__SRSMonMsg methods */
554 void lbmmon__srsmon_msg__init
555 (Lbmmon__SRSMonMsg *message);
556 size_t lbmmon__srsmon_msg__get_packed_size
557 (const Lbmmon__SRSMonMsg *message);
558 size_t lbmmon__srsmon_msg__pack
559 (const Lbmmon__SRSMonMsg *message,
560 uint8_t *out);
561 size_t lbmmon__srsmon_msg__pack_to_buffer
562 (const Lbmmon__SRSMonMsg *message,
563 ProtobufCBuffer *buffer);
564 Lbmmon__SRSMonMsg *
565 lbmmon__srsmon_msg__unpack
566 (ProtobufCAllocator *allocator,
567 size_t len,
568 const uint8_t *data);
569 void lbmmon__srsmon_msg__free_unpacked
570 (Lbmmon__SRSMonMsg *message,
571 ProtobufCAllocator *allocator);
572 /* --- per-message closures --- */
573
574 typedef void (*Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute_Closure)
575 (const Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute *message,
576 void *closure_data);
577 typedef void (*Lbmmon__SRSMonMsg__Configs__Internal_Closure)
578 (const Lbmmon__SRSMonMsg__Configs__Internal *message,
579 void *closure_data);
580 typedef void (*Lbmmon__SRSMonMsg__Configs_Closure)
581 (const Lbmmon__SRSMonMsg__Configs *message,
582 void *closure_data);
583 typedef void (*Lbmmon__SRSMonMsg__UMClientInfo_Closure)
584 (const Lbmmon__SRSMonMsg__UMClientInfo *message,
585 void *closure_data);
586 typedef void (*Lbmmon__SRSMonMsg__Stats__SRS_Closure)
587 (const Lbmmon__SRSMonMsg__Stats__SRS *message,
588 void *closure_data);
589 typedef void (*Lbmmon__SRSMonMsg__Stats__SRSError_Closure)
590 (const Lbmmon__SRSMonMsg__Stats__SRSError *message,
591 void *closure_data);
592 typedef void (*Lbmmon__SRSMonMsg__Stats__UMClient_Closure)
593 (const Lbmmon__SRSMonMsg__Stats__UMClient *message,
594 void *closure_data);
595 typedef void (*Lbmmon__SRSMonMsg__Stats__UMClientError_Closure)
596 (const Lbmmon__SRSMonMsg__Stats__UMClientError *message,
597 void *closure_data);
598 typedef void (*Lbmmon__SRSMonMsg__Stats_Closure)
599 (const Lbmmon__SRSMonMsg__Stats *message,
600 void *closure_data);
601 typedef void (*Lbmmon__SRSMonMsg__Events__UMClientConnect_Closure)
602 (const Lbmmon__SRSMonMsg__Events__UMClientConnect *message,
603 void *closure_data);
604 typedef void (*Lbmmon__SRSMonMsg__Events__UMClientDisconnect_Closure)
605 (const Lbmmon__SRSMonMsg__Events__UMClientDisconnect *message,
606 void *closure_data);
607 typedef void (*Lbmmon__SRSMonMsg__Events__SourceInfo_Closure)
608 (const Lbmmon__SRSMonMsg__Events__SourceInfo *message,
609 void *closure_data);
610 typedef void (*Lbmmon__SRSMonMsg__Events__SourceInfoRecord_Closure)
611 (const Lbmmon__SRSMonMsg__Events__SourceInfoRecord *message,
612 void *closure_data);
613 typedef void (*Lbmmon__SRSMonMsg__Events__SourceDeleteRecord_Closure)
614 (const Lbmmon__SRSMonMsg__Events__SourceDeleteRecord *message,
615 void *closure_data);
616 typedef void (*Lbmmon__SRSMonMsg__Events__SourceLeaveRecord_Closure)
617 (const Lbmmon__SRSMonMsg__Events__SourceLeaveRecord *message,
618 void *closure_data);
619 typedef void (*Lbmmon__SRSMonMsg__Events__ReceiverInfo_Closure)
620 (const Lbmmon__SRSMonMsg__Events__ReceiverInfo *message,
621 void *closure_data);
622 typedef void (*Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord_Closure)
623 (const Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord *message,
624 void *closure_data);
625 typedef void (*Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord_Closure)
626 (const Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord *message,
627 void *closure_data);
628 typedef void (*Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo_Closure)
629 (const Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo *message,
630 void *closure_data);
631 typedef void (*Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord_Closure)
632 (const Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord *message,
633 void *closure_data);
634 typedef void (*Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord_Closure)
635 (const Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord *message,
636 void *closure_data);
637 typedef void (*Lbmmon__SRSMonMsg__Events__RouteInfoRecord_Closure)
638 (const Lbmmon__SRSMonMsg__Events__RouteInfoRecord *message,
639 void *closure_data);
640 typedef void (*Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord_Closure)
641 (const Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord *message,
642 void *closure_data);
643 typedef void (*Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord_Closure)
644 (const Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord *message,
645 void *closure_data);
646 typedef void (*Lbmmon__SRSMonMsg__Events_Closure)
647 (const Lbmmon__SRSMonMsg__Events *message,
648 void *closure_data);
649 typedef void (*Lbmmon__SRSMonMsg_Closure)
650 (const Lbmmon__SRSMonMsg *message,
651 void *closure_data);
652
653 /* --- services --- */
654
655
656 /* --- descriptors --- */
657
658 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__descriptor;
659 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__configs__descriptor;
660 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__configs__daemon_monitor_lbmattribute__descriptor;
661 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__configs__internal__descriptor;
662 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__umclient_info__descriptor;
663 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__stats__descriptor;
664 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__stats__srs__descriptor;
665 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__stats__srserror__descriptor;
666 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__stats__umclient__descriptor;
667 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__stats__umclient_error__descriptor;
668 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__descriptor;
669 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__umclient_connect__descriptor;
670 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__umclient_disconnect__descriptor;
671 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__source_info__descriptor;
672 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__source_info_record__descriptor;
673 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__source_delete_record__descriptor;
674 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__source_leave_record__descriptor;
675 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__receiver_info__descriptor;
676 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__receiver_info_record__descriptor;
677 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__receiver_delete_record__descriptor;
678 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__wildcard_receiver_info__descriptor;
679 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__wildcard_receiver_info_record__descriptor;
680 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__wildcard_receiver_delete_record__descriptor;
681 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__route_info_record__descriptor;
682 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__context_name_info_record__descriptor;
683 extern const ProtobufCMessageDescriptor lbmmon__srsmon_msg__events__context_name_query_record__descriptor;
684
685 PROTOBUF_C__END_DECLS
686
687
688 #endif /* PROTOBUF_C_srs_5fmon_2eproto__INCLUDED */
_Lbmmon__SRSMonMsg__Stats__UMClient
Definition: srs_mon.pb-c.h:201
_Lbmmon__SRSMonMsg__Events
Definition: srs_mon.pb-c.h:433
_Lbmmon__SRSMonMsg__Events__UMClientDisconnect
Definition: srs_mon.pb-c.h:276
_Lbmmon__SRSMonMsg__Events__ContextNameInfoRecord
Definition: srs_mon.pb-c.h:406
_Lbmmon__SRSMonMsg
Definition: srs_mon.pb-c.h:465
_Lbmmon__SRSMonMsg__Events__WildcardReceiverInfoRecord
Definition: srs_mon.pb-c.h:372
um_mon_attributes.pb-c.h
Defintions for protocol buffers.
_Lbmmon__SRSMonMsg__Events__SourceInfoRecord
Definition: srs_mon.pb-c.h:298
_Lbmmon__SRSMonMsg__Configs__DaemonMonitorLBMAttribute
Definition: srs_mon.pb-c.h:54
_Lbmmon__SRSMonMsg__Events__SourceDeleteRecord
Definition: srs_mon.pb-c.h:308
_Lbmmon__SRSMonMsg__Events__SourceInfo
Definition: srs_mon.pb-c.h:286
_Lbmmon__SRSMonMsg__Events__ReceiverInfo
Definition: srs_mon.pb-c.h:328
_Lbmmon__SRSMonMsg__Configs__Internal
Definition: srs_mon.pb-c.h:66
_Lbmmon__SRSMonMsg__Stats__SRS
Definition: srs_mon.pb-c.h:143
_Lbmmon__SRSMonMsg__Events__ReceiverDeleteRecord
Definition: srs_mon.pb-c.h:350
_Lbmmon__SRSMonMsg__Events__ContextNameQueryRecord
Definition: srs_mon.pb-c.h:421
_Lbmmon__SRSMonMsg__Configs
Definition: srs_mon.pb-c.h:79
_Lbmmon__SRSMonMsg__Events__WildcardReceiverDeleteRecord
Definition: srs_mon.pb-c.h:382
_Lbmmon__SRSMonMsg__Events__ReceiverInfoRecord
Definition: srs_mon.pb-c.h:340
_Lbmmon__SRSMonMsg__Stats__SRSError
Definition: srs_mon.pb-c.h:178
_Lbmmon__SRSMonMsg__Events__SourceLeaveRecord
Definition: srs_mon.pb-c.h:318
_Lbmmon__SRSMonMsg__Events__WildcardReceiverInfo
Definition: srs_mon.pb-c.h:360
_Lbmmon__SRSMonMsg__Stats
Definition: srs_mon.pb-c.h:253
_Lbmmon__SRSMonMsg__Events__UMClientConnect
Definition: srs_mon.pb-c.h:266
_Lbmmon__SRSMonMsg__Stats__UMClientError
Definition: srs_mon.pb-c.h:235
_Lbmmon__SRSMonMsg__UMClientInfo
Definition: srs_mon.pb-c.h:131
_Lbmmon__SRSMonMsg__Events__RouteInfoRecord
Definition: srs_mon.pb-c.h:392