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_GROUP_INTERNAL__H
11 # define PCMK__CRM_COMMON_GROUP_INTERNAL__H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 // Group resource flags (used in variant data)
18 enum pcmk__group_flags {
19 pcmk__group_ordered = (1 << 0), // Members start sequentially
20 pcmk__group_colocated = (1 << 1), // Members must be on same node
21 };
22
23 #ifdef __cplusplus
24 }
25 #endif
26
27 #endif // PCMK__CRM_COMMON_GROUP_INTERNAL__H