pacemaker 2.1.5-a3f44794f94
Scalable High-Availability cluster resource manager
compat.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-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 PCMK__CRM_CLUSTER_COMPAT__H
11# define PCMK__CRM_CLUSTER_COMPAT__H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
26// \deprecated Use stonith_api_kick() from libstonithd instead
27int crm_terminate_member(int nodeid, const char *uname, void *unused);
28
29// \deprecated Use stonith_api_kick() from libstonithd instead
30int crm_terminate_member_no_mainloop(int nodeid, const char *uname,
31 int *connection);
32
33#ifdef __cplusplus
34}
35#endif
36
37#endif // PCMK_CLUSTER_COMPAT__H
int crm_terminate_member(int nodeid, const char *uname, void *unused)
Definition: membership.c:1288
int crm_terminate_member_no_mainloop(int nodeid, const char *uname, int *connection)
Definition: membership.c:1294
char uname[MAX_NAME]
Definition: cpg.c:5