pacemaker 2.1.7-2.1.7
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
roles_internal.h
Go to the documentation of this file.
1/*
2 * Copyright 2004-2023 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_COMMON_ROLES_INTERNAL__H
11# define PCMK__CRM_COMMON_ROLES_INTERNAL__H
12
13#ifdef __cplusplus
14extern "C" {
15#endif
16
17// String equivalents of enum rsc_role_e
18#define PCMK__ROLE_UNKNOWN "Unknown"
19#define PCMK__ROLE_STOPPED "Stopped"
20#define PCMK__ROLE_STARTED "Started"
21#define PCMK__ROLE_UNPROMOTED "Unpromoted"
22#define PCMK__ROLE_PROMOTED "Promoted"
23#define PCMK__ROLE_UNPROMOTED_LEGACY "Slave"
24#define PCMK__ROLE_PROMOTED_LEGACY "Master"
25
26#ifdef __cplusplus
27}
28#endif
29
30#endif // PCMK__CRM_COMMON_ROLES_INTERNAL__H