pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Macros | Functions
ipc_attrd.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <crm/crm.h>
#include <crm/common/attrs_internal.h>
#include <crm/common/ipc.h>
#include <crm/common/ipc_attrd_internal.h>
#include <crm/common/xml.h>
#include "crmcommon_private.h"
Include dependency graph for ipc_attrd.c:

Go to the source code of this file.

Macros

#define _GNU_SOURCE
 

Functions

pcmk__ipc_methods_tpcmk__attrd_api_methods (void)
 
int pcmk__attrd_api_clear_failures (pcmk_ipc_api_t *api, const char *node, const char *resource, const char *operation, const char *interval_spec, const char *user_name, uint32_t options)
 
int pcmk__attrd_api_delete (pcmk_ipc_api_t *api, const char *node, const char *name, uint32_t options)
 
int pcmk__attrd_api_purge (pcmk_ipc_api_t *api, const char *node, bool reap)
 
int pcmk__attrd_api_query (pcmk_ipc_api_t *api, const char *node, const char *name, uint32_t options)
 
int pcmk__attrd_api_refresh (pcmk_ipc_api_t *api, const char *node)
 
int pcmk__attrd_api_update (pcmk_ipc_api_t *api, const char *node, const char *name, const char *value, const char *dampen, const char *set, const char *user_name, uint32_t options)
 
int pcmk__attrd_api_update_list (pcmk_ipc_api_t *api, GList *attrs, const char *dampen, const char *set, const char *user_name, uint32_t options)
 

Macro Definition Documentation

◆ _GNU_SOURCE

#define _GNU_SOURCE

Definition at line 11 of file ipc_attrd.c.

Function Documentation

◆ pcmk__attrd_api_clear_failures()

int pcmk__attrd_api_clear_failures ( pcmk_ipc_api_t api,
const char *  node,
const char *  resource,
const char *  operation,
const char *  interval_spec,
const char *  user_name,
uint32_t  options 
)

Definition at line 178 of file ipc_attrd.c.

◆ pcmk__attrd_api_delete()

int pcmk__attrd_api_delete ( pcmk_ipc_api_t api,
const char *  node,
const char *  name,
uint32_t  options 
)

Definition at line 219 of file ipc_attrd.c.

◆ pcmk__attrd_api_methods()

pcmk__ipc_methods_t* pcmk__attrd_api_methods ( void  )

Definition at line 118 of file ipc_attrd.c.

◆ pcmk__attrd_api_purge()

int pcmk__attrd_api_purge ( pcmk_ipc_api_t api,
const char *  node,
bool  reap 
)

Definition at line 242 of file ipc_attrd.c.

◆ pcmk__attrd_api_query()

int pcmk__attrd_api_query ( pcmk_ipc_api_t api,
const char *  node,
const char *  name,
uint32_t  options 
)

Definition at line 270 of file ipc_attrd.c.

◆ pcmk__attrd_api_refresh()

int pcmk__attrd_api_refresh ( pcmk_ipc_api_t api,
const char *  node 
)

Definition at line 307 of file ipc_attrd.c.

◆ pcmk__attrd_api_update()

int pcmk__attrd_api_update ( pcmk_ipc_api_t api,
const char *  node,
const char *  name,
const char *  value,
const char *  dampen,
const char *  set,
const char *  user_name,
uint32_t  options 
)

Definition at line 378 of file ipc_attrd.c.

◆ pcmk__attrd_api_update_list()

int pcmk__attrd_api_update_list ( pcmk_ipc_api_t api,
GList *  attrs,
const char *  dampen,
const char *  set,
const char *  user_name,
uint32_t  options 
)

Definition at line 410 of file ipc_attrd.c.