pacemaker  2.1.7-0f7f88312f
Scalable High-Availability cluster resource manager
Macros | Typedefs
crm_compat.h File Reference

Deprecated Pacemaker utilities. More...

#include <strings.h>
#include <glib.h>
#include <crm/common/actions.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_FENCE   PCMK_ACTION_STONITH
 
#define CRM_OP_LRM_QUERY   "lrm_query"
 
#define CRM_OP_RELAXED_CLONE   PCMK_ACTION_CLONE_ONE_OR_MORE
 
#define CRM_OP_RELAXED_SET   PCMK_ACTION_ONE_OR_MORE
 
#define CRM_ATTR_RA_VERSION   "#ra-version"
 
#define CRMD_ACTION_CANCEL   PCMK_ACTION_CANCEL
 
#define CRMD_ACTION_DELETE   PCMK_ACTION_DELETE
 
#define CRMD_ACTION_DEMOTE   PCMK_ACTION_DEMOTE
 
#define CRMD_ACTION_DEMOTED   PCMK_ACTION_DEMOTED
 
#define CRMD_ACTION_METADATA   PCMK_ACTION_META_DATA
 
#define CRMD_ACTION_MIGRATE   PCMK_ACTION_MIGRATE_TO
 
#define CRMD_ACTION_MIGRATED   PCMK_ACTION_MIGRATE_FROM
 
#define CRMD_ACTION_NOTIFIED   PCMK_ACTION_NOTIFIED
 
#define CRMD_ACTION_NOTIFY   PCMK_ACTION_NOTIFY
 
#define CRMD_ACTION_PROMOTE   PCMK_ACTION_PROMOTE
 
#define CRMD_ACTION_PROMOTED   PCMK_ACTION_PROMOTED
 
#define CRMD_ACTION_RELOAD   PCMK_ACTION_RELOAD
 
#define CRMD_ACTION_RELOAD_AGENT   PCMK_ACTION_RELOAD_AGENT
 
#define CRMD_ACTION_START   PCMK_ACTION_START
 
#define CRMD_ACTION_STARTED   PCMK_ACTION_RUNNING
 
#define CRMD_ACTION_STATUS   PCMK_ACTION_MONITOR
 
#define CRMD_ACTION_STOP   PCMK_ACTION_STOP
 
#define CRMD_ACTION_STOPPED   PCMK_ACTION_STOPPED
 
#define CRMD_METADATA_CALL_TIMEOUT   PCMK_DEFAULT_METADATA_TIMEOUT_MS
 
#define RSC_CANCEL   PCMK_ACTION_CANCEL
 
#define RSC_DELETE   PCMK_ACTION_DELETE
 
#define RSC_DEMOTE   PCMK_ACTION_DEMOTE
 
#define RSC_DEMOTED   PCMK_ACTION_DEMOTED
 
#define RSC_METADATA   PCMK_ACTION_META_DATA
 
#define RSC_MIGRATE   PCMK_ACTION_MIGRATE_TO
 
#define RSC_MIGRATED   PCMK_ACTION_MIGRATE_FROM
 
#define RSC_NOTIFIED   PCMK_ACTION_NOTIFIED
 
#define RSC_NOTIFY   PCMK_ACTION_NOTIFY
 
#define RSC_PROMOTE   PCMK_ACTION_PROMOTE
 
#define RSC_PROMOTED   PCMK_ACTION_PROMOTED
 
#define RSC_START   PCMK_ACTION_START
 
#define RSC_STARTED   PCMK_ACTION_RUNNING
 
#define RSC_STATUS   PCMK_ACTION_MONITOR
 
#define RSC_STOP   PCMK_ACTION_STOP
 
#define RSC_STOPPED   PCMK_ACTION_STOPPED
 
#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 161 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 164 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 166 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 50 of file crm_compat.h.

◆ CRM_OP_FENCE

#define CRM_OP_FENCE   PCMK_ACTION_STONITH
Deprecated:
Use PCMK_ACTION_STONITH instead

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 41 of file crm_compat.h.

◆ CRM_OP_RELAXED_CLONE

#define CRM_OP_RELAXED_CLONE   PCMK_ACTION_CLONE_ONE_OR_MORE
Deprecated:
Use PCMK_ACTION_CLONE_ONE_OR_MORE instead

Definition at line 44 of file crm_compat.h.

◆ CRM_OP_RELAXED_SET

#define CRM_OP_RELAXED_SET   PCMK_ACTION_ONE_OR_MORE
Deprecated:
Use PCMK_ACTION_ONE_OR_MORE instead

Definition at line 47 of file crm_compat.h.

◆ CRMD_ACTION_CANCEL

#define CRMD_ACTION_CANCEL   PCMK_ACTION_CANCEL
Deprecated:
Use PCMK_ACTION_CANCEL instead

Definition at line 53 of file crm_compat.h.

◆ CRMD_ACTION_DELETE

#define CRMD_ACTION_DELETE   PCMK_ACTION_DELETE
Deprecated:
Use PCMK_ACTION_DELETE instead

Definition at line 56 of file crm_compat.h.

◆ CRMD_ACTION_DEMOTE

#define CRMD_ACTION_DEMOTE   PCMK_ACTION_DEMOTE
Deprecated:
Use PCMK_ACTION_DEMOTE instead

Definition at line 59 of file crm_compat.h.

◆ CRMD_ACTION_DEMOTED

#define CRMD_ACTION_DEMOTED   PCMK_ACTION_DEMOTED
Deprecated:
Use PCMK_ACTION_DEMOTED instead

Definition at line 62 of file crm_compat.h.

◆ CRMD_ACTION_METADATA

#define CRMD_ACTION_METADATA   PCMK_ACTION_META_DATA
Deprecated:
Use PCMK_ACTION_META_DATA instead

Definition at line 65 of file crm_compat.h.

◆ CRMD_ACTION_MIGRATE

#define CRMD_ACTION_MIGRATE   PCMK_ACTION_MIGRATE_TO
Deprecated:
Use PCMK_ACTION_MIGRATE_TO instead

Definition at line 68 of file crm_compat.h.

◆ CRMD_ACTION_MIGRATED

#define CRMD_ACTION_MIGRATED   PCMK_ACTION_MIGRATE_FROM
Deprecated:
Use PCMK_ACTION_MIGRATE_FROM instead

Definition at line 71 of file crm_compat.h.

◆ CRMD_ACTION_NOTIFIED

#define CRMD_ACTION_NOTIFIED   PCMK_ACTION_NOTIFIED
Deprecated:
Use PCMK_ACTION_NOTIFIED instead

Definition at line 74 of file crm_compat.h.

◆ CRMD_ACTION_NOTIFY

#define CRMD_ACTION_NOTIFY   PCMK_ACTION_NOTIFY
Deprecated:
Use PCMK_ACTION_NOTIFY instead

Definition at line 77 of file crm_compat.h.

◆ CRMD_ACTION_PROMOTE

#define CRMD_ACTION_PROMOTE   PCMK_ACTION_PROMOTE
Deprecated:
Use PCMK_ACTION_PROMOTE instead

Definition at line 80 of file crm_compat.h.

◆ CRMD_ACTION_PROMOTED

#define CRMD_ACTION_PROMOTED   PCMK_ACTION_PROMOTED
Deprecated:
Use PCMK_ACTION_PROMOTED instead

Definition at line 83 of file crm_compat.h.

◆ CRMD_ACTION_RELOAD

#define CRMD_ACTION_RELOAD   PCMK_ACTION_RELOAD
Deprecated:
Use PCMK_ACTION_RELOAD instead

Definition at line 86 of file crm_compat.h.

◆ CRMD_ACTION_RELOAD_AGENT

#define CRMD_ACTION_RELOAD_AGENT   PCMK_ACTION_RELOAD_AGENT
Deprecated:
Use PCMK_ACTION_RELOAD_AGENT instead

Definition at line 89 of file crm_compat.h.

◆ CRMD_ACTION_START

#define CRMD_ACTION_START   PCMK_ACTION_START
Deprecated:
Use PCMK_ACTION_START instead

Definition at line 92 of file crm_compat.h.

◆ CRMD_ACTION_STARTED

#define CRMD_ACTION_STARTED   PCMK_ACTION_RUNNING
Deprecated:
Use PCMK_ACTION_RUNNING instead

Definition at line 95 of file crm_compat.h.

◆ CRMD_ACTION_STATUS

#define CRMD_ACTION_STATUS   PCMK_ACTION_MONITOR
Deprecated:
Use PCMK_ACTION_MONITOR instead

Definition at line 98 of file crm_compat.h.

◆ CRMD_ACTION_STOP

#define CRMD_ACTION_STOP   PCMK_ACTION_STOP
Deprecated:
Use PCMK_ACTION_STOP instead

Definition at line 101 of file crm_compat.h.

◆ CRMD_ACTION_STOPPED

#define CRMD_ACTION_STOPPED   PCMK_ACTION_STOPPED
Deprecated:
Use PCMK_ACTION_STOPPED instead

Definition at line 104 of file crm_compat.h.

◆ CRMD_METADATA_CALL_TIMEOUT

#define CRMD_METADATA_CALL_TIMEOUT   PCMK_DEFAULT_METADATA_TIMEOUT_MS
Deprecated:
Do not use

Definition at line 107 of file crm_compat.h.

◆ EOS

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

Definition at line 32 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 35 of file crm_compat.h.

◆ RSC_CANCEL

#define RSC_CANCEL   PCMK_ACTION_CANCEL
Deprecated:
Use PCMK_ACTION_CANCEL instead

Definition at line 110 of file crm_compat.h.

◆ RSC_DELETE

#define RSC_DELETE   PCMK_ACTION_DELETE
Deprecated:
Use PCMK_ACTION_DELETE instead

Definition at line 113 of file crm_compat.h.

◆ RSC_DEMOTE

#define RSC_DEMOTE   PCMK_ACTION_DEMOTE
Deprecated:
Use PCMK_ACTION_DEMOTE instead

Definition at line 116 of file crm_compat.h.

◆ RSC_DEMOTED

#define RSC_DEMOTED   PCMK_ACTION_DEMOTED
Deprecated:
Use PCMK_ACTION_DEMOTED instead

Definition at line 119 of file crm_compat.h.

◆ RSC_METADATA

#define RSC_METADATA   PCMK_ACTION_META_DATA
Deprecated:
Use PCMK_ACTION_META_DATA instead

Definition at line 122 of file crm_compat.h.

◆ RSC_MIGRATE

#define RSC_MIGRATE   PCMK_ACTION_MIGRATE_TO
Deprecated:
Use PCMK_ACTION_MIGRATE_TO instead

Definition at line 125 of file crm_compat.h.

◆ RSC_MIGRATED

#define RSC_MIGRATED   PCMK_ACTION_MIGRATE_FROM
Deprecated:
Use PCMK_ACTION_MIGRATE_FROM instead

Definition at line 128 of file crm_compat.h.

◆ RSC_NOTIFIED

#define RSC_NOTIFIED   PCMK_ACTION_NOTIFIED
Deprecated:
Use PCMK_ACTION_NOTIFIED instead

Definition at line 131 of file crm_compat.h.

◆ RSC_NOTIFY

#define RSC_NOTIFY   PCMK_ACTION_NOTIFY
Deprecated:
Use PCMK_ACTION_NOTIFY instead

Definition at line 134 of file crm_compat.h.

◆ RSC_PROMOTE

#define RSC_PROMOTE   PCMK_ACTION_PROMOTE
Deprecated:
Use PCMK_ACTION_PROMOTE instead

Definition at line 137 of file crm_compat.h.

◆ RSC_PROMOTED

#define RSC_PROMOTED   PCMK_ACTION_PROMOTED
Deprecated:
Use PCMK_ACTION_PROMOTED instead

Definition at line 140 of file crm_compat.h.

◆ RSC_START

#define RSC_START   PCMK_ACTION_START
Deprecated:
Use PCMK_ACTION_START instead

Definition at line 143 of file crm_compat.h.

◆ RSC_STARTED

#define RSC_STARTED   PCMK_ACTION_RUNNING
Deprecated:
Use PCMK_ACTION_RUNNING instead

Definition at line 146 of file crm_compat.h.

◆ RSC_STATUS

#define RSC_STATUS   PCMK_ACTION_MONITOR
Deprecated:
Use PCMK_ACTION_MONITOR instead

Definition at line 149 of file crm_compat.h.

◆ RSC_STOP

#define RSC_STOP   PCMK_ACTION_STOP
Deprecated:
Use PCMK_ACTION_STOP instead

Definition at line 152 of file crm_compat.h.

◆ RSC_STOPPED

#define RSC_STOPPED   PCMK_ACTION_STOPPED
Deprecated:
Use PCMK_ACTION_STOPPED instead

Definition at line 155 of file crm_compat.h.

Typedef Documentation

◆ GListPtr

typedef GList* GListPtr
Deprecated:
Use GList * instead

Definition at line 172 of file crm_compat.h.