root/include/crm/msg_xml_compat.h

/* [previous][next][first][last][top][bottom][index][help] */

INCLUDED FROM


   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_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_META_CLONE_MAX instead
  29 #define XML_RSC_ATTR_INCARNATION_MAX PCMK_META_CLONE_MAX
  30 
  31 //! \deprecated Use PCMK_META_CLONE_MIN instead
  32 #define XML_RSC_ATTR_INCARNATION_MIN PCMK_META_CLONE_MIN
  33 
  34 //! \deprecated Use PCMK_META_CLONE_NODE_MAX instead
  35 #define XML_RSC_ATTR_INCARNATION_NODEMAX PCMK_META_CLONE_NODE_MAX
  36 
  37 //! \deprecated Use PCMK_META_PROMOTED_MAX instead
  38 #define XML_RSC_ATTR_PROMOTED_MAX PCMK_META_PROMOTED_MAX
  39 
  40 //! \deprecated Use PCMK_META_PROMOTED_NODE_MAX instead
  41 #define XML_RSC_ATTR_PROMOTED_NODEMAX PCMK_META_PROMOTED_NODE_MAX
  42 
  43 //! \deprecated Use PCMK_STONITH_PROVIDES instead
  44 #define XML_RSC_ATTR_PROVIDES PCMK_STONITH_PROVIDES
  45 
  46 //! \deprecated Use PCMK_XE_PROMOTABLE_LEGACY instead
  47 #define XML_CIB_TAG_MASTER PCMK_XE_PROMOTABLE_LEGACY
  48 
  49 //! \deprecated Use PCMK_XA_PROMOTED_MAX_LEGACY instead
  50 #define PCMK_XE_PROMOTED_MAX_LEGACY PCMK_XA_PROMOTED_MAX_LEGACY
  51 
  52 //! \deprecated Use PCMK_XA_PROMOTED_MAX_LEGACY instead
  53 #define XML_RSC_ATTR_MASTER_MAX PCMK_XA_PROMOTED_MAX_LEGACY
  54 
  55 //! \deprecated Use PCMK_XA_PROMOTED_NODE_MAX_LEGACY instead
  56 #define PCMK_XE_PROMOTED_NODE_MAX_LEGACY PCMK_XA_PROMOTED_NODE_MAX_LEGACY
  57 
  58 //! \deprecated Use PCMK_META_MIGRATION_THRESHOLD instead
  59 #define XML_RSC_ATTR_FAIL_STICKINESS PCMK_META_MIGRATION_THRESHOLD
  60 
  61 //! \deprecated Use PCMK_META_FAILURE_TIMEOUT instead
  62 #define XML_RSC_ATTR_FAIL_TIMEOUT PCMK_META_FAILURE_TIMEOUT
  63 
  64 //! \deprecated Use PCMK_XA_PROMOTED_NODE_MAX_LEGACY instead
  65 #define XML_RSC_ATTR_MASTER_NODEMAX PCMK_XA_PROMOTED_NODE_MAX_LEGACY
  66 
  67 //! \deprecated Do not use (will be removed in a future release)
  68 #define XML_ATTR_RA_VERSION "ra-version"
  69 
  70 //! \deprecated Do not use (will be removed in a future release)
  71 #define XML_TAG_FRAGMENT "cib_fragment"
  72 
  73 //! \deprecated Do not use (will be removed in a future release)
  74 #define XML_TAG_RSC_VER_ATTRS "rsc_versioned_attrs"
  75 
  76 //! \deprecated Do not use (will be removed in a future release)
  77 #define XML_TAG_OP_VER_ATTRS "op_versioned_attrs"
  78 
  79 //! \deprecated Do not use (will be removed in a future release)
  80 #define XML_TAG_OP_VER_META "op_versioned_meta"
  81 
  82 //! \deprecated Use \p XML_ATTR_ID instead
  83 #define XML_ATTR_UUID "id"
  84 
  85 //! \deprecated Do not use (will be removed in a future release)
  86 #define XML_ATTR_VERBOSE "verbose"
  87 
  88 //! \deprecated Do not use (will be removed in a future release)
  89 #define XML_CIB_TAG_DOMAINS "domains"
  90 
  91 //! \deprecated Do not use (will be removed in a future release)
  92 #define XML_CIB_ATTR_SOURCE "source"
  93 
  94 //! \deprecated Do not use
  95 #define XML_NODE_EXPECTED "expected"
  96 
  97 //! \deprecated Do not use
  98 #define XML_NODE_IN_CLUSTER "in_ccm"
  99 
 100 //! \deprecated Do not use
 101 #define XML_NODE_IS_PEER "crmd"
 102 
 103 //! \deprecated Do not use
 104 #define XML_NODE_JOIN_STATE "join"
 105 
 106 //! \deprecated Do not use (will be removed in a future release)
 107 #define XML_RSC_OP_LAST_RUN "last-run"
 108 
 109 //! \deprecated Use name member directly
 110 #define TYPE(x) (((x) == NULL)? NULL : (const char *) ((x)->name))
 111 
 112 #ifdef __cplusplus
 113 }
 114 #endif
 115 
 116 #endif // PCMK__CRM_MSG_XML_COMPAT__H

/* [previous][next][first][last][top][bottom][index][help] */