|
pacemaker
2.1.8-3980678f03
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <crm/cib/internal.h>#include <crm/common/cib.h>#include <crm/common/iso8601.h>#include <crm/common/xml.h>#include <crm/pengine/internal.h>#include <crm/pengine/rules_internal.h>#include <pacemaker-internal.h>#include "libpacemaker_private.h"
Go to the source code of this file.
Macros | |
| #define | XPATH_NODE_RULE "//" PCMK_XE_RULE "[@" PCMK_XA_ID "='%s']" |
Functions | |
| int | pcmk__check_rules (pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date, const char **rule_ids) |
| int | pcmk_check_rules (xmlNodePtr *xml, xmlNodePtr input, const crm_time_t *date, const char **rule_ids) |
| Check whether each rule in a list is in effect. More... | |
| #define XPATH_NODE_RULE "//" PCMK_XE_RULE "[@" PCMK_XA_ID "='%s']" |
Definition at line 22 of file pcmk_rule.c.
| int pcmk__check_rules | ( | pcmk__output_t * | out, |
| xmlNodePtr | input, | ||
| const crm_time_t * | date, | ||
| const char ** | rule_ids | ||
| ) |
Definition at line 163 of file pcmk_rule.c.
| int pcmk_check_rules | ( | xmlNodePtr * | xml, |
| xmlNodePtr | input, | ||
| const crm_time_t * | date, | ||
| const char ** | rule_ids | ||
| ) |
Check whether each rule in a list is in effect.
| [in,out] | xml | The destination for the result, as an XML tree |
| [in] | input | The CIB XML to check (if NULL, use current CIB) |
| [in] | date | Check whether the rule is in effect at this date and time (if NULL, use current date and time) |
| [in] | rule_ids | The IDs of the rules to check, as a NULL- terminated list. |
Definition at line 198 of file pcmk_rule.c.
1.8.14