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