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__PENGINE_PE_TYPES_COMPAT__H
11 # define PCMK__PENGINE_PE_TYPES_COMPAT__H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17 /**
18 * \file
19 * \brief Deprecated Pacemaker scheduler API
20 * \ingroup pengine
21 * \deprecated Do not include this header directly. The scheduler APIs in this
22 * header, and the header itself, will be removed in a future
23 * release.
24 */
25
26 //!< \deprecated Use pe_action_t instead
27 typedef struct pe_action_s action_t;
28
29 //!< \deprecated Use pe_action_wrapper_t instead
30 typedef struct pe_action_wrapper_s action_wrapper_t;
31
32 //!< \deprecated Use pe_node_t instead
33 typedef struct pe_node_s node_t;
34
35 //!< \deprecated Use enum pe_quorum_policy instead
36 typedef enum pe_quorum_policy no_quorum_policy_t;
37
38 //!< \deprecated use pe_resource_t instead
39 typedef struct pe_resource_s resource_t;
40
41 //!< \deprecated Use pe_tag_t instead
42 typedef struct pe_tag_s tag_t;
43
44 //!< \deprecated Use pe_ticket_t instead
45 typedef struct pe_ticket_s ticket_t;
46
47 #ifdef __cplusplus
48 }
49 #endif
50
51 #endif // PCMK__PENGINE_PE_TYPES_COMPAT__H