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
21 #ifdef __cplusplus
22 extern "C" {
23 #endif
24
25 /*!
26 * \file
27 * \brief Data types for cluster status
28 * \ingroup pengine
29 */
30
31 #ifdef __cplusplus
32 }
33 #endif
34
35 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)
36 #include <crm/pengine/common.h>
37 #include <crm/pengine/pe_types_compat.h>
38 #endif
39
40 #endif // PCMK__CRM_PENGINE_PE_TYPES__H