pacemaker
2.1.0-7c3f660
Scalable High-Availability cluster resource manager
Main Page
Related Pages
Modules
Data Structures
Files
File List
Globals
All
Data Structures
Files
Functions
Variables
Typedefs
Enumerations
Enumerator
Macros
Groups
Pages
include
crm
crm_compat.h
Go to the documentation of this file.
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__CRM_COMPAT__H
11
# define PCMK__CRM_COMPAT__H
12
13
#ifdef __cplusplus
14
extern
"C"
{
15
#endif
16
26
#define EOS '\0'
28
30
#define MAX_IPC_DELAY 120
31
34
35
# ifndef __GNUC__
36
# define __builtin_expect(expr, result) (expr)
37
# endif
38
39
#define __likely(expr) __builtin_expect(expr, 1)
40
41
#define __unlikely(expr) __builtin_expect(expr, 0)
42
43
// This ends the doxygen deprecation comment
45
47
typedef
GList *
GListPtr
;
48
49
#ifdef __cplusplus
50
}
51
#endif
52
53
#endif // PCMK__CRM_COMPAT__H
GListPtr
GList * GListPtr
Definition:
crm_compat.h:47
Generated on Tue Jun 8 2021 12:27:46 for pacemaker by
1.8.5