root/include/crm/common/scores_compat.h

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

INCLUDED FROM


   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_COMMON_SCORES_COMPAT__H
  11 #define PCMK__CRM_COMMON_SCORES_COMPAT__H
  12 
  13 #include <sys/types.h>  // size_t
  14 
  15 #ifdef __cplusplus
  16 extern "C" {
  17 #endif
  18 
  19 /**
  20  * \file
  21  * \brief Deprecated Pacemaker score APIs
  22  * \ingroup core
  23  * \deprecated Do not include this header directly. The APIs in this header, and
  24  *             the header itself, will be removed in a future release.
  25  */
  26 
  27 //! \deprecated Use pcmk_readable_score() instead
  28 char *score2char(int score);
  29 
  30 //! \deprecated Use pcmk_readable_score() instead
  31 char *score2char_stack(int score, char *buf, size_t len);
  32 
  33 #ifdef __cplusplus
  34 }
  35 #endif
  36 
  37 #endif // PCMK__CRM_COMMON_SCORES_COMPAT__H

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