pacemaker
2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
include
crm
common
clone_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_CLONE_INTERNAL__H
11
# define PCMK__CRM_COMMON_CLONE_INTERNAL__H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
17
// Clone resource flags (used in variant data)
18
enum
pcmk__clone_flags
{
19
// Whether instances should be started sequentially
20
pcmk__clone_ordered
= (1 << 0),
21
22
// Whether promotion scores have been added
23
pcmk__clone_promotion_added
= (1 << 1),
24
25
// Whether promotion constraints have been added
26
pcmk__clone_promotion_constrained
= (1 << 2),
27
};
28
29
#ifdef __cplusplus
30
}
31
#endif
32
33
#endif // PCMK__CRM_COMMON_CLONE_INTERNAL__H
pcmk__clone_flags
pcmk__clone_flags
Definition:
clone_internal.h:18
pcmk__clone_promotion_added
Definition:
clone_internal.h:23
pcmk__clone_promotion_constrained
Definition:
clone_internal.h:26
pcmk__clone_ordered
Definition:
clone_internal.h:20
Generated on Tue Dec 19 2023 17:32:56 for pacemaker by
1.8.14