|
pacemaker
2.1.8-3980678f03
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/common/xml.h>#include <crm/services.h>#include "services_private.h"#include "services_lsb.h"#include <crm/services_compat.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 | REQUIRED_START "# Required-Start:" |
| #define | REQUIRED_STOP "# Required-Stop:" |
| #define | SHOULD_START "# Should-Start:" |
| #define | SHOULD_STOP "# Should-Stop:" |
| #define | DEFAULT_START "# Default-Start:" |
| #define | DEFAULT_STOP "# Default-Stop:" |
| #define | SHORT_DESC "# Short-Description:" |
| #define | DESCRIPTION "# Description:" |
Functions | |
| int | services__get_lsb_metadata (const char *type, char **output) |
| GList * | services__list_lsb_agents (void) |
| bool | services__lsb_agent_exists (const char *agent) |
| int | services__lsb_prepare (svc_action_t *op) |
| enum ocf_exitcode | services__lsb2ocf (const char *action, int exit_status) |
| 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 DEFAULT_START "# Default-Start:" |
Definition at line 78 of file services_lsb.c.
| #define DEFAULT_STOP "# Default-Stop:" |
Definition at line 79 of file services_lsb.c.
| #define DESCRIPTION "# Description:" |
Definition at line 81 of file services_lsb.c.
| #define LSB_INITSCRIPT_INFOBEGIN_TAG "### BEGIN INIT INFO" |
Definition at line 71 of file services_lsb.c.
| #define LSB_INITSCRIPT_INFOEND_TAG "### END INIT INFO" |
Definition at line 72 of file services_lsb.c.
| #define lsb_metadata_template |
Definition at line 27 of file services_lsb.c.
| #define PROVIDES "# Provides:" |
Definition at line 73 of file services_lsb.c.
| #define REQUIRED_START "# Required-Start:" |
Definition at line 74 of file services_lsb.c.
| #define REQUIRED_STOP "# Required-Stop:" |
Definition at line 75 of file services_lsb.c.
| #define SHORT_DESC "# Short-Description:" |
Definition at line 80 of file services_lsb.c.
| #define SHOULD_START "# Should-Start:" |
Definition at line 76 of file services_lsb.c.
| #define SHOULD_STOP "# Should-Stop:" |
Definition at line 77 of file services_lsb.c.
| int services__get_lsb_metadata | ( | const char * | type, |
| char ** | output | ||
| ) |
Definition at line 107 of file services_lsb.c.
| GList* services__list_lsb_agents | ( | void | ) |
Definition at line 246 of file services_lsb.c.
| enum ocf_exitcode services__lsb2ocf | ( | const char * | action, |
| int | exit_status | ||
| ) |
Definition at line 293 of file services_lsb.c.
| bool services__lsb_agent_exists | ( | const char * | agent | ) |
Definition at line 252 of file services_lsb.c.
| int services__lsb_prepare | ( | svc_action_t * | op | ) |
Definition at line 272 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 331 of file services_lsb.c.
| GList* services_list | ( | void | ) |
Definition at line 339 of file services_lsb.c.
1.8.14