pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
crm_compat.h
Go to the documentation of this file.
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_CRM_COMPAT__H
11 #define PCMK__CRM_CRM_COMPAT__H
12 
13 #include <glib.h> // GList
14 
15 #include <crm_config.h> // PCMK_OCF_ROOT, PCMK_SCHEDULER_INPUT_DIR, PCMK_SCHEMA_DIR
16 #include <crm/common/scores.h> // PCMK_SCORE_INFINITY
17 
18 #ifdef __cplusplus
19 extern "C" {
20 #endif
21 
31 #define CRM_SYSTEM_STONITHD "stonithd"
33 
35 #define CRM_SCHEMA_DIRECTORY PCMK_SCHEMA_DIR
36 
37 // NOTE: sbd (as of at least 1.5.2) uses this
39 #define CRM_SCORE_INFINITY PCMK_SCORE_INFINITY
40 
42 #define PE_STATE_DIR PCMK_SCHEDULER_INPUT_DIR
43 
45 #define OCF_ROOT_DIR PCMK_OCF_ROOT
46 
47 // NOTE: sbd (as of at least 1.5.2) uses this
49 typedef GList *GListPtr;
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif // PCMK__CRM_CRM_COMPAT__H
GList * GListPtr
Definition: crm_compat.h:49
Pacemaker APIs related to scores.