1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRM_PENGINE_RULES__H
11 # define PCMK__CRM_PENGINE_RULES__H
12
13 # include <glib.h>
14 # include <crm/crm.h>
15 # include <crm/common/iso8601.h>
16 # include <crm/common/scheduler.h>
17 # include <crm/pengine/common.h>
18
19 #ifdef __cplusplus
20 extern "C" {
21 #endif
22
23 void pe_eval_nvpairs(xmlNode *top, const xmlNode *xml_obj, const char *set_name,
24 const pe_rule_eval_data_t *rule_data, GHashTable *hash,
25 const char *always_first, gboolean overwrite,
26 crm_time_t *next_change);
27
28 void pe_unpack_nvpairs(xmlNode *top, const xmlNode *xml_obj,
29 const char *set_name, GHashTable *node_hash,
30 GHashTable *hash, const char *always_first,
31 gboolean overwrite, crm_time_t *now,
32 crm_time_t *next_change);
33
34 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)
35 #include <crm/pengine/rules_compat.h>
36 #endif
37
38 #ifdef __cplusplus
39 }
40 #endif
41
42 #endif