root/include/crm/cib/util_compat.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 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__CRM_CIB_UTIL_COMPAT__H
  11 #  define PCMK__CRM_CIB_UTIL_COMPAT__H
  12 
  13 #include <crm/common/xml.h>
  14 #ifdef __cplusplus
  15 extern "C" {
  16 #endif
  17 
  18 /**
  19  * \file
  20  * \brief Deprecated Pacemaker configuration utilities
  21  * \ingroup cib
  22  * \deprecated Do not include this header directly. The utilities in this
  23  *             header, and the header itself, will be removed in a future
  24  *             release.
  25  */
  26 
  27 //! \deprecated Use pcmk_cib_xpath_for() instead
  28 const char *get_object_path(const char *object_type);
  29 
  30 //! \deprecated Use pcmk_cib_parent_name_for() instead
  31 const char *get_object_parent(const char *object_type);
  32 
  33 //! \deprecated Use pcmk_cib_xpath_for() instead
  34 xmlNode *get_object_root(const char *object_type, xmlNode *the_root);
  35 
  36 #ifdef __cplusplus
  37 }
  38 #endif
  39 
  40 #endif // PCMK__CRM_CIB_UTIL_COMPAT__H

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