46#include <sys/socket.h>
47#include <sys/select.h>
76static void cfg_inst_free (
void *inst);
247static void cfg_inst_free (
void *inst)
349 for (
j = 0;
j <
i;
j++) {
355 for (
j = 0;
j <
i;
j++) {
698 in6->sin6_family = 0;
corosync_cfg_node_status_version_t
corosync_cfg_shutdown_reply_flags_t
enum corosync_cfg_shutdown_reply_flags_t
uint64_t corosync_cfg_handle_t
corosync_cfg_shutdown_flags_t
Shutdown types.
cs_dispatch_flags_t
The cs_dispatch_flags_t enum.
@ CS_DISPATCH_ONE_NONBLOCKING
cs_error_t qb_to_cs_error(int result)
qb_to_cs_error
#define CS_MAX_NAME_LENGTH
cs_error_t
The cs_error_t enum.
#define CS_IPC_TIMEOUT_MS
#define DECLARE_HDB_DATABASE
@ MESSAGE_REQ_CFG_RELOAD_CONFIG
@ MESSAGE_REQ_CFG_RINGSTATUSGET
@ MESSAGE_REQ_CFG_TRACKSTART
@ MESSAGE_REQ_CFG_TRACKSTOP
@ MESSAGE_REQ_CFG_NODESTATUSGET
@ MESSAGE_REQ_CFG_REOPEN_LOG_FILES
@ MESSAGE_REQ_CFG_TRYSHUTDOWN
@ MESSAGE_REQ_CFG_REPLYTOSHUTDOWN
@ MESSAGE_REQ_CFG_KILLNODE
@ MESSAGE_REQ_CFG_GET_NODE_ADDRS
@ MESSAGE_REQ_CFG_LOCAL_GET
@ MESSAGE_RES_CFG_TESTSHUTDOWN
cs_error_t corosync_cfg_trackstart(corosync_cfg_handle_t cfg_handle, uint8_t track_flags)
corosync_cfg_trackstart Track CFG for shutdown requests
cs_error_t corosync_cfg_fd_get(corosync_cfg_handle_t cfg_handle, int32_t *selection_fd)
corosync_cfg_fd_get
cs_error_t corosync_cfg_finalize(corosync_cfg_handle_t cfg_handle)
corosync_cfg_finalize
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_kill_node(corosync_cfg_handle_t cfg_handle, unsigned int nodeid, const char *reason)
corosync_cfg_kill_node
cs_error_t corosync_cfg_replyto_shutdown(corosync_cfg_handle_t cfg_handle, corosync_cfg_shutdown_reply_flags_t response)
corosync_cfg_replyto_shutdown
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_trackstop(corosync_cfg_handle_t cfg_handle)
corosync_cfg_trackstop Stop tracking CFG for shutdown requests
cs_error_t corosync_cfg_initialize(corosync_cfg_handle_t *cfg_handle, const corosync_cfg_callbacks_t *cfg_callbacks)
corosync_cfg_initialize
cs_error_t corosync_cfg_reload_config(corosync_cfg_handle_t handle)
corosync_cfg_reload_config
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_reopen_log_files(corosync_cfg_handle_t handle)
Reopen logging files.
cs_error_t corosync_cfg_local_get(corosync_cfg_handle_t handle, unsigned int *local_nodeid)
corosync_cfg_local_get
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_node_status_get(corosync_cfg_handle_t cfg_handle, unsigned int nodeid, corosync_cfg_node_status_version_t version, void *node_status)
corosync_cfg_node_status_get
cs_error_t hdb_error_to_cs(int res)
#define IPC_DISPATCH_SIZE
#define IPC_RESPONSE_SIZE
corosync_cfg_callbacks_t callbacks
struct corosync_cfg_shutdown_callback_t
corosync_cfg_shutdown_callback_t corosync_cfg_shutdown_callback
The req_lib_cfg_get_node_addrs struct.
The req_lib_cfg_killnode struct.
The req_lib_cfg_local_get struct.
The req_lib_cfg_nodestatusget struct.
The req_lib_cfg_reload_config struct.
The req_lib_cfg_reopen_log_files struct.
The req_lib_cfg_replytoshutdown struct.
The req_lib_cfg_ringstatusget struct.
struct qb_ipc_request_header header
struct qb_ipc_request_header header
The req_lib_cfg_tryshutdown struct.
The res_lib_cfg_get_node_addrs struct.
The res_lib_cfg_killnode struct.
The res_lib_cfg_local_get struct.
The res_lib_cfg_nodestatusget struct.
The res_lib_cfg_reload_config struct.
The res_lib_cfg_reopen_log_files struct.
The res_lib_cfg_replytoshutdown struct.
The res_lib_cfg_ringstatusget struct.
The res_lib_cfg_testshutdown struct.
struct qb_ipc_response_header header
struct qb_ipc_response_header header
The res_lib_cfg_tryshutdown struct.