This source file includes following definitions.
- pcmk__check_rule
1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__PCMKI_PCMKI_RULE__H
11 #define PCMK__PCMKI_PCMKI_RULE__H
12
13 #include <crm/crm.h>
14 #include <crm/common/iso8601.h>
15 #include <crm/common/output_internal.h>
16
17 #ifdef __cplusplus
18 extern "C" {
19 #endif
20
21 int pcmk__check_rules(pcmk__output_t *out, xmlNodePtr input,
22 const crm_time_t *date_time, const char **rule_ids);
23
24
25
26
27
28
29
30
31
32
33
34
35
36 static inline int
37 pcmk__check_rule(pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date,
38 const char *rule_id)
39 {
40 const char *rule_ids[] = {rule_id, NULL};
41 return pcmk__check_rules(out, input, date, rule_ids);
42 }
43
44 #ifdef __cplusplus
45 }
46 #endif
47
48 #endif