pacemaker  2.1.3-ea053b43a
Scalable High-Availability cluster resource manager
upstart.h
Go to the documentation of this file.
1 /*
2  * Copyright 2010 Senko Rasic <senko.rasic@dobarkod.hr>
3  * Copyright 2010 Ante Karamatic <ivoks@init.hr>
4  * Later changes copyright 2012-2021 the Pacemaker project contributors
5  *
6  * The version control history for this file may have further details.
7  *
8  * This source code is licensed under the GNU Lesser General Public License
9  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
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
21 
22 G_GNUC_INTERNAL
23 enum ocf_exitcode services__upstart2ocf(int exit_status);
24 
25 G_GNUC_INTERNAL
27 
28 G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar * name);
29 G_GNUC_INTERNAL void upstart_cleanup(void);
30 
31 #endif /* UPSTART__H */
Services API.
G_GNUC_INTERNAL void upstart_cleanup(void)
Definition: upstart.c:89
ocf_exitcode
Exit status codes for resource agents.
Definition: results.h:161
const char * name
Definition: cib.c:24
G_GNUC_INTERNAL int services__upstart_prepare(svc_action_t *op)
Definition: upstart.c:49
Object for executing external actions.
Definition: services.h:121
G_GNUC_INTERNAL enum ocf_exitcode services__upstart2ocf(int exit_status)
Definition: upstart.c:67
G_GNUC_INTERNAL GList * upstart_job_listall(void)
Definition: upstart.c:201
G_GNUC_INTERNAL gboolean upstart_job_exists(const gchar *name)
G_GNUC_INTERNAL int services__execute_upstart(svc_action_t *op)
Definition: upstart.c:513