root/include/crm/pengine/pe_types_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_PENGINE_PE_TYPES_COMPAT__H
  11 #  define PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H
  12 
  13 #include <crm/common/scheduler.h>
  14 
  15 #ifdef __cplusplus
  16 extern "C" {
  17 #endif
  18 
  19 /**
  20  * \file
  21  * \brief Deprecated Pacemaker scheduler API
  22  * \ingroup pengine
  23  * \deprecated Do not include this header directly. The scheduler 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 #define pe_rsc_orphan                   pcmk_rsc_removed
  30 
  31 // NOTE: sbd (as of at least 1.5.2) uses this
  32 //! \deprecated Do not use
  33 #define pe_rsc_managed                  pcmk_rsc_managed
  34 
  35 //! \deprecated Do not use
  36 #define pe_rsc_block                    pcmk_rsc_blocked
  37 
  38 //! \deprecated Do not use
  39 #define pe_rsc_orphan_container_filler  pcmk_rsc_removed_filler
  40 
  41 //! \deprecated Do not use
  42 #define pe_rsc_notify                   pcmk_rsc_notify
  43 
  44 //! \deprecated Do not use
  45 #define pe_rsc_unique                   pcmk_rsc_unique
  46 
  47 //! \deprecated Do not use
  48 #define pe_rsc_fence_device             pcmk_rsc_fence_device
  49 
  50 //! \deprecated Do not use
  51 #define pe_rsc_promotable               pcmk_rsc_promotable
  52 
  53 //! \deprecated Do not use
  54 #define pe_rsc_provisional              pcmk_rsc_unassigned
  55 
  56 //! \deprecated Do not use
  57 #define pe_rsc_allocating               pcmk_rsc_assigning
  58 
  59 //! \deprecated Do not use
  60 #define pe_rsc_merging                  pcmk_rsc_updating_nodes
  61 
  62 //! \deprecated Do not use
  63 #define pe_rsc_restarting               pcmk_rsc_restarting
  64 
  65 //! \deprecated Do not use
  66 #define pe_rsc_stop                     pcmk_rsc_stop_if_failed
  67 
  68 //! \deprecated Do not use
  69 #define pe_rsc_reload                   pcmk_rsc_reload
  70 
  71 //! \deprecated Do not use
  72 #define pe_rsc_allow_remote_remotes     pcmk_rsc_remote_nesting_allowed
  73 
  74 //! \deprecated Do not use
  75 #define pe_rsc_critical                 pcmk_rsc_critical
  76 
  77 //! \deprecated Do not use
  78 #define pe_rsc_failed                   pcmk_rsc_failed
  79 
  80 //! \deprecated Do not use
  81 #define pe_rsc_detect_loop              pcmk_rsc_detect_loop
  82 
  83 //! \deprecated Do not use
  84 #define pe_rsc_runnable                 pcmk_rsc_runnable
  85 
  86 //! \deprecated Do not use
  87 #define pe_rsc_start_pending            pcmk_rsc_start_pending
  88 
  89 //!< \deprecated Do not use
  90 #define pe_rsc_starting                 pcmk_rsc_starting
  91 
  92 //!< \deprecated Do not use
  93 #define pe_rsc_stopping                 pcmk_rsc_stopping
  94 
  95 //! \deprecated Do not use
  96 #define pe_rsc_stop_unexpected          pcmk_rsc_stop_unexpected
  97 
  98 //! \deprecated Do not use
  99 #define pe_rsc_allow_migrate            pcmk_rsc_migratable
 100 
 101 //! \deprecated Do not use
 102 #define pe_rsc_failure_ignored          pcmk_rsc_ignore_failure
 103 
 104 //! \deprecated Do not use
 105 #define pe_rsc_replica_container        pcmk_rsc_replica_container
 106 
 107 //! \deprecated Do not use
 108 #define pe_rsc_maintenance              pcmk_rsc_maintenance
 109 
 110 //! \deprecated Do not use
 111 #define pe_rsc_is_container             pcmk_rsc_has_filler
 112 
 113 //! \deprecated Do not use
 114 #define pe_rsc_needs_quorum             pcmk_rsc_needs_quorum
 115 
 116 //! \deprecated Do not use
 117 #define pe_rsc_needs_fencing            pcmk_rsc_needs_fencing
 118 
 119 //! \deprecated Do not use
 120 #define pe_rsc_needs_unfencing          pcmk_rsc_needs_unfencing
 121 
 122 // NOTE: sbd (as of at least 1.5.2) uses this
 123 //! \deprecated Do not use
 124 #define pe_flag_have_quorum             pcmk_sched_quorate
 125 
 126 //! \deprecated Do not use
 127 #define pe_flag_symmetric_cluster       pcmk_sched_symmetric_cluster
 128 
 129 //! \deprecated Do not use
 130 #define pe_flag_maintenance_mode        pcmk_sched_in_maintenance
 131 
 132 //! \deprecated Do not use
 133 #define pe_flag_stonith_enabled         pcmk_sched_fencing_enabled
 134 
 135 // NOTE: sbd (as of at least 1.5.2) uses this
 136 //! \deprecated Do not use
 137 #define pe_flag_have_stonith_resource   pcmk_sched_have_fencing
 138 
 139 //! \deprecated Do not use
 140 #define pe_flag_enable_unfencing        pcmk_sched_enable_unfencing
 141 
 142 //! \deprecated Do not use
 143 #define pe_flag_concurrent_fencing      pcmk_sched_concurrent_fencing
 144 
 145 //! \deprecated Do not use
 146 #define pe_flag_stop_rsc_orphans        pcmk_sched_stop_removed_resources
 147 
 148 //! \deprecated Do not use
 149 #define pe_flag_stop_action_orphans     pcmk_sched_cancel_removed_actions
 150 
 151 //! \deprecated Do not use
 152 #define pe_flag_stop_everything         pcmk_sched_stop_all
 153 
 154 //! \deprecated Do not use
 155 #define pe_flag_start_failure_fatal     pcmk_sched_start_failure_fatal
 156 
 157 //! \deprecated Do not use
 158 #define pe_flag_remove_after_stop       pcmk_sched_remove_after_stop
 159 
 160 //! \deprecated Do not use
 161 #define pe_flag_startup_fencing         pcmk_sched_startup_fencing
 162 
 163 //! \deprecated Do not use
 164 #define pe_flag_shutdown_lock           pcmk_sched_shutdown_lock
 165 
 166 //! \deprecated Do not use
 167 #define pe_flag_startup_probes          pcmk_sched_probe_resources
 168 
 169 //! \deprecated Do not use
 170 #define pe_flag_have_status             pcmk_sched_have_status
 171 
 172 //! \deprecated Do not use
 173 #define pe_flag_have_remote_nodes       pcmk_sched_have_remote_nodes
 174 
 175 //! \deprecated Do not use
 176 #define pe_flag_quick_location          pcmk_sched_location_only
 177 
 178 //! \deprecated Do not use
 179 #define pe_flag_sanitized               pcmk_sched_sanitized
 180 
 181 //! \deprecated Do not use
 182 #define pe_flag_stdout                  (1ULL << 22)
 183 
 184 //! \deprecated Do not use
 185 #define pe_flag_no_counts               pcmk_sched_no_counts
 186 
 187 //! \deprecated Do not use
 188 #define pe_flag_no_compat               pcmk_sched_no_compat
 189 
 190 //! \deprecated Do not use
 191 #define pe_flag_show_scores             pcmk_sched_output_scores
 192 
 193 //! \deprecated Do not use
 194 #define pe_flag_show_utilization        pcmk_sched_show_utilization
 195 
 196 //! \deprecated Do not use
 197 #define pe_flag_check_config            pcmk_sched_validate_only
 198 
 199 //!@{
 200 //! \deprecated Do not use (unused by Pacemaker)
 201 enum pe_graph_flags {
 202     pe_graph_none = 0x00000,
 203     pe_graph_updated_first = 0x00001,
 204     pe_graph_updated_then = 0x00002,
 205     pe_graph_disable = 0x00004,
 206 };
 207 //!@}
 208 
 209 //!@{
 210 //! \deprecated Do not use
 211 enum pe_check_parameters {
 212     pe_check_last_failure,
 213     pe_check_active,
 214 };
 215 //!@}
 216 
 217 //! \deprecated Use pcmk_action_t instead
 218 typedef struct pe_action_s action_t;
 219 
 220 //! \deprecated Use pcmk_action_t instead
 221 typedef struct pe_action_s pe_action_t;
 222 
 223 //! \deprecated Do not use
 224 typedef struct pe_action_wrapper_s action_wrapper_t;
 225 
 226 //! \deprecated Do not use
 227 typedef struct pe_action_wrapper_s pe_action_wrapper_t;
 228 
 229 // NOTE: sbd (as of at least 1.5.2) uses this
 230 //! \deprecated Use pcmk_node_t instead
 231 typedef struct pe_node_s node_t;
 232 
 233 //! \deprecated Use pcmk_node_t instead
 234 typedef struct pe_node_s pe_node_t;
 235 
 236 //! \deprecated Use enum pe_quorum_policy instead
 237 typedef enum pe_quorum_policy no_quorum_policy_t;
 238 
 239 // NOTE: sbd (as of at least 1.5.2) uses this
 240 //! \deprecated use pcmk_resource_t instead
 241 typedef struct pe_resource_s resource_t;
 242 
 243 //! \deprecated use pcmk_resource_t instead
 244 typedef struct pe_resource_s pe_resource_t;
 245 
 246 //! \deprecated Do not use
 247 typedef struct pe_tag_s tag_t;
 248 
 249 //! \deprecated Do not use
 250 typedef struct pe_tag_s pe_tag_t;
 251 
 252 //! \deprecated Do not use
 253 typedef struct pe_ticket_s ticket_t;
 254 
 255 //! \deprecated Do not use
 256 typedef struct pe_ticket_s pe_ticket_t;
 257 
 258 // NOTE: sbd (as of at least 1.5.2) uses this
 259 //! \deprecated Use pcmk_scheduler_t instead
 260 typedef struct pe_working_set_s pe_working_set_t;
 261 
 262 //! \deprecated This type should be treated as internal to Pacemaker
 263 typedef struct resource_alloc_functions_s resource_alloc_functions_t;
 264 
 265 //! \deprecated Use pcmk_rsc_methods_t instead
 266 typedef struct resource_object_functions_s resource_object_functions_t;
 267 
 268 #ifdef __cplusplus
 269 }
 270 #endif
 271 
 272 #endif // PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H

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