35 #ifndef COROSYNC_CFG_H_DEFINED
36 #define COROSYNC_CFG_H_DEFINED
38 #include <netinet/in.h>
98 char address[
sizeof(
struct sockaddr_in6)];
128 int32_t *selection_fd);
161 char ***interface_names,
163 unsigned int *interface_count);
235 unsigned int *local_nodeid);
struct corosync_cfg_shutdown_callback_t
cs_error_t corosync_cfg_finalize(corosync_cfg_handle_t cfg_handle)
corosync_cfg_finalize
cs_error_t corosync_cfg_ring_reenable(corosync_cfg_handle_t cfg_handle)
corosync_cfg_ring_reenable
cs_error_t corosync_cfg_dispatch(corosync_cfg_handle_t cfg_handle, cs_dispatch_flags_t dispatch_flags)
corosync_cfg_dispatch
cs_error_t corosync_cfg_get_node_addrs(corosync_cfg_handle_t cfg_handle, unsigned int nodeid, size_t max_addrs, int *num_addrs, corosync_cfg_node_address_t *addrs)
corosync_cfg_get_node_addrs
cs_error_t corosync_cfg_fd_get(corosync_cfg_handle_t cfg_handle, int32_t *selection_fd)
corosync_cfg_fd_get
corosync_cfg_shutdown_flags_t
Shutdown types.
uint64_t corosync_cfg_handle_t
REGARDLESS will tell other daemons but ignore their opinions.
cs_error_t corosync_cfg_reload_config(corosync_cfg_handle_t handle)
corosync_cfg_reload_config
cs_error_t corosync_cfg_initialize(corosync_cfg_handle_t *cfg_handle, const corosync_cfg_callbacks_t *cfg_callbacks)
corosync_cfg_initialize
corosync_cfg_shutdown_callback_t corosync_cfg_shutdown_callback
cs_error_t corosync_cfg_kill_node(corosync_cfg_handle_t cfg_handle, unsigned int nodeid, const char *reason)
corosync_cfg_kill_node
void(* corosync_cfg_shutdown_callback_t)(corosync_cfg_handle_t cfg_handle, corosync_cfg_shutdown_flags_t flags)
corosync_cfg_shutdown_callback_t callback
IMMEDIATE will shut down straight away (but still tell other nodes).
cs_error_t
The cs_error_t enum.
REQUEST is the normal shutdown.
cs_dispatch_flags_t
The cs_dispatch_flags_t enum.
cs_error_t corosync_cfg_replyto_shutdown(corosync_cfg_handle_t cfg_handle, corosync_cfg_shutdown_reply_flags_t flags)
corosync_cfg_replyto_shutdown
corosync_cfg_shutdown_reply_flags_t
enum corosync_cfg_shutdown_reply_flags_t
cs_error_t corosync_cfg_try_shutdown(corosync_cfg_handle_t cfg_handle, corosync_cfg_shutdown_flags_t flags)
corosync_cfg_try_shutdown
cs_error_t corosync_cfg_ring_status_get(corosync_cfg_handle_t cfg_handle, char ***interface_names, char ***status, unsigned int *interface_count)
corosync_cfg_ring_status_get
cs_error_t corosync_cfg_local_get(corosync_cfg_handle_t handle, unsigned int *local_nodeid)
corosync_cfg_local_get