pacemaker  1.1.17-b36b869ca8
Scalable High-Availability cluster resource manager
Data Structures | Macros | Enumerations | Functions | Variables
alerts_internal.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Data Structures

struct  crm_alert_entry_t
 

Macros

#define CRM_ALERT_DEFAULT_TIMEOUT_MS   (30000)
 
#define CRM_ALERT_DEFAULT_TSTAMP_FORMAT   "%H:%M:%S.%06N"
 

Enumerations

enum  crm_alert_keys_e {
  CRM_alert_recipient = 0, CRM_alert_node, CRM_alert_nodeid, CRM_alert_rsc,
  CRM_alert_task, CRM_alert_interval, CRM_alert_desc, CRM_alert_status,
  CRM_alert_target_rc, CRM_alert_rc, CRM_alert_kind, CRM_alert_version,
  CRM_alert_node_sequence, CRM_alert_timestamp
}
 

Functions

void crm_free_alert_list (void)
 
GListPtr crm_drop_envvars (crm_alert_entry_t *entry, int count)
 
void crm_add_dup_alert_list_entry (crm_alert_entry_t *entry)
 
GListPtr crm_get_envvars_from_cib (xmlNode *basenode, crm_alert_entry_t *entry, int *count)
 
void crm_set_alert_key (enum crm_alert_keys_e name, const char *value)
 
void crm_set_alert_key_int (enum crm_alert_keys_e name, int value)
 
void crm_unset_alert_keys (void)
 
void crm_set_envvar_list (crm_alert_entry_t *entry)
 
void crm_unset_envvar_list (crm_alert_entry_t *entry)
 

Variables

GListPtr crm_alert_list
 
guint crm_alert_max_alert_timeout
 
const char * crm_alert_keys [14][3]
 

Macro Definition Documentation

§ CRM_ALERT_DEFAULT_TIMEOUT_MS

#define CRM_ALERT_DEFAULT_TIMEOUT_MS   (30000)

Definition at line 22 of file alerts_internal.h.

§ CRM_ALERT_DEFAULT_TSTAMP_FORMAT

#define CRM_ALERT_DEFAULT_TSTAMP_FORMAT   "%H:%M:%S.%06N"

Definition at line 25 of file alerts_internal.h.

Enumeration Type Documentation

§ crm_alert_keys_e

Enumerator
CRM_alert_recipient 
CRM_alert_node 
CRM_alert_nodeid 
CRM_alert_rsc 
CRM_alert_task 
CRM_alert_interval 
CRM_alert_desc 
CRM_alert_status 
CRM_alert_target_rc 
CRM_alert_rc 
CRM_alert_kind 
CRM_alert_version 
CRM_alert_node_sequence 
CRM_alert_timestamp 

Definition at line 36 of file alerts_internal.h.

Function Documentation

§ crm_add_dup_alert_list_entry()

void crm_add_dup_alert_list_entry ( crm_alert_entry_t entry)

Definition at line 150 of file alerts.c.

§ crm_drop_envvars()

GListPtr crm_drop_envvars ( crm_alert_entry_t entry,
int  count 
)

Definition at line 106 of file alerts.c.

§ crm_free_alert_list()

void crm_free_alert_list ( void  )

Definition at line 77 of file alerts.c.

§ crm_get_envvars_from_cib()

GListPtr crm_get_envvars_from_cib ( xmlNode *  basenode,
crm_alert_entry_t entry,
int *  count 
)

Definition at line 170 of file alerts.c.

§ crm_set_alert_key()

void crm_set_alert_key ( enum crm_alert_keys_e  name,
const char *  value 
)

Definition at line 197 of file alerts.c.

§ crm_set_alert_key_int()

void crm_set_alert_key_int ( enum crm_alert_keys_e  name,
int  value 
)

Definition at line 212 of file alerts.c.

§ crm_set_envvar_list()

void crm_set_envvar_list ( crm_alert_entry_t entry)

Definition at line 235 of file alerts.c.

§ crm_unset_alert_keys()

void crm_unset_alert_keys ( void  )

Definition at line 221 of file alerts.c.

§ crm_unset_envvar_list()

void crm_unset_envvar_list ( crm_alert_entry_t entry)

Definition at line 253 of file alerts.c.

Variable Documentation

§ crm_alert_keys

const char* crm_alert_keys[14][3]

Definition at line 36 of file alerts.c.

§ crm_alert_list

GListPtr crm_alert_list

Definition at line 29 of file alerts.c.

§ crm_alert_max_alert_timeout

guint crm_alert_max_alert_timeout

Definition at line 30 of file alerts.c.