pacemaker  2.1.6-802a72226b
Scalable High-Availability cluster resource manager
Macros | Typedefs
crm_compat.h File Reference

Deprecated Pacemaker utilities. More...

#include <glib.h>
Include dependency graph for crm_compat.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define EOS   '\0'
 
#define MAX_IPC_DELAY   120
 
#define CRM_OP_LRM_QUERY   "lrm_query"
 
#define CRM_ATTR_RA_VERSION   "#ra-version"
 
#define __builtin_expect(expr, result)   (expr)
 
#define __likely(expr)   __builtin_expect(expr, 1)
 
#define __unlikely(expr)   __builtin_expect(expr, 0)
 

Typedefs

typedef GList * GListPtr
 

Detailed Description

Deprecated Pacemaker utilities.

Deprecated:
Do not include this header directly. The utilities in this header, and the header itself, will be removed in a future release.

Definition in file crm_compat.h.

Macro Definition Documentation

◆ __builtin_expect

#define __builtin_expect (   expr,
  result 
)    (expr)
Deprecated:
This macro will be removed in a future release

Definition at line 44 of file crm_compat.h.

◆ __likely

#define __likely (   expr)    __builtin_expect(expr, 1)
Deprecated:
This macro will be removed in a future release

Definition at line 47 of file crm_compat.h.

◆ __unlikely

#define __unlikely (   expr)    __builtin_expect(expr, 0)
Deprecated:
This macro will be removed in a future release

Definition at line 49 of file crm_compat.h.

◆ CRM_ATTR_RA_VERSION

#define CRM_ATTR_RA_VERSION   "#ra-version"
Deprecated:
This defined constant will be removed in a future release

Definition at line 38 of file crm_compat.h.

◆ CRM_OP_LRM_QUERY

#define CRM_OP_LRM_QUERY   "lrm_query"
Deprecated:
This defined constant will be removed in a future release

Definition at line 35 of file crm_compat.h.

◆ EOS

#define EOS   '\0'
Deprecated:
Use '\0' instead

Definition at line 29 of file crm_compat.h.

◆ MAX_IPC_DELAY

#define MAX_IPC_DELAY   120
Deprecated:
This defined constant will be removed in a future release

Definition at line 32 of file crm_compat.h.

Typedef Documentation

◆ GListPtr

typedef GList* GListPtr
Deprecated:
Use GList * instead

Definition at line 55 of file crm_compat.h.