1 /* 2 * Copyright 2004-2024 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_COMMON__H 11 # define PCMK__CRM_PENGINE_COMMON__H 12 13 # include <glib.h> 14 # include <regex.h> 15 # include <crm/common/iso8601.h> 16 # include <crm/common/scheduler.h> 17 18 /** 19 * \file 20 * \brief Deprecated Pacemaker shared API for scheduler and rules 21 * \ingroup pengine 22 * \deprecated Do not include this header directly. The APIs in this 23 * header, and the header itself, will be removed in a future 24 * release. 25 */ 26 27 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) 28 #include <crm/pengine/common_compat.h> 29 #else 30 #error Do not include the deprecated header crm/pengine/common.h 31 #endif 32 33 #endif