|
corosync
|
#include <config.h>#include <stdio.h>#include <string.h>#include <stdlib.h>#include <errno.h>#include <sys/time.h>#include <assert.h>#include <sys/socket.h>#include <libknet.h>#include <corosync/corotypes.h>#include <corosync/corodefs.h>#include <corosync/icmap.h>#include <corosync/logsys.h>#include "util.h"
Go to the source code of this file.
Data Structures | |
| struct | service_names |
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.
| LOGSYS_DECLARE_SUBSYS | ( | "MAIN" | ) |
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.