pacemaker
2.0.1-9e909a5bdd
Scalable High-Availability cluster resource manager
lib
services
systemd.h
Go to the documentation of this file.
1
/*
2
* This program is free software; you can redistribute it and/or
3
* modify it under the terms of the GNU Lesser General Public
4
* License as published by the Free Software Foundation; either
5
* version 2.1 of the License, or (at your option) any later version.
6
*
7
* This software is distributed in the hope that it will be useful,
8
* but WITHOUT ANY WARRANTY; without even the implied warranty of
9
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
10
* General Public License for more details.
11
*
12
* You should have received a copy of the GNU Lesser General Public
13
* License along with this library; if not, write to the Free Software
14
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
15
*
16
* Copyright (C) 2012 Andrew Beekhof <andrew@beekhof.net>
17
*/
18
19
#ifndef SYSTEMD__H
20
# define SYSTEMD__H
21
22
# include <glib.h>
23
# include "
crm/services.h
"
24
25
G_GNUC_INTERNAL GList *
systemd_unit_listall
(
void
);
26
G_GNUC_INTERNAL gboolean
systemd_unit_exec
(
svc_action_t
* op);
27
G_GNUC_INTERNAL gboolean
systemd_unit_exists
(
const
gchar * name);
28
G_GNUC_INTERNAL
void
systemd_cleanup
(
void
);
29
30
#endif
/* SYSTEMD__H */
services.h
Services API.
systemd_cleanup
G_GNUC_INTERNAL void systemd_cleanup(void)
Definition:
systemd.c:135
systemd_unit_listall
G_GNUC_INTERNAL GList * systemd_unit_listall(void)
Definition:
systemd.c:362
svc_action_s
Definition:
services.h:146
systemd_unit_exists
G_GNUC_INTERNAL gboolean systemd_unit_exists(const gchar *name)
systemd_unit_exec
G_GNUC_INTERNAL gboolean systemd_unit_exec(svc_action_t *op)
Definition:
systemd.c:798
Generated on Mon May 13 2019 10:11:35 for pacemaker by
1.8.13