pacemaker  2.1.8-3980678f03
Scalable High-Availability cluster resource manager
Data Structures | Enumerations | Functions
ipc_attrd_internal.h File Reference
#include <glib.h>
#include <crm/common/ipc.h>
Include dependency graph for ipc_attrd_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  pcmk__attrd_query_pair_t
 
struct  pcmk__attrd_api_reply_t
 

Enumerations

enum  pcmk__attrd_api_reply { pcmk__attrd_reply_unknown, pcmk__attrd_reply_query }
 Possible types of attribute manager replies. More...
 

Functions

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)
 

Enumeration Type Documentation

◆ pcmk__attrd_api_reply

Possible types of attribute manager replies.

Enumerator
pcmk__attrd_reply_unknown 
pcmk__attrd_reply_query 

Definition at line 21 of file ipc_attrd_internal.h.

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_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.