pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
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 gboolean
systemd_unit_running
(
const
gchar * name);
29
G_GNUC_INTERNAL
void
systemd_cleanup
(
void
);
30
31
#endif
/* SYSTEMD__H */
services.h
Services API.
systemd_unit_running
G_GNUC_INTERNAL gboolean systemd_unit_running(const gchar *name)
systemd_unit_exists
gboolean systemd_unit_exists(const char *name)
Definition:
systemd.c:465
svc_action_s
Definition:
services.h:162
systemd_unit_listall
GList * systemd_unit_listall(void)
Definition:
systemd.c:358
systemd_cleanup
void systemd_cleanup(void)
Definition:
systemd.c:135
systemd_unit_exec
gboolean systemd_unit_exec(svc_action_t *op)
Definition:
systemd.c:756
Generated on Tue Nov 14 2017 16:40:16 for pacemaker by
1.8.5