1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__SERVICES_SERVICES_LSB__H
11 #define PCMK__SERVICES_SERVICES_LSB__H
12
13 #include <glib.h>
14
15 #include <crm/common/results.h>
16 #include <crm/services.h>
17
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21
22 G_GNUC_INTERNAL int services__get_lsb_metadata(const char *type, char **output);
23 G_GNUC_INTERNAL GList *services__list_lsb_agents(void);
24 G_GNUC_INTERNAL bool services__lsb_agent_exists(const char *agent);
25 G_GNUC_INTERNAL int services__lsb_prepare(svc_action_t *op);
26
27 G_GNUC_INTERNAL
28 enum ocf_exitcode services__lsb2ocf(const char *action, int exit_status);
29
30 #ifdef __cplusplus
31 }
32 #endif
33
34 #endif