root/include/crm/pengine/pe_types_compat.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2004-2022 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/pengine/pe_types.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 //!@{
  29 //! \deprecated Do not use (unused by Pacemaker)
  30 enum pe_graph_flags {
  31     pe_graph_none = 0x00000,
  32     pe_graph_updated_first = 0x00001,
  33     pe_graph_updated_then = 0x00002,
  34     pe_graph_disable = 0x00004,
  35 };
  36 //!@}
  37 
  38 //!< \deprecated Use pe_action_t instead
  39 typedef struct pe_action_s action_t;
  40 
  41 //!< \deprecated Use pe_action_wrapper_t instead
  42 typedef struct pe_action_wrapper_s action_wrapper_t;
  43 
  44 //!< \deprecated Use pe_node_t instead
  45 typedef struct pe_node_s node_t;
  46 
  47 //!< \deprecated Use enum pe_quorum_policy instead
  48 typedef enum pe_quorum_policy no_quorum_policy_t;
  49 
  50 //!< \deprecated use pe_resource_t instead
  51 typedef struct pe_resource_s resource_t;
  52 
  53 //!< \deprecated Use pe_tag_t instead
  54 typedef struct pe_tag_s tag_t;
  55 
  56 //!< \deprecated Use pe_ticket_t instead
  57 typedef struct pe_ticket_s ticket_t;
  58 
  59 #ifdef __cplusplus
  60 }
  61 #endif
  62 
  63 #endif // PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H

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