1
2
3
4
5
6
7
8
9
10 #ifndef SYSTEMD__H
11 # define SYSTEMD__H
12
13 # include <glib.h>
14 # include "crm/services.h"
15
16 G_GNUC_INTERNAL GList *systemd_unit_listall(void);
17
18 G_GNUC_INTERNAL
19 int services__systemd_prepare(svc_action_t *op);
20
21 G_GNUC_INTERNAL
22 enum ocf_exitcode services__systemd2ocf(int exit_status);
23
24 G_GNUC_INTERNAL
25 int services__execute_systemd(svc_action_t *op);
26
27 G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar * name);
28 G_GNUC_INTERNAL void systemd_cleanup(void);
29
30 #endif