root/include/crm/pengine/pe_types_compat.h

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

INCLUDED FROM


   1 /*
   2  * Copyright 2004-2021 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 //!< \deprecated Use pe_action_t instead
  29 typedef struct pe_action_s action_t;
  30 
  31 //!< \deprecated Use pe_action_wrapper_t instead
  32 typedef struct pe_action_wrapper_s action_wrapper_t;
  33 
  34 //!< \deprecated Use pe_node_t instead
  35 typedef struct pe_node_s node_t;
  36 
  37 //!< \deprecated Use enum pe_quorum_policy instead
  38 typedef enum pe_quorum_policy no_quorum_policy_t;
  39 
  40 //!< \deprecated use pe_resource_t instead
  41 typedef struct pe_resource_s resource_t;
  42 
  43 //!< \deprecated Use pe_tag_t instead
  44 typedef struct pe_tag_s tag_t;
  45 
  46 //!< \deprecated Use pe_ticket_t instead
  47 typedef struct pe_ticket_s ticket_t;
  48 
  49 #ifdef __cplusplus
  50 }
  51 #endif
  52 
  53 #endif // PCMK__CRM_PENGINE_PE_TYPES_COMPAT__H

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