pacemaker
2.1.9-49aab99839
Scalable High-Availability cluster resource manager
|
#include <regex.h>
#include <libxml/tree.h>
#include <crm/common/rules.h>
#include <crm/common/iso8601.h>
Go to the source code of this file.
Enumerations | |
enum | pcmk__combine { pcmk__combine_unknown, pcmk__combine_and, pcmk__combine_or } |
Functions | |
enum expression_type | pcmk__condition_type (const xmlNode *condition) |
char * | pcmk__replace_submatches (const char *string, const char *match, const regmatch_t submatches[], int nmatches) |
enum pcmk__combine | pcmk__parse_combine (const char *combine) |
int | pcmk__evaluate_date_expression (const xmlNode *date_expression, const crm_time_t *now, crm_time_t *next_change) |
int | pcmk__evaluate_condition (xmlNode *expr, const pcmk_rule_input_t *rule_input, crm_time_t *next_change) |
int | pcmk__evaluate_rules (xmlNode *xml, const pcmk_rule_input_t *rule_input, crm_time_t *next_change) |
enum pcmk__combine |
Enumerator | |
---|---|
pcmk__combine_unknown | |
pcmk__combine_and | |
pcmk__combine_or |
Definition at line 19 of file rules_internal.h.
enum expression_type pcmk__condition_type | ( | const xmlNode * | condition | ) |
int pcmk__evaluate_condition | ( | xmlNode * | expr, |
const pcmk_rule_input_t * | rule_input, | ||
crm_time_t * | next_change | ||
) |
int pcmk__evaluate_date_expression | ( | const xmlNode * | date_expression, |
const crm_time_t * | now, | ||
crm_time_t * | next_change | ||
) |
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 | ) |