yumapro
24.10-2
YumaPro SDK
|
control block for 1 ycontrol manager (only 1 used) More...
#include <ycontrol.h>
Data Fields | |
xmlChar * | subsys_id |
malloced subsystem ID to use | |
xmlChar * | server_id |
malloced server ID that this subsystem connected to | |
char * | server_root |
malloced server root ID used in server Multi-Instance Mode set from the –server-root CLI parameter | |
ycontrol_state_t | ycontrol_state |
current YControl protocol state | |
status_t | ycontrol_res |
last operation result | |
int | connect_retries |
connect retries done | |
int | connect_max_retries |
connect retries allowed | |
int | connect_retry_interval |
number of milliseconds to wait before connect retry | |
boolean | shutdown_requested |
flag shutdown requested by the application | |
boolean | is_standby |
internal flag to identify special subsystem that is a server connecting to another server | |
time_t | boot_timestamp |
timestamp of the connection attempt | |
struct timeval | retry_timestamp |
retry timestamp | |
ses_cb_t * | ycontrol_scb |
session control block for connection to server | |
fd_set | active_fd_set |
socket active FD set | |
fd_set | read_fd_set |
socket read FD set | |
fd_set | write_fd_set |
socket write FD set | |
ncx_module_t * | ycontrol_mod |
parsed and saved YANG module for YControl messages | |
obj_template_t * | ycontrol_obj |
YControl message YANG object. | |
val_value_t * | ycontrol_msg |
cached message subtree to save time | |
val_value_t * | ycontrol_txid |
cached transaction ID | |
val_value_t * | ycontrol_payload |
cached payload to reload and save time | |
val_value_t * | ycontrol_ok |
cached OK message ready to reload and send | |
val_value_t * | ycontrol_error |
cached error message ready to reload and send | |
uint32 | next_msgid |
next message ID, incremented when subsystem initiates the message | |
ycontrol_timer_handler_t | timer_handler |
timer callback for periodic checks like reconnect | |
ycontrol_service_t | service [YCONTROL_MAX_SERVICES] |
service layers registered callbacks stored here | |
control block for 1 ycontrol manager (only 1 used)