pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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.


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)
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

int pe_cron_range_satisfied ( crm_time_t now,
xmlNode *  cron_spec 

Definition at line 513 of file rules.c.

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

Definition at line 620 of file rules.c.

void pe_free_alert_list ( GListPtr  alert_list)

Definition at line 246 of file rules_alerts.c.

crm_time_t* pe_parse_xml_duration ( crm_time_t start,
xmlNode *  duration_spec 

Definition at line 554 of file rules.c.

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

Definition at line 257 of file rules.c.

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

Definition at line 584 of file rules.c.

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

Definition at line 216 of file rules.c.

GListPtr pe_unpack_alerts ( xmlNode *  alerts)

Definition at line 177 of file rules_alerts.c.