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 int pcmk__check_rules(pcmk__output_t *out, xmlNodePtr input,
18 const crm_time_t *date_time, const char **rule_ids);
19
20
21
22
23
24
25
26
27
28
29
30
31
32 static inline int
33 pcmk__check_rule(pcmk__output_t *out, xmlNodePtr input, const crm_time_t *date,
34 const char *rule_id)
35 {
36 const char *rule_ids[] = {rule_id, NULL};
37 return pcmk__check_rules(out, input, date, rule_ids);
38 }
39
40 #endif