|
pacemaker
2.1.0-7c3f660
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <stdio.h>#include <errno.h>#include <sys/stat.h>#include <crm/crm.h>#include <crm/services.h>#include "services_private.h"#include "services_lsb.h"
Go to the source code of this file.
Macros | |
| #define | _GNU_SOURCE |
| #define | lsb_metadata_template |
| #define | LSB_INITSCRIPT_INFOBEGIN_TAG "### BEGIN INIT INFO" |
| #define | LSB_INITSCRIPT_INFOEND_TAG "### END INIT INFO" |
| #define | PROVIDES "# Provides:" |
| #define | REQ_START "# Required-Start:" |
| #define | REQ_STOP "# Required-Stop:" |
| #define | SHLD_START "# Should-Start:" |
| #define | SHLD_STOP "# Should-Stop:" |
| #define | DFLT_START "# Default-Start:" |
| #define | DFLT_STOP "# Default-Stop:" |
| #define | SHORT_DSCR "# Short-Description:" |
| #define | DESCRIPTION "# Description:" |
| #define | lsb_meta_helper_free_value(m) |
| #define | DESC_MAX 2048 |
Functions | |
| int | services__get_lsb_metadata (const char *type, char **output) |
| GList * | services__list_lsb_agents (void) |
| char * | services__lsb_agent_path (const char *agent) |
| bool | services__lsb_agent_exists (const char *agent) |
| svc_action_t * | services_action_create (const char *name, const char *action, guint interval_ms, int timeout) |
| GList * | services_list (void) |
| #define _GNU_SOURCE |
Definition at line 13 of file services_lsb.c.
| #define DESC_MAX 2048 |
Definition at line 99 of file services_lsb.c.
| #define DESCRIPTION "# Description:" |
Definition at line 69 of file services_lsb.c.
| #define DFLT_START "# Default-Start:" |
Definition at line 66 of file services_lsb.c.
| #define DFLT_STOP "# Default-Stop:" |
Definition at line 67 of file services_lsb.c.
| #define LSB_INITSCRIPT_INFOBEGIN_TAG "### BEGIN INIT INFO" |
Definition at line 59 of file services_lsb.c.
| #define LSB_INITSCRIPT_INFOEND_TAG "### END INIT INFO" |
Definition at line 60 of file services_lsb.c.
| #define lsb_meta_helper_free_value | ( | m | ) |
Definition at line 71 of file services_lsb.c.
| #define lsb_metadata_template |
Definition at line 25 of file services_lsb.c.
| #define PROVIDES "# Provides:" |
Definition at line 61 of file services_lsb.c.
| #define REQ_START "# Required-Start:" |
Definition at line 62 of file services_lsb.c.
| #define REQ_STOP "# Required-Stop:" |
Definition at line 63 of file services_lsb.c.
| #define SHLD_START "# Should-Start:" |
Definition at line 64 of file services_lsb.c.
| #define SHLD_STOP "# Should-Stop:" |
Definition at line 65 of file services_lsb.c.
| #define SHORT_DSCR "# Short-Description:" |
Definition at line 68 of file services_lsb.c.
| int services__get_lsb_metadata | ( | const char * | type, |
| char ** | output | ||
| ) |
Definition at line 102 of file services_lsb.c.
| GList* services__list_lsb_agents | ( | void | ) |
Definition at line 245 of file services_lsb.c.
| bool services__lsb_agent_exists | ( | const char * | agent | ) |
Definition at line 258 of file services_lsb.c.
| char* services__lsb_agent_path | ( | const char * | agent | ) |
Definition at line 251 of file services_lsb.c.
| svc_action_t* services_action_create | ( | const char * | name, |
| const char * | action, | ||
| guint | interval_ms, | ||
| int | timeout | ||
| ) |
Definition at line 276 of file services_lsb.c.
| GList* services_list | ( | void | ) |
Get a list of services
Definition at line 284 of file services_lsb.c.
1.8.5