root/include/crm/common/results_compat.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2022-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_COMMON_RESULTS_COMPAT__H
  11 #define PCMK__CRM_COMMON_RESULTS_COMPAT__H
  12 
  13 #include <crm/common/results.h>
  14 
  15 #ifdef __cplusplus
  16 extern "C" {
  17 #endif
  18 
  19 /**
  20  * \file
  21  * \brief Deprecated Pacemaker results API
  22  * \ingroup core
  23  * \deprecated Do not include this header directly. The result APIs in this
  24  *             header, and the header itself, will be removed in a future
  25  *             release.
  26  */
  27 
  28 //! \deprecated Do not use
  29 const char *bz2_strerror(int rc);
  30 
  31 //! \deprecated Use pcmk_rc2exitc(pcmk_legacy2rc(rc)) instead
  32 crm_exit_t crm_errno2exit(int rc);
  33 
  34 #ifdef __cplusplus
  35 }
  36 #endif
  37 
  38 #endif // PCMK__CRM_COMMON_MAINLOOP_COMPAT__H

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