1 /* 2 * Copyright 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 General Public License version 2 7 * or later (GPLv2+) WITHOUT ANY WARRANTY. 8 */ 9 10 #ifndef PCMK__CRM_COMMON_SCORES_COMPAT__H 11 #define PCMK__CRM_COMMON_SCORES_COMPAT__H 12 13 #ifdef __cplusplus 14 extern "C" { 15 #endif 16 17 //! \deprecated Use pcmk_parse_score() instead 18 int char2score(const char *score); 19 20 #ifdef __cplusplus 21 } 22 #endif 23 24 #endif // PCMK__CRM_COMMON_SCORES_COMPAT__H