pacemaker  2.0.5-ba59be712
Scalable High-Availability cluster resource manager
Functions
rules_internal.h File Reference
#include <glib.h>
#include <libxml/tree.h>
#include <crm/common/iso8601.h>
#include <crm/pengine/common.h>
#include <crm/pengine/rules.h>
Include dependency graph for rules_internal.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

GListPtr pe_unpack_alerts (xmlNode *alerts)
 
void pe_free_alert_list (GListPtr alert_list)
 
crm_time_tpe_parse_xml_duration (crm_time_t *start, xmlNode *duration_spec)
 
gboolean pe__eval_attr_expr (xmlNode *expr, pe_rule_eval_data_t *rule_data)
 
int pe__eval_date_expr (xmlNode *expr, pe_rule_eval_data_t *rule_data, crm_time_t *next_change)
 
gboolean pe__eval_op_expr (xmlNodePtr expr, pe_rule_eval_data_t *rule_data)
 
gboolean pe__eval_role_expr (xmlNode *expr, pe_rule_eval_data_t *rule_data)
 
gboolean pe__eval_rsc_expr (xmlNodePtr expr, pe_rule_eval_data_t *rule_data)
 
int pe_eval_date_expression (xmlNode *time_expr, crm_time_t *now, crm_time_t *next_change)
 
gboolean pe_test_date_expression (xmlNode *time_expr, crm_time_t *now, crm_time_t *next_change)
 
int pe_cron_range_satisfied (crm_time_t *now, xmlNode *cron_spec)
 
gboolean pe_test_attr_expression (xmlNode *expr, GHashTable *hash, crm_time_t *now, pe_match_data_t *match_data)
 
gboolean pe_test_role_expression (xmlNode *expr, enum rsc_role_e role, crm_time_t *now)
 

Function Documentation

◆ pe__eval_attr_expr()

gboolean pe__eval_attr_expr ( xmlNode *  expr,
pe_rule_eval_data_t rule_data 
)

◆ pe__eval_date_expr()

int pe__eval_date_expr ( xmlNode *  expr,
pe_rule_eval_data_t rule_data,
crm_time_t next_change 
)

◆ pe__eval_op_expr()

gboolean pe__eval_op_expr ( xmlNodePtr  expr,
pe_rule_eval_data_t rule_data 
)

Definition at line 1257 of file rules.c.

◆ pe__eval_role_expr()

gboolean pe__eval_role_expr ( xmlNode *  expr,
pe_rule_eval_data_t rule_data 
)

◆ pe__eval_rsc_expr()

gboolean pe__eval_rsc_expr ( xmlNodePtr  expr,
pe_rule_eval_data_t rule_data 
)

Definition at line 1330 of file rules.c.

◆ pe_cron_range_satisfied()

int pe_cron_range_satisfied ( crm_time_t now,
xmlNode *  cron_spec 
)

Definition at line 274 of file rules.c.

◆ pe_eval_date_expression()

int pe_eval_date_expression ( xmlNode *  time_expr,
crm_time_t now,
crm_time_t next_change 
)

Definition at line 389 of file rules.c.

◆ pe_free_alert_list()

void pe_free_alert_list ( GListPtr  alert_list)

Definition at line 247 of file rules_alerts.c.

◆ pe_parse_xml_duration()

crm_time_t* pe_parse_xml_duration ( crm_time_t start,
xmlNode *  duration_spec 
)

Definition at line 315 of file rules.c.

◆ pe_test_attr_expression()

gboolean pe_test_attr_expression ( xmlNode *  expr,
GHashTable *  hash,
crm_time_t now,
pe_match_data_t match_data 
)

Definition at line 159 of file rules.c.

◆ pe_test_date_expression()

gboolean pe_test_date_expression ( xmlNode *  time_expr,
crm_time_t now,
crm_time_t next_change 
)

Definition at line 345 of file rules.c.

◆ pe_test_role_expression()

gboolean pe_test_role_expression ( xmlNode *  expr,
enum rsc_role_e  role,
crm_time_t now 
)

Definition at line 144 of file rules.c.

◆ pe_unpack_alerts()

GListPtr pe_unpack_alerts ( xmlNode *  alerts)

Definition at line 178 of file rules_alerts.c.