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_CRM_COMPAT__H 11 #define PCMK__CRM_CRM_COMPAT__H 12 13 #include <glib.h> // GList 14 15 #include <crm_config.h> // PCMK_OCF_ROOT, PCMK_SCHEDULER_INPUT_DIR, PCMK_SCHEMA_DIR 16 #include <crm/common/scores.h> // PCMK_SCORE_INFINITY 17 18 #ifdef __cplusplus 19 extern "C" { 20 #endif 21 22 /** 23 * \file 24 * \brief Deprecated Pacemaker utilities 25 * \ingroup core 26 * \deprecated Do not include this header directly. The utilities in this 27 * header, and the header itself, will be removed in a future 28 * release. 29 */ 30 31 //! \deprecated Do not use (will be removed in a future release) 32 #define CRM_SYSTEM_STONITHD "stonithd" 33 34 //! \deprecated Use PCMK_SCHEMA_DIR instead 35 #define CRM_SCHEMA_DIRECTORY PCMK_SCHEMA_DIR 36 37 // NOTE: sbd (as of at least 1.5.2) uses this 38 //! \deprecated Use PCMK_SCORE_INFINITY instead 39 #define CRM_SCORE_INFINITY PCMK_SCORE_INFINITY 40 41 //! \deprecated Use PCMK_SCHEDULER_INPUT_DIR instead 42 #define PE_STATE_DIR PCMK_SCHEDULER_INPUT_DIR 43 44 //! \deprecated Use PCMK_OCF_ROOT instead 45 #define OCF_ROOT_DIR PCMK_OCF_ROOT 46 47 // NOTE: sbd (as of at least 1.5.2) uses this 48 //! \deprecated Use GList * instead 49 typedef GList *GListPtr; 50 51 #ifdef __cplusplus 52 } 53 #endif 54 55 #endif // PCMK__CRM_CRM_COMPAT__H