pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <glib.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/internal.h>
#include <sys/types.h>
#include <regex.h>
#include <ctype.h>
Go to the source code of this file.
Macros | |
#define | cron_check(xml_field, time_field) |
#define | update_field(xml_field, time_fn) |
Typedefs | |
typedef struct sorted_set_s | sorted_set_t |
typedef struct unpack_data_s | unpack_data_t |
Functions | |
CRM_TRACE_INIT_DATA (pe_rules) | |
crm_time_t * | parse_xml_duration (crm_time_t *start, xmlNode *duration_spec) |
gboolean | test_date_expression (xmlNode *time_expr, crm_time_t *now) |
gboolean | cron_range_satisfied (crm_time_t *now, xmlNode *cron_spec) |
gboolean | test_attr_expression (xmlNode *expr, GHashTable *hash, crm_time_t *now) |
gboolean | pe_test_attr_expression_full (xmlNode *expr, GHashTable *hash, crm_time_t *now, pe_match_data_t *match_data) |
gboolean | test_role_expression (xmlNode *expr, enum rsc_role_e role, crm_time_t *now) |
gboolean | test_ruleset (xmlNode *ruleset, GHashTable *node_hash, crm_time_t *now) |
gboolean | test_rule (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now) |
gboolean | pe_test_rule_re (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_re_match_data_t *re_match_data) |
gboolean | pe_test_rule_full (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_match_data_t *match_data) |
gboolean | test_expression (xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now) |
gboolean | pe_test_expression_re (xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_re_match_data_t *re_match_data) |
gboolean | pe_test_expression_full (xmlNode *expr, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now, pe_match_data_t *match_data) |
enum expression_type | find_expression_type (xmlNode *expr) |
void | unpack_instance_attributes (xmlNode *top, xmlNode *xml_obj, const char *set_name, GHashTable *node_hash, GHashTable *hash, const char *always_first, gboolean overwrite, crm_time_t *now) |
char * | pe_expand_re_matches (const char *string, pe_re_match_data_t *match_data) |
#define cron_check | ( | xml_field, | |
time_field | |||
) |
#define update_field | ( | xml_field, | |
time_fn | |||
) |
typedef struct sorted_set_s sorted_set_t |
typedef struct unpack_data_s unpack_data_t |
CRM_TRACE_INIT_DATA | ( | pe_rules | ) |
gboolean cron_range_satisfied | ( | crm_time_t * | now, |
xmlNode * | cron_spec | ||
) |
enum expression_type find_expression_type | ( | xmlNode * | expr | ) |
crm_time_t * parse_xml_duration | ( | crm_time_t * | start, |
xmlNode * | duration_spec | ||
) |
char* pe_expand_re_matches | ( | const char * | string, |
pe_re_match_data_t * | match_data | ||
) |
gboolean pe_test_attr_expression_full | ( | xmlNode * | expr, |
GHashTable * | hash, | ||
crm_time_t * | now, | ||
pe_match_data_t * | match_data | ||
) |
gboolean pe_test_expression_full | ( | xmlNode * | expr, |
GHashTable * | node_hash, | ||
enum rsc_role_e | role, | ||
crm_time_t * | now, | ||
pe_match_data_t * | match_data | ||
) |
gboolean pe_test_expression_re | ( | xmlNode * | expr, |
GHashTable * | node_hash, | ||
enum rsc_role_e | role, | ||
crm_time_t * | now, | ||
pe_re_match_data_t * | re_match_data | ||
) |
gboolean pe_test_rule_full | ( | xmlNode * | rule, |
GHashTable * | node_hash, | ||
enum rsc_role_e | role, | ||
crm_time_t * | now, | ||
pe_match_data_t * | match_data | ||
) |
gboolean pe_test_rule_re | ( | xmlNode * | rule, |
GHashTable * | node_hash, | ||
enum rsc_role_e | role, | ||
crm_time_t * | now, | ||
pe_re_match_data_t * | re_match_data | ||
) |
gboolean test_attr_expression | ( | xmlNode * | expr, |
GHashTable * | hash, | ||
crm_time_t * | now | ||
) |
gboolean test_date_expression | ( | xmlNode * | time_expr, |
crm_time_t * | now | ||
) |
gboolean test_expression | ( | xmlNode * | expr, |
GHashTable * | node_hash, | ||
enum rsc_role_e | role, | ||
crm_time_t * | now | ||
) |
gboolean test_role_expression | ( | xmlNode * | expr, |
enum rsc_role_e | role, | ||
crm_time_t * | now | ||
) |
gboolean test_rule | ( | xmlNode * | rule, |
GHashTable * | node_hash, | ||
enum rsc_role_e | role, | ||
crm_time_t * | now | ||
) |
gboolean test_ruleset | ( | xmlNode * | ruleset, |
GHashTable * | node_hash, | ||
crm_time_t * | now | ||
) |
void unpack_instance_attributes | ( | xmlNode * | top, |
xmlNode * | xml_obj, | ||
const char * | set_name, | ||
GHashTable * | node_hash, | ||
GHashTable * | hash, | ||
const char * | always_first, | ||
gboolean | overwrite, | ||
crm_time_t * | now | ||
) |