pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Macros | Enumerations | Functions
attrd_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__set_node_attr_flags(node_attr_flags, flags_to_set)
 
#define pcmk__clear_node_attr_flags(node_attr_flags, flags_to_clear)
 

Enumerations

enum  pcmk__node_attr_opts {
  pcmk__node_attr_none = 0, pcmk__node_attr_remote = (1 << 0), pcmk__node_attr_private = (1 << 1), pcmk__node_attr_pattern = (1 << 2),
  pcmk__node_attr_value = (1 << 3), pcmk__node_attr_delay = (1 << 4), pcmk__node_attr_perm = (1 << 5)
}
 

Functions

const char * pcmk__node_attr_target (const char *name)
 

Macro Definition Documentation

◆ pcmk__clear_node_attr_flags

#define pcmk__clear_node_attr_flags (   node_attr_flags,
  flags_to_clear 
)
Value:
do { \
node_attr_flags = pcmk__clear_flags_as(__func__, __LINE__, \
LOG_TRACE, "Node attribute", crm_system_name, \
(node_attr_flags), (flags_to_clear), #flags_to_clear); \
} while (0)
#define LOG_TRACE
Definition: logging.h:37
char * crm_system_name
Definition: utils.c:51

Definition at line 34 of file attrd_internal.h.

◆ pcmk__set_node_attr_flags

#define pcmk__set_node_attr_flags (   node_attr_flags,
  flags_to_set 
)
Value:
do { \
node_attr_flags = pcmk__set_flags_as(__func__, __LINE__, \
LOG_TRACE, "Node attribute", crm_system_name, \
(node_attr_flags), (flags_to_set), #flags_to_set); \
} while (0)
#define LOG_TRACE
Definition: logging.h:37
char * crm_system_name
Definition: utils.c:51

Definition at line 28 of file attrd_internal.h.

Enumeration Type Documentation

◆ pcmk__node_attr_opts

Enumerator
pcmk__node_attr_none 
pcmk__node_attr_remote 
pcmk__node_attr_private 
pcmk__node_attr_pattern 
pcmk__node_attr_value 
pcmk__node_attr_delay 
pcmk__node_attr_perm 

Definition at line 18 of file attrd_internal.h.

Function Documentation

◆ pcmk__node_attr_target()

const char* pcmk__node_attr_target ( const char *  name)

Definition at line 39 of file attrs.c.