pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
rules_internal.h File Reference
#include <regex.h>
#include <libxml/tree.h>
#include <crm/common/rules.h>
#include <crm/common/iso8601.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.

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)
 

Enumeration Type Documentation

◆ pcmk__combine

Enumerator
pcmk__combine_unknown 
pcmk__combine_and 
pcmk__combine_or 

Definition at line 23 of file rules_internal.h.

Function Documentation

◆ pcmk__condition_type()

enum expression_type pcmk__condition_type ( const xmlNode * condition)

Definition at line 38 of file rules.c.

◆ pcmk__evaluate_condition()

int pcmk__evaluate_condition ( xmlNode * expr,
const pcmk_rule_input_t * rule_input,
crm_time_t * next_change )

Definition at line 1252 of file rules.c.

◆ pcmk__evaluate_date_expression()

int pcmk__evaluate_date_expression ( const xmlNode * date_expression,
const crm_time_t * now,
crm_time_t * next_change )

Definition at line 470 of file rules.c.

◆ pcmk__parse_combine()

enum pcmk__combine pcmk__parse_combine ( const char * combine)

Definition at line 831 of file rules.c.

◆ pcmk__replace_submatches()

char * pcmk__replace_submatches ( const char * string,
const char * match,
const regmatch_t submatches[],
int nmatches )

Definition at line 614 of file rules.c.