pacemaker  2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
pcmki_status.h
Go to the documentation of this file.
1 /*
2  * Copyright 2022 the Pacemaker project contributors
3  *
4  * The version control history for this file may have further details.
5  *
6  * This source code is licensed under the GNU Lesser General Public License
7  * version 2.1 or later (LGPLv2.1+) WITHOUT ANY WARRANTY.
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>
18 #include <pcmki/pcmki_fence.h>
19 
20 #ifdef __cplusplus
21 extern "C" {
22 #endif
23 
40 
42  xmlNode *current_cib, enum pcmk__fence_history fence_history,
43  uint32_t show, uint32_t show_opts, char *only_node,
44  char *only_rsc, char *neg_location_prefix,
45  bool simple_output);
46 
47 int pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history,
48  uint32_t show, uint32_t show_opts, char *only_node, char *only_rsc,
49  char *neg_location_prefix, bool simple_output);
50 
51 #ifdef __cplusplus
52 }
53 #endif
54 
55 #endif
int pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history, uint32_t show, uint32_t show_opts, char *only_node, char *only_rsc, char *neg_location_prefix, bool simple_output)
Definition: pcmk_status.c:239
pcmk__fence_history
Control how much of the fencing history is output.
Definition: pcmki_fence.h:18
Data types for Cluster Information Base access.
int pcmk__output_simple_status(pcmk__output_t *out, pe_working_set_t *data_set)
Definition: pcmk_status.c:296
Formatted output for pacemaker tools.
stonith_t * st
Definition: pcmk_fence.c:27
pe_working_set_t * data_set
int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *st, cib_t *cib, xmlNode *current_cib, enum pcmk__fence_history fence_history, uint32_t show, uint32_t show_opts, char *only_node, char *only_rsc, char *neg_location_prefix, bool simple_output)
Definition: pcmk_status.c:139
This structure contains everything that makes up a single output formatter.
Data types for cluster status.