1 /* 2 * Copyright 2004-2024 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/xml.h> // PCMK_XE_CIB 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 // NOTE: sbd (as of at least 1.5.2) uses this 29 //! \deprecated Use \c PCMK_XE_CIB instead 30 #define XML_TAG_CIB PCMK_XE_CIB 31 32 // NOTE: sbd (as of at least 1.5.2) uses this 33 //! \deprecated Do not use 34 #define XML_CIB_TAG_STATE "node_state" 35 36 // NOTE: sbd (as of at least 1.5.2) uses this 37 //! \deprecated Do not use 38 #define XML_TAG_TRANSIENT_NODEATTRS "transient_attributes" 39 40 // NOTE: sbd (as of at least 1.5.2) uses this 41 //! \deprecated Use \c PCMK_XE_INSTANCE_ATTRIBUTES instead 42 #define XML_TAG_ATTR_SETS PCMK_XE_INSTANCE_ATTRIBUTES 43 44 // NOTE: sbd (as of at least 1.5.2) uses this 45 //! \deprecated Use \c PCMK_XE_NVPAIR instead 46 #define XML_CIB_TAG_NVPAIR PCMK_XE_NVPAIR 47 48 // NOTE: sbd (as of at least 1.5.2) uses this 49 //! \deprecated Do not use 50 #define XML_CIB_ATTR_SHUTDOWN "shutdown" 51 52 #ifdef __cplusplus 53 } 54 #endif 55 56 #endif // PCMK__CRM_MSG_XML_COMPAT__H