pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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

#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

Enumerator
pcmk__node_attr_none 
pcmk__node_attr_remote 
pcmk__node_attr_private 

Definition at line 20 of file attrd_internal.h.

Function Documentation

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 133 of file attrd_client.c.

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 239 of file attrd_client.c.

const char* pcmk__node_attr_target ( const char *  name)

Definition at line 279 of file attrd_client.c.