10 #ifndef PCMK__CRM_COMMON_RULES__H 11 #define PCMK__CRM_COMMON_RULES__H 15 #include <libxml/tree.h> 42 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) 112 #endif // PCMK__CRM_COMMON_RULES__H
struct crm_time_s crm_time_t
int pcmk_evaluate_rule(xmlNode *rule, const pcmk_rule_input_t *rule_input, crm_time_t *next_change)
Evaluate a single rule, including all its conditions.
struct pcmk_rule_input pcmk_rule_input_t
Data used to evaluate a rule (any NULL items are ignored)