10 #ifndef PCMK__CRM_COMMON_RULES_INTERNAL__H 11 #define PCMK__CRM_COMMON_RULES_INTERNAL__H 14 #include <libxml/tree.h> 27 const regmatch_t submatches[],
int nmatches);
38 #endif // PCMK__CRM_COMMON_RULES_INTERNAL__H int pcmk__evaluate_rules(xmlNode *xml, const pcmk_rule_input_t *rule_input, crm_time_t *next_change)
enum pcmk__combine pcmk__parse_combine(const char *combine)
struct crm_time_s crm_time_t
char * pcmk__replace_submatches(const char *string, const char *match, const regmatch_t submatches[], int nmatches)
int pcmk__evaluate_condition(xmlNode *expr, const pcmk_rule_input_t *rule_input, crm_time_t *next_change)
enum expression_type pcmk__condition_type(const xmlNode *condition)
int pcmk__evaluate_date_expression(const xmlNode *date_expression, const crm_time_t *now, crm_time_t *next_change)