pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Macros | Functions
attrd_client.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/attrd_internal.h>
Include dependency graph for attrd_client.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 
#define LRM_TARGET_ENV   "OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET
 

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

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 11 of file attrd_client.c.

◆ LRM_TARGET_ENV

#define LRM_TARGET_ENV   "OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET

Definition at line 275 of file attrd_client.c.

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.