pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Macros | Enumerations | Functions
attrd_internal.h File Reference
#include <crm/common/ipc.h>
Include dependency graph for attrd_internal.h:
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)
 

Enumerations

enum  pcmk__node_attr_opts { pcmk__node_attr_none = 0, pcmk__node_attr_remote = (1 << 0), pcmk__node_attr_private = (1 << 1) }
 

Functions

int pcmk__node_attr_request (crm_ipc_t *ipc, char command, const char *host, const char *name, const char *value, const char *section, const char *set, const char *dampen, const char *user_name, int options)
 
int pcmk__node_attr_request_clear (crm_ipc_t *ipc, const char *host, const char *resource, const char *operation, const char *interval_spec, const char *user_name, int options)
 
const char * pcmk__node_attr_target (const char *name)
 

Macro Definition Documentation

◆ 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:36
char * crm_system_name
Definition: utils.c:54

Definition at line 26 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 

Definition at line 20 of file attrd_internal.h.

Function Documentation

◆ pcmk__node_attr_request()

int pcmk__node_attr_request ( crm_ipc_t ipc,
char  command,
const char *  host,
const char *  name,
const char *  value,
const char *  section,
const char *  set,
const char *  dampen,
const char *  user_name,
int  options 
)

Definition at line 135 of file attrd_client.c.

◆ pcmk__node_attr_request_clear()

int pcmk__node_attr_request_clear ( crm_ipc_t ipc,
const char *  host,
const char *  resource,
const char *  operation,
const char *  interval_spec,
const char *  user_name,
int  options 
)

Definition at line 241 of file attrd_client.c.

◆ pcmk__node_attr_target()

const char* pcmk__node_attr_target ( const char *  name)

Definition at line 281 of file attrd_client.c.