pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
common_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_PENGINE_COMMON_COMPAT__H
11 # define PCMK__CRM_PENGINE_COMMON_COMPAT__H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
26 # define RSC_ROLE_SLAVE_S RSC_ROLE_UNPROMOTED_LEGACY_S
28 
30 # define RSC_ROLE_MASTER_S RSC_ROLE_PROMOTED_LEGACY_S
31 
32 
33 #ifdef __cplusplus
34 }
35 #endif
36 
37 #endif // PCMK__CRM_PENGINE_COMMON_COMPAT__H