pacemaker
2.1.0-7c3f660
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
* Copyright 2012-2021 the Pacemaker project contributors
3
*
4
* The version control history for this file may have further details.
5
*
6
* This source code is licensed under the GNU Lesser General Public License
7
* version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
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
G_GNUC_INTERNAL gboolean
systemd_unit_exec
(
svc_action_t
* op);
18
G_GNUC_INTERNAL gboolean
systemd_unit_exists
(
const
gchar *
name
);
19
G_GNUC_INTERNAL
void
systemd_cleanup
(
void
);
20
21
#endif
/* SYSTEMD__H */
services.h
Services API.
systemd_unit_exists
gboolean systemd_unit_exists(const char *name)
Definition:
systemd.c:491
svc_action_s
Definition:
services.h:119
systemd_unit_listall
GList * systemd_unit_listall(void)
Definition:
systemd.c:394
systemd_cleanup
void systemd_cleanup(void)
Definition:
systemd.c:137
name
char * name
Definition:
pcmk_fence.c:31
systemd_unit_exec
gboolean systemd_unit_exec(svc_action_t *op)
Definition:
systemd.c:834
Generated on Tue Jun 8 2021 12:27:47 for pacemaker by
1.8.5