|
corosync
|


Go to the source code of this file.
Macros | |
| #define | min(a, b) ((a) < (b) ? (a) : (b)) |
| #define | corosync_exit_error(err) _corosync_exit_error ((err), __FILE__, __LINE__) |
Enumerations | |
| enum | e_corosync_done { COROSYNC_DONE_EXIT = 0 , COROSYNC_DONE_FORK = 4 , COROSYNC_DONE_LOGCONFIGREAD = 7 , COROSYNC_DONE_MAINCONFIGREAD = 8 , COROSYNC_DONE_LOGSETUP = 9 , COROSYNC_DONE_ICMAP = 12 , COROSYNC_DONE_INIT_SERVICES = 13 , COROSYNC_DONE_FATAL_ERR = 15 , COROSYNC_DONE_DIR_NOT_PRESENT = 16 , COROSYNC_DONE_ACQUIRE_LOCK = 17 , COROSYNC_DONE_ALREADY_RUNNING = 18 , COROSYNC_DONE_STD_TO_NULL_REDIR = 19 , COROSYNC_DONE_SERVICE_ENGINE_INIT = 20 , COROSYNC_DONE_STORE_RINGID = 21 , COROSYNC_DONE_STATS = 22 , COROSYNC_DONE_PLOAD = 99 } |
Definition at line 72 of file exec/util.h.
Definition at line 47 of file exec/util.h.
Definition at line 129 of file util.c.
References COROSYNC_DONE_EXIT, log_printf, LOGSYS_LEVEL_ERROR, LOGSYS_LEVEL_NOTICE, logsys_system_fini(), and nodeid.
Definition at line 175 of file util.c.
References CS_OK, icmap_get_string(), LOCALSTATEDIR, and nodeid.
Referenced by main().
Definition at line 143 of file util.c.
References CS_MAX_NAME_LENGTH, cs_name_t::length, min, nodeid, and cs_name_t::value.
Definition at line 156 of file util.c.
References CS_MAX_NAME_LENGTH, cs_name_t::length, nodeid, and cs_name_t::value.
Get the short name of a service from the service_id.
Definition at line 75 of file util.c.
References service_names::c_name, service_names::c_val, and nodeid.