"Fossies" - the Fresh Open Source Software Archive

Member "pacemaker-Pacemaker-2.1.0/include/crm/msg_xml_compat.h" (8 Jun 2021, 1144 Bytes) of package /linux/misc/pacemaker-Pacemaker-2.1.0.tar.gz:


As a special service "Fossies" has tried to format the requested source page into HTML format using (guessed) C and C++ source code syntax highlighting (style: standard) with prefixed line numbers and code folding option. Alternatively you can here view or download the uninterpreted source code file. For more information about "msg_xml_compat.h" see the Fossies "Dox" file reference documentation and the last Fossies "Diffs" side-by-side code changes report: 2.1.0-rc3_vs_2.1.0.

    1 /*
    2  * Copyright 2004-2021 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__MSG_XML_COMPAT__H
   11 #  define PCMK__MSG_XML_COMPAT__H
   12 
   13 #ifdef __cplusplus
   14 extern "C" {
   15 #endif
   16 
   17 /**
   18  * \file
   19  * \brief Deprecated Pacemaker XML constants API
   20  * \ingroup core
   21  * \deprecated Do not include this header directly. The XML constants in this
   22  *             header, and the header itself, will be removed in a future
   23  *             release.
   24  */
   25 
   26 //! \deprecated Use PCMK_STONITH_PROVIDES instead
   27 #define XML_RSC_ATTR_PROVIDES       "provides"
   28 
   29 //! \deprecated Use PCMK_XE_PROMOTED_LEGACY instead
   30 #define XML_CIB_TAG_MASTER PCMK_XE_PROMOTED_LEGACY
   31 
   32 //! \deprecated Use PCMK_XE_PROMOTED_LEGACY instead
   33 #define XML_RSC_ATTR_MASTER_MAX PCMK_XE_PROMOTED_MAX_LEGACY
   34 
   35 //! \deprecated Use PCMK_XE_PROMOTED_LEGACY instead
   36 #define XML_RSC_ATTR_MASTER_NODEMAX PCMK_XE_PROMOTED_NODE_MAX_LEGACY
   37 
   38 #ifdef __cplusplus
   39 }
   40 #endif
   41 
   42 #endif // PCMK__MSG_XML_COMPAT__H