diff --git a/include/crm/pengine/pe_types_compat.h b/include/crm/pengine/pe_types_compat.h index 6f970c593f..20e16f32ca 100644 --- a/include/crm/pengine/pe_types_compat.h +++ b/include/crm/pengine/pe_types_compat.h @@ -1,164 +1,161 @@ /* * Copyright 2004-2024 the Pacemaker project contributors * * The version control history for this file may have further details. * * This source code is licensed under the GNU Lesser General Public License * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY. */ #ifndef PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H # define PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H #include #ifdef __cplusplus extern "C" { #endif /** * \file * \brief Deprecated Pacemaker scheduler API * \ingroup pengine * \deprecated Do not include this header directly. The scheduler APIs in this * header, and the header itself, will be removed in a future * release. */ //! \deprecated Do not use #define pe_rsc_orphan pcmk_rsc_removed // NOTE: sbd (as of at least 1.5.2) uses this //! \deprecated Do not use #define pe_rsc_managed pcmk_rsc_managed //! \deprecated Do not use #define pe_rsc_block pcmk_rsc_blocked //! \deprecated Do not use #define pe_rsc_orphan_container_filler pcmk_rsc_removed_filler //! \deprecated Do not use #define pe_rsc_notify pcmk_rsc_notify //! \deprecated Do not use #define pe_rsc_unique pcmk_rsc_unique //! \deprecated Do not use #define pe_rsc_fence_device pcmk_rsc_fence_device //! \deprecated Do not use #define pe_rsc_promotable pcmk_rsc_promotable //! \deprecated Do not use #define pe_rsc_provisional pcmk_rsc_unassigned //! \deprecated Do not use #define pe_rsc_allocating pcmk_rsc_assigning //! \deprecated Do not use #define pe_rsc_merging pcmk_rsc_updating_nodes //! \deprecated Do not use #define pe_rsc_restarting pcmk_rsc_restarting //! \deprecated Do not use #define pe_rsc_stop pcmk_rsc_stop_if_failed //! \deprecated Do not use #define pe_rsc_reload pcmk_rsc_reload //! \deprecated Do not use #define pe_rsc_allow_remote_remotes pcmk_rsc_remote_nesting_allowed //! \deprecated Do not use #define pe_rsc_critical pcmk_rsc_critical //! \deprecated Do not use #define pe_rsc_failed pcmk_rsc_failed //! \deprecated Do not use #define pe_rsc_detect_loop pcmk_rsc_detect_loop //! \deprecated Do not use #define pe_rsc_runnable pcmk_rsc_runnable //! \deprecated Do not use #define pe_rsc_start_pending pcmk_rsc_start_pending //!< \deprecated Do not use #define pe_rsc_starting pcmk_rsc_starting //!< \deprecated Do not use #define pe_rsc_stopping pcmk_rsc_stopping //! \deprecated Do not use #define pe_rsc_stop_unexpected pcmk_rsc_stop_unexpected //! \deprecated Do not use #define pe_rsc_allow_migrate pcmk_rsc_migratable //! \deprecated Do not use #define pe_rsc_failure_ignored pcmk_rsc_ignore_failure //! \deprecated Do not use #define pe_rsc_replica_container pcmk_rsc_replica_container //! \deprecated Do not use #define pe_rsc_maintenance pcmk_rsc_maintenance //! \deprecated Do not use #define pe_rsc_is_container pcmk_rsc_has_filler //! \deprecated Do not use #define pe_rsc_needs_quorum pcmk_rsc_needs_quorum //! \deprecated Do not use #define pe_rsc_needs_fencing pcmk_rsc_needs_fencing //! \deprecated Do not use #define pe_rsc_needs_unfencing pcmk_rsc_needs_unfencing // NOTE: sbd (as of at least 1.5.2) uses this //! \deprecated Do not use #define pe_flag_have_quorum pcmk_sched_quorate //! \deprecated Do not use #define pe_flag_symmetric_cluster pcmk_sched_symmetric_cluster //! \deprecated Do not use #define pe_flag_maintenance_mode pcmk_sched_in_maintenance //! \deprecated Do not use #define pe_flag_stonith_enabled pcmk_sched_fencing_enabled // NOTE: sbd (as of at least 1.5.2) uses this //! \deprecated Do not use #define pe_flag_have_stonith_resource pcmk_sched_have_fencing //! \deprecated Do not use #define pe_flag_enable_unfencing pcmk_sched_enable_unfencing //! \deprecated Do not use #define pe_flag_concurrent_fencing pcmk_sched_concurrent_fencing -//! \deprecated Do not use -#define pe_flag_stop_rsc_orphans pcmk_sched_stop_removed_resources - // NOTE: sbd (as of at least 1.5.2) uses this //! \deprecated Use pcmk_node_t instead typedef struct pe_node_s node_t; // NOTE: sbd (as of at least 1.5.2) uses this //! \deprecated use pcmk_resource_t instead typedef struct pe_resource_s resource_t; // NOTE: sbd (as of at least 1.5.2) uses this //! \deprecated Use pcmk_scheduler_t instead typedef struct pe_working_set_s pe_working_set_t; #ifdef __cplusplus } #endif #endif // PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H