pacemaker
2.1.0-7c3f660
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdio.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/attrd_internal.h>
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) |
char * | pcmk_promotion_score_name (const char *rsc_id) |
Return the name of the node attribute used as a promotion score. More... | |
#define _GNU_SOURCE |
Definition at line 11 of file attrd_client.c.
#define LRM_TARGET_ENV "OCF_RESKEY_" CRM_META "_" XML_LRM_ATTR_TARGET |
Definition at line 273 of file attrd_client.c.
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.
char* pcmk_promotion_score_name | ( | const char * | rsc_id | ) |
Return the name of the node attribute used as a promotion score.
[in] | rsc_id | Resource ID that promotion score is for (or NULL to check the OCF_RESOURCE_INSTANCE environment variable) |
Definition at line 320 of file attrd_client.c.