pacemaker  2.1.3-ea053b43a
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 __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 38 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 41 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 43 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 49 of file crm_compat.h.