Go to the documentation of this file.
34 #ifndef COROSYNC_QUORUM_H_DEFINED
35 #define COROSYNC_QUORUM_H_DEFINED
55 uint32_t view_list_entries,
79 uint32_t *quorum_type);
130 unsigned int flags );
148 const void *context);
158 const void **context);
cs_error_t quorum_context_set(quorum_handle_t handle, const void *context)
quorum_context_set
quorum_notification_fn_t quorum_notify_fn
cs_error_t quorum_fd_get(quorum_handle_t handle, int *fd)
Get a file descriptor on which to poll.
cs_dispatch_flags_t
The cs_dispatch_flags_t enum.
void(* quorum_notification_fn_t)(quorum_handle_t handle, uint32_t quorate, uint64_t ring_seq, uint32_t view_list_entries, uint32_t *view_list)
The quorum_notification_fn_t callback.
cs_error_t quorum_initialize(quorum_handle_t *handle, quorum_callbacks_t *callbacks, uint32_t *quorum_type)
Create a new quorum connection.
cs_error_t
The cs_error_t enum.
cs_error_t quorum_trackstart(quorum_handle_t handle, unsigned int flags)
Track node and quorum changes.
The quorum_callbacks_t struct.
cs_error_t quorum_finalize(quorum_handle_t handle)
Close the quorum handle.
unsigned long long ring_seq
cs_error_t quorum_trackstop(quorum_handle_t handle)
quorum_trackstop
uint64_t quorum_handle_t
quorum_handle_t
cs_error_t quorum_getquorate(quorum_handle_t handle, int *quorate)
Get quorum information.
cs_error_t quorum_dispatch(quorum_handle_t handle, cs_dispatch_flags_t dispatch_types)
Dispatch messages and configuration changes.
cs_error_t quorum_context_get(quorum_handle_t handle, const void **context)
quorum_context_get