38#include <sys/socket.h>
41#include <netinet/in.h>
67 if (corosync_quorum_fns) {
68 return corosync_quorum_fns->quorate();
77 if (corosync_quorum_fns) {
78 return corosync_quorum_fns->register_callback(fn, context);
87 if (corosync_quorum_fns) {
88 return corosync_quorum_fns->unregister_callback(fn, context);
97 if (corosync_quorum_fns)
100 corosync_quorum_fns = fns;
106 if (corosync_quorum_fns)
void(* quorum_callback_fn_t)(int quorate, void *context)
The quorum_callback_fn_t callback.
int corosync_quorum_register_callback(quorum_callback_fn_t fn, void *context)
int corosync_quorum_is_quorate(void)
int corosync_quorum_unregister_callback(quorum_callback_fn_t fn, void *context)
int corosync_quorum_initialize(struct quorum_callin_functions *fns)
#define LOGSYS_DECLARE_SUBSYS(subsys)
The LOGSYS_DECLARE_SUBSYS macro.
The quorum_callin_functions struct.
Totem Single Ring Protocol.