|
corosync
3.0.3
|


Go to the source code of this file.
Data Structures | |
| struct | corosync_cfg_callbacks_t |
| struct corosync_cfg_shutdown_callback_t More... | |
| struct | corosync_cfg_node_address_t |
| A node address. More... | |
Typedefs | |
| typedef uint64_t | corosync_cfg_handle_t |
| typedef void(* | corosync_cfg_shutdown_callback_t) (corosync_cfg_handle_t cfg_handle, corosync_cfg_shutdown_flags_t flags) |
| corosync_cfg_shutdown_callback_t callback More... | |
Enumerations | |
| enum | corosync_cfg_shutdown_flags_t { COROSYNC_CFG_SHUTDOWN_FLAG_REQUEST = 0, COROSYNC_CFG_SHUTDOWN_FLAG_REGARDLESS = 1, COROSYNC_CFG_SHUTDOWN_FLAG_IMMEDIATE = 2 } |
| Shutdown types. More... | |
| enum | corosync_cfg_shutdown_reply_flags_t { COROSYNC_CFG_SHUTDOWN_FLAG_NO = 0, COROSYNC_CFG_SHUTDOWN_FLAG_YES = 1 } |
| enum corosync_cfg_shutdown_reply_flags_t More... | |
| typedef uint64_t corosync_cfg_handle_t |
| typedef void(* corosync_cfg_shutdown_callback_t) (corosync_cfg_handle_t cfg_handle, corosync_cfg_shutdown_flags_t flags) |
Shutdown types.
| cs_error_t corosync_cfg_dispatch | ( | corosync_cfg_handle_t | cfg_handle, |
| cs_dispatch_flags_t | dispatch_flags | ||
| ) |
corosync_cfg_dispatch
| cfg_handle | |
| dispatch_flags |
Definition at line 145 of file lib/cfg.c.
References hdb_error_to_cs(), and IPC_DISPATCH_SIZE.
| cs_error_t corosync_cfg_fd_get | ( | corosync_cfg_handle_t | cfg_handle, |
| int32_t * | selection_fd | ||
| ) |
corosync_cfg_fd_get
| cfg_handle | |
| selection_fd |
Definition at line 126 of file lib/cfg.c.
References hdb_error_to_cs().
| cs_error_t corosync_cfg_finalize | ( | corosync_cfg_handle_t | cfg_handle | ) |
corosync_cfg_finalize
| cfg_handle |
Definition at line 254 of file lib/cfg.c.
References hdb_error_to_cs().
| 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
| cfg_handle | |
| nodeid | |
| max_addrs | |
| num_addrs | |
| addrs |
Definition at line 481 of file lib/cfg.c.
References hdb_error_to_cs(), and IPC_RESPONSE_SIZE.
| cs_error_t corosync_cfg_initialize | ( | corosync_cfg_handle_t * | cfg_handle, |
| const corosync_cfg_callbacks_t * | cfg_callbacks | ||
| ) |
corosync_cfg_initialize
| cfg_handle | |
| cfg_callbacks |
Definition at line 85 of file lib/cfg.c.
References CS_OK, and hdb_error_to_cs().
| cs_error_t corosync_cfg_kill_node | ( | corosync_cfg_handle_t | cfg_handle, |
| unsigned int | nodeid, | ||
| const char * | reason | ||
| ) |
corosync_cfg_kill_node
| cfg_handle | |
| nodeid | |
| reason |
Definition at line 371 of file lib/cfg.c.
References CS_ERR_NAME_TOO_LONG, CS_MAX_NAME_LENGTH, and hdb_error_to_cs().
| cs_error_t corosync_cfg_local_get | ( | corosync_cfg_handle_t | handle, |
| unsigned int * | local_nodeid | ||
| ) |
corosync_cfg_local_get
| handle | |
| local_nodeid |
Definition at line 568 of file lib/cfg.c.
References hdb_error_to_cs().
| cs_error_t corosync_cfg_reload_config | ( | corosync_cfg_handle_t | handle | ) |
corosync_cfg_reload_config
| handle |
Definition at line 610 of file lib/cfg.c.
References hdb_error_to_cs().
| cs_error_t corosync_cfg_reopen_log_files | ( | corosync_cfg_handle_t | handle | ) |
Reopen logging files.
| handle | CFG service handle |
Definition at line 649 of file lib/cfg.c.
References hdb_error_to_cs().
| cs_error_t corosync_cfg_replyto_shutdown | ( | corosync_cfg_handle_t | cfg_handle, |
| corosync_cfg_shutdown_reply_flags_t | flags | ||
| ) |
corosync_cfg_replyto_shutdown
| cfg_handle | |
| flags |
Definition at line 449 of file lib/cfg.c.
References hdb_error_to_cs().
| 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
| cfg_handle | |
| interface_names | |
| status | |
| interface_count |
Definition at line 283 of file lib/cfg.c.
References hdb_error_to_cs().
| cs_error_t corosync_cfg_try_shutdown | ( | corosync_cfg_handle_t | cfg_handle, |
| corosync_cfg_shutdown_flags_t | flags | ||
| ) |
corosync_cfg_try_shutdown
| cfg_handle | |
| flags |
Definition at line 414 of file lib/cfg.c.
References hdb_error_to_cs().
1.8.17