1 /* 2 * Copyright 2004-2022 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_MSG_XML_COMPAT__H 11 # define PCMK__CRM_MSG_XML_COMPAT__H 12 13 #include <crm/common/agents.h> // PCMK_STONITH_PROVIDES 14 15 #ifdef __cplusplus 16 extern "C" { 17 #endif 18 19 /** 20 * \file 21 * \brief Deprecated Pacemaker XML constants API 22 * \ingroup core 23 * \deprecated Do not include this header directly. The XML constants in this 24 * header, and the header itself, will be removed in a future 25 * release. 26 */ 27 28 //! \deprecated Use PCMK_STONITH_PROVIDES instead 29 #define XML_RSC_ATTR_PROVIDES PCMK_STONITH_PROVIDES 30 31 //! \deprecated Use PCMK_XE_PROMOTABLE_LEGACY instead 32 #define XML_CIB_TAG_MASTER PCMK_XE_PROMOTABLE_LEGACY 33 34 //! \deprecated Use PCMK_XA_PROMOTED_MAX_LEGACY instead 35 #define PCMK_XE_PROMOTED_MAX_LEGACY PCMK_XA_PROMOTED_MAX_LEGACY 36 37 //! \deprecated Use PCMK_XA_PROMOTED_MAX_LEGACY instead 38 #define XML_RSC_ATTR_MASTER_MAX PCMK_XA_PROMOTED_MAX_LEGACY 39 40 //! \deprecated Use PCMK_XA_PROMOTED_NODE_MAX_LEGACY instead 41 #define PCMK_XE_PROMOTED_NODE_MAX_LEGACY PCMK_XA_PROMOTED_NODE_MAX_LEGACY 42 43 //! \deprecated Use PCMK_XA_PROMOTED_NODE_MAX_LEGACY instead 44 #define XML_RSC_ATTR_MASTER_NODEMAX PCMK_XA_PROMOTED_NODE_MAX_LEGACY 45 46 //! \deprecated Do not use (will be removed in a future release) 47 #define XML_ATTR_RA_VERSION "ra-version" 48 49 //! \deprecated Do not use (will be removed in a future release) 50 #define XML_TAG_RSC_VER_ATTRS "rsc_versioned_attrs" 51 52 //! \deprecated Do not use (will be removed in a future release) 53 #define XML_TAG_OP_VER_ATTRS "op_versioned_attrs" 54 55 //! \deprecated Do not use (will be removed in a future release) 56 #define XML_TAG_OP_VER_META "op_versioned_meta" 57 58 #ifdef __cplusplus 59 } 60 #endif 61 62 #endif // PCMK__CRM_MSG_XML_COMPAT__H