1 /*
2 * Copyright 2004-2023 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__H
11 # define PCMK__CRM_PENGINE_PE_TYPES__H
12
13
14 # include <stdbool.h> // bool
15 # include <sys/types.h> // time_t
16 # include <libxml/tree.h> // xmlNode
17 # include <glib.h> // gboolean, guint, GList, GHashTable
18 # include <crm/common/iso8601.h>
19 # include <crm/common/scheduler.h>
20 # include <crm/pengine/common.h>
21
22 #ifdef __cplusplus
23 extern "C" {
24 #endif
25
26 /*!
27 * \file
28 * \brief Data types for cluster status
29 * \ingroup pengine
30 */
31
32 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)
33 #include <crm/pengine/pe_types_compat.h>
34 #endif
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif // PCMK__CRM_PENGINE_PE_TYPES__H