#include <config.h>
#include <sys/types.h>
#include <sys/uio.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <netinet/in.h>
#include <arpa/inet.h>
#include <unistd.h>
#include <fcntl.h>
#include <stdlib.h>
#include <stdio.h>
#include <limits.h>
#include <errno.h>
#include <string.h>
#include <assert.h>
#include <corosync/corotypes.h>
#include <qb/qbipc_common.h>
#include <corosync/cfg.h>
#include <corosync/list.h>
#include <corosync/mar_gen.h>
#include <corosync/totem/totemip.h>
#include <corosync/totem/totem.h>
#include <corosync/ipc_cfg.h>
#include <corosync/logsys.h>
#include <corosync/coroapi.h>
#include <corosync/icmap.h>
#include <corosync/corodefs.h>
#include "service.h"
#include "main.h"
Go to the source code of this file.
◆ DEFAULT_SHUTDOWN_TIMEOUT
#define DEFAULT_SHUTDOWN_TIMEOUT 5 |
◆ cfg_message_req_types
Enumerator |
---|
MESSAGE_REQ_EXEC_CFG_RINGREENABLE | |
MESSAGE_REQ_EXEC_CFG_KILLNODE | |
MESSAGE_REQ_EXEC_CFG_SHUTDOWN | |
MESSAGE_REQ_EXEC_CFG_RELOAD_CONFIG | |
Definition at line 71 of file exec/cfg.c.
◆ cfg_get_service_engine_ver0()
◆ LOGSYS_DECLARE_SUBSYS()
LOGSYS_DECLARE_SUBSYS |
( |
"CFG" |
| ) |
|
◆ cfg_service_engine
Initial value:= {
.name = "corosync configuration service",
.priority = 1,
.private_data_size =
sizeof(
struct cfg_info),
.lib_init_fn = cfg_lib_init_fn,
.lib_exit_fn = cfg_lib_exit_fn,
.lib_engine = cfg_lib_engine,
.exec_init_fn = cfg_exec_init_fn,
.exec_engine = cfg_exec_engine,
.confchg_fn = cfg_confchg_fn
}
The corosync_lib_handler struct.
The corosync_exec_handler struct.
Definition at line 224 of file exec/cfg.c.