12#ifndef _H_agt_yp_ha_standby
13#define _H_agt_yp_ha_standby
125 const xmlChar *new_server_id);
159 const xmlChar **config_stamp);
168extern const xmlChar *
Multi-Protocol Network Management Server.
YumaPro High Availability module (YP-HA)
status_t agt_yp_ha_standby_get_config_info(yp_ha_service_t *ha_serv, ncx_transaction_id_t *config_id, const xmlChar **config_stamp)
Get the config ID and timestamp info.
Definition: agt_yp_ha_standby.c:2072
status_t agt_yp_ha_standby_go(yp_ha_service_t *ha_serv)
Go into YP-HA Standby server mode.
Definition: agt_yp_ha_standby.c:1868
status_t agt_yp_ha_standby_setup(yp_ha_service_t *ha_serv, const xmlChar *new_server_id)
Setup the HA service standby_cb record for YP-HA Standby mode.
Definition: agt_yp_ha_standby.c:1983
void agt_yp_ha_standby_cleanup(yp_ha_service_t *ha_serv)
Cleanup the YP-HA Standby module.
Definition: agt_yp_ha_standby.c:2007
void agt_yp_ha_standby_init(yp_ha_service_t *ha_serv)
Initialize the YP-HA Standby module.
Definition: agt_yp_ha_standby.c:1908
void agt_yp_ha_standby_check_cleanup(yp_ha_service_t *ha_serv)
Check if the cleanup of standby mode is needed.
Definition: agt_yp_ha_standby.c:2031
const xmlChar * agt_yp_ha_standby_get_active_server(yp_ha_service_t *ha_serv)
Get the active server or in progress of connecting.
Definition: agt_yp_ha_standby.c:2102
void agt_yp_ha_standby_stop(yp_ha_service_t *ha_serv)
Exit YP-HA Standby server mode.
Definition: agt_yp_ha_standby.c:1889
status_t
global error return code
Definition: status_enum.h:210
uint64 ncx_transaction_id_t
transaction is scoped to single session write operation on a config
Definition: ncxtypes.h:728
global error status code enumerations
YP-HA service instance.
Definition: agt_yp_ha.h:157