1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__SERVICES_SYSTEMD__H
11 #define PCMK__SERVICES_SYSTEMD__H
12
13 #include <glib.h>
14 #include "crm/services.h"
15
16 #ifdef __cplusplus
17 extern "C" {
18 #endif
19
20 G_GNUC_INTERNAL GList *systemd_unit_listall(void);
21
22 G_GNUC_INTERNAL
23 int services__systemd_prepare(svc_action_t *op);
24
25 G_GNUC_INTERNAL
26 enum ocf_exitcode services__systemd2ocf(int exit_status);
27
28 G_GNUC_INTERNAL
29 int services__execute_systemd(svc_action_t *op);
30
31 G_GNUC_INTERNAL
32 bool systemd_unit_exists(const char *name);
33
34 G_GNUC_INTERNAL void systemd_cleanup(void);
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif