pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
roles.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__H
11 # define PCMK__CRM_COMMON_ROLES__H
12 
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16 
27 enum rsc_role_e {
33 
34 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)
37 
40 
43 
46 
49 
52 
55 #endif
56 };
57 
58 #ifdef __cplusplus
59 }
60 #endif
61 
62 #endif // PCMK__CRM_COMMON_ROLES__H
Stopped.
Definition: roles.h:29
Promoted.
Definition: roles.h:32
Unpromoted.
Definition: roles.h:31
rsc_role_e
Definition: roles.h:27
Started.
Definition: roles.h:30
Resource role is unknown.
Definition: roles.h:28