pacemaker 2.1.6-6fdc9deea29
Scalable High-Availability cluster resource manager
Loading...
Searching...
No Matches
pcmki_status.h
Go to the documentation of this file.
1/*
2 * Copyright 2022-2023 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>
19#include <pcmki/pcmki_fence.h>
20
21#ifdef __cplusplus
22extern "C" {
23#endif
24
43
45 cib_t *cib, xmlNode *current_cib,
46 enum pcmk_pacemakerd_state pcmkd_state,
47 enum pcmk__fence_history fence_history,
48 uint32_t show, uint32_t show_opts,
49 const char *only_node, const char *only_rsc,
50 const char *neg_location_prefix,
51 bool simple_output);
52
53int pcmk__status(pcmk__output_t *out, cib_t *cib,
54 enum pcmk__fence_history fence_history, uint32_t show,
55 uint32_t show_opts, const char *only_node,
56 const char *only_rsc, const char *neg_location_prefix,
57 bool simple_output, unsigned int timeout_ms);
58
59#ifdef __cplusplus
60}
61#endif
62
63#endif
Data types for Cluster Information Base access.
IPC commands for Pacemakerd.
pcmk_pacemakerd_state
pe_working_set_t * data_set
Formatted output for pacemaker tools.
pcmk__fence_history
Control how much of the fencing history is output.
Definition pcmki_fence.h:18
int pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history, uint32_t show, uint32_t show_opts, const char *only_node, const char *only_rsc, const char *neg_location_prefix, bool simple_output, unsigned int timeout_ms)
int pcmk__output_simple_status(pcmk__output_t *out, const pe_working_set_t *data_set)
int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *stonith, cib_t *cib, xmlNode *current_cib, enum pcmk_pacemakerd_state pcmkd_state, enum pcmk__fence_history fence_history, uint32_t show, uint32_t show_opts, const char *only_node, const char *only_rsc, const char *neg_location_prefix, bool simple_output)
Definition pcmk_status.c:71
Data types for cluster status.
This structure contains everything that makes up a single output formatter.