1
2
3
4
5
6
7
8
9
10 #ifndef PCMK__CRM_COMMON_HEALTH_INTERNAL__H
11 #define PCMK__CRM_COMMON_HEALTH_INTERNAL__H
12
13 #ifdef __cplusplus
14 extern "C" {
15 #endif
16
17
18
19
20
21
22
23
24 enum pcmk__health_strategy {
25 pcmk__health_strategy_none,
26 pcmk__health_strategy_no_red,
27 pcmk__health_strategy_only_green,
28 pcmk__health_strategy_progressive,
29 pcmk__health_strategy_custom,
30 };
31
32 bool pcmk__validate_health_strategy(const char *value);
33
34 enum pcmk__health_strategy pcmk__parse_health_strategy(const char *value);
35
36 #ifdef __cplusplus
37 }
38 #endif
39
40 #endif