1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRM_COMMON_SCHEDULER_INTERNAL__H
11 # define PCMK__CRM_COMMON_SCHEDULER_INTERNAL__H
12
13 #include <crm/common/action_relation_internal.h>
14 #include <crm/common/clone_internal.h>
15 #include <crm/common/digests_internal.h>
16 #include <crm/common/failcounts_internal.h>
17 #include <crm/common/group_internal.h>
18 #include <crm/common/roles_internal.h>
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24
25
26
27
28
29 enum pcmk__sched_warnings {
30 pcmk__wo_blind = (1 << 0),
31 pcmk__wo_restart_type = (1 << 1),
32 pcmk__wo_role_after = (1 << 2),
33 pcmk__wo_poweroff = (1 << 3),
34 pcmk__wo_require_all = (1 << 4),
35 pcmk__wo_order_score = (1 << 5),
36 pcmk__wo_neg_threshold = (1 << 6),
37 pcmk__wo_remove_after = (1 << 7),
38 pcmk__wo_ping_node = (1 << 8),
39 pcmk__wo_order_inst = (1 << 9),
40 pcmk__wo_coloc_inst = (1 << 10),
41 pcmk__wo_group_order = (1 << 11),
42 pcmk__wo_group_coloc = (1 << 12),
43 pcmk__wo_upstart = (1 << 13),
44 pcmk__wo_nagios = (1 << 14),
45 pcmk__wo_set_ordering = (1 << 15),
46 };
47
48 enum pcmk__check_parameters {
49
50
51
52 pcmk__check_last_failure,
53
54
55
56
57 pcmk__check_active,
58 };
59
60
61 extern uint32_t pcmk__warnings;
62
63 #ifdef __cplusplus
64 }
65 #endif
66
67 #endif