pacemaker 3.0.1-16e74fc4da
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
rules_compat.c File Reference
#include <crm_internal.h>
#include <stdio.h>
#include <glib.h>
#include <libxml/tree.h>
#include <crm/crm.h>
#include <crm/common/iso8601.h>
#include <crm/common/roles.h>
#include <crm/common/xml.h>
#include <crm/common/rules.h>
#include <crm/common/nvpair_internal.h>
#include <crm/pengine/common_compat.h>
#include <crm/pengine/rules_compat.h>
Include dependency graph for rules_compat.c:

Go to the source code of this file.

Functions

 CRM_TRACE_INIT_DATA (pe_rules)
 
gboolean test_rule (xmlNode *rule, GHashTable *node_hash, enum rsc_role_e role, crm_time_t *now)
 
void pe_eval_nvpairs (xmlNode *top, const xmlNode *xml_obj, const char *set_name, const pe_rule_eval_data_t *rule_data, GHashTable *hash, const char *always_first, gboolean overwrite, crm_time_t *next_change)
 
void pe_unpack_nvpairs (xmlNode *top, const xmlNode *xml_obj, const char *set_name, GHashTable *node_hash, GHashTable *hash, const char *always_first, gboolean overwrite, crm_time_t *now, crm_time_t *next_change)
 

Function Documentation

◆ CRM_TRACE_INIT_DATA()

CRM_TRACE_INIT_DATA ( pe_rules )

◆ pe_eval_nvpairs()

void pe_eval_nvpairs ( xmlNode * top,
const xmlNode * xml_obj,
const char * set_name,
const pe_rule_eval_data_t * rule_data,
GHashTable * hash,
const char * always_first,
gboolean overwrite,
crm_time_t * next_change )
Deprecated
Use pcmk_unpack_nvpair_blocks() instead

Definition at line 79 of file rules_compat.c.

◆ pe_unpack_nvpairs()

void pe_unpack_nvpairs ( xmlNode * top,
const xmlNode * xml_obj,
const char * set_name,
GHashTable * node_hash,
GHashTable * hash,
const char * always_first,
gboolean overwrite,
crm_time_t * now,
crm_time_t * next_change )
Deprecated
Use pcmk_unpack_nvpair_blocks() instead

Definition at line 103 of file rules_compat.c.

◆ test_rule()

gboolean test_rule ( xmlNode * rule,
GHashTable * node_hash,
enum rsc_role_e role,
crm_time_t * now )
Deprecated
Use pcmk_evaluate_rule() instead

Definition at line 33 of file rules_compat.c.