1
2
3
4
5
6
7
8
9 #ifndef PCMK__PCMKI_PCMKI_STATUS__H
10 #define PCMK__PCMKI_PCMKI_STATUS__H
11
12 #include <stdbool.h>
13 #include <stdint.h>
14
15 #include <crm/cib/cib_types.h>
16 #include <crm/pengine/pe_types.h>
17 #include <crm/common/output_internal.h>
18 #include <pcmki/pcmki_fence.h>
19
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39 int pcmk__output_simple_status(pcmk__output_t *out, pe_working_set_t *data_set);
40
41 int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith,
42 cib_t *cib, xmlNode *current_cib,
43 enum pcmk__fence_history fence_history,
44 uint32_t show, uint32_t show_opts,
45 const char *only_node, const char *only_rsc,
46 const char *neg_location_prefix,
47 bool simple_output);
48
49 int pcmk__status(pcmk__output_t *out, cib_t *cib,
50 enum pcmk__fence_history fence_history, uint32_t show,
51 uint32_t show_opts, const char *only_node,
52 const char *only_rsc, const char *neg_location_prefix,
53 bool simple_output, guint timeout_ms);
54
55 #ifdef __cplusplus
56 }
57 #endif
58
59 #endif