confd_lib_ha
Synopsis
#include <confd_lib.h>
#include <confd_ha.h>
int confd_ha_connect(
int sock, const struct sockaddr* srv, int srv_sz, const char *token);
int confd_ha_beprimary(
int sock, confd_value_t *mynodeid);
int confd_ha_besecondary(
int sock, confd_value_t *mynodeid, struct confd_ha_node *primary, int waitreply);
int confd_ha_berelay(
int sock);
int confd_ha_benone(
int sock);
int confd_ha_get_status(
int sock, struct confd_ha_status *stat);
int confd_ha_secondary_dead(
int sock, confd_value_t *nodeid);Library
Description
Functions
See Also
Last updated
Was this helpful?

