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