pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros
roles_internal.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define PCMK__ROLE_UNKNOWN   "Unknown"
 
#define PCMK__ROLE_UNPROMOTED_LEGACY   "Slave"
 
#define PCMK__ROLE_PROMOTED_LEGACY   "Master"
 
#define pcmk__set_rsc_flags(resource, flags_to_set)
 
#define pcmk__clear_rsc_flags(resource, flags_to_clear)
 

Macro Definition Documentation

◆ pcmk__clear_rsc_flags

#define pcmk__clear_rsc_flags (   resource,
  flags_to_clear 
)
Value:
do { \
(resource)->flags = pcmk__clear_flags_as(__func__, __LINE__, \
LOG_TRACE, "Resource", (resource)->id, (resource)->flags, \
(flags_to_clear), #flags_to_clear); \
} while (0)
#define LOG_TRACE
Definition: logging.h:38
uint64_t flags
Definition: remote.c:215

Definition at line 42 of file roles_internal.h.

◆ PCMK__ROLE_PROMOTED_LEGACY

#define PCMK__ROLE_PROMOTED_LEGACY   "Master"

Definition at line 20 of file roles_internal.h.

◆ PCMK__ROLE_UNKNOWN

#define PCMK__ROLE_UNKNOWN   "Unknown"

Definition at line 18 of file roles_internal.h.

◆ PCMK__ROLE_UNPROMOTED_LEGACY

#define PCMK__ROLE_UNPROMOTED_LEGACY   "Slave"

Definition at line 19 of file roles_internal.h.

◆ pcmk__set_rsc_flags

#define pcmk__set_rsc_flags (   resource,
  flags_to_set 
)
Value:
do { \
(resource)->flags = pcmk__set_flags_as(__func__, __LINE__, \
LOG_TRACE, "Resource", (resource)->id, (resource)->flags, \
(flags_to_set), #flags_to_set); \
} while (0)
#define LOG_TRACE
Definition: logging.h:38
uint64_t flags
Definition: remote.c:215

Definition at line 29 of file roles_internal.h.