pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions
lrmd_alerts.c File Reference
#include <crm_internal.h>
#include <glib.h>
#include <unistd.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/services.h>
#include <crm/common/mainloop.h>
#include <crm/common/alerts_internal.h>
#include <crm/common/iso8601_internal.h>
#include <crm/lrmd_internal.h>
#include <crm/pengine/status.h>
#include <crm/cib.h>
#include <crm/lrmd.h>
Include dependency graph for lrmd_alerts.c:

Go to the source code of this file.

Functions

int lrmd_send_attribute_alert (lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *attr_name, const char *attr_value)
 
int lrmd_send_node_alert (lrmd_t *lrmd, GList *alert_list, const char *node, uint32_t nodeid, const char *state)
 
int lrmd_send_fencing_alert (lrmd_t *lrmd, GList *alert_list, const char *target, const char *task, const char *desc, int op_rc)
 
int lrmd_send_resource_alert (lrmd_t *lrmd, GList *alert_list, const char *node, lrmd_event_data_t *op)
 

Function Documentation

int lrmd_send_attribute_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  node,
uint32_t  nodeid,
const char *  attr_name,
const char *  attr_value 
)

Definition at line 238 of file lrmd_alerts.c.

int lrmd_send_fencing_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  target,
const char *  task,
const char *  desc,
int  op_rc 
)

Definition at line 311 of file lrmd_alerts.c.

int lrmd_send_node_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  node,
uint32_t  nodeid,
const char *  state 
)

Definition at line 276 of file lrmd_alerts.c.

int lrmd_send_resource_alert ( lrmd_t lrmd,
GList *  alert_list,
const char *  node,
lrmd_event_data_t op 
)

Definition at line 346 of file lrmd_alerts.c.