pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
services_lsb.h
Go to the documentation of this file.
1/*
2 * Copyright 2010-2021 the Pacemaker project contributors
3 *
4 * The version control history for this file may have further details.
5 *
6 * This source code is licensed under the GNU Lesser General Public License
7 * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
8 */
9
10#ifndef SERVICES_LSB__H
11# define SERVICES_LSB__H
12
13G_GNUC_INTERNAL int services__get_lsb_metadata(const char *type, char **output);
14G_GNUC_INTERNAL GList *services__list_lsb_agents(void);
15G_GNUC_INTERNAL bool services__lsb_agent_exists(const char *agent);
16G_GNUC_INTERNAL int services__lsb_prepare(svc_action_t *op);
17
18G_GNUC_INTERNAL
19enum ocf_exitcode services__lsb2ocf(const char *action, int exit_status);
20
21#endif
enum crm_ais_msg_types type
Definition: cpg.c:3
const char * action
Definition: pcmk_fence.c:30
ocf_exitcode
Exit status codes for resource agents.
Definition: results.h:163
G_GNUC_INTERNAL bool services__lsb_agent_exists(const char *agent)
Definition: services_lsb.c:249
G_GNUC_INTERNAL GList * services__list_lsb_agents(void)
Definition: services_lsb.c:243
G_GNUC_INTERNAL enum ocf_exitcode services__lsb2ocf(const char *action, int exit_status)
Definition: services_lsb.c:290
G_GNUC_INTERNAL int services__lsb_prepare(svc_action_t *op)
Definition: services_lsb.c:269
G_GNUC_INTERNAL int services__get_lsb_metadata(const char *type, char **output)
Definition: services_lsb.c:100
Object for executing external actions.
Definition: services.h:112