pacemaker
2.1.4-dc6eb4362
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>
#include <stdbool.h>
#include <stddef.h>
#include <stdint.h>
#include <crm/cib/internal.h>
#include <crm/common/output.h>
#include <crm/common/results.h>
#include <crm/fencing/internal.h>
#include <crm/stonith-ng.h>
#include <pacemaker.h>
#include <pacemaker-internal.h>
Go to the source code of this file.
Functions | |
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) |
int | pcmk_status (xmlNodePtr *xml) |
Output the current status of the cluster, formatted in the same way that crm_mon --output-as=xml would. More... | |
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) |
int | pcmk__output_simple_status (pcmk__output_t *out, 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 at line 139 of file pcmk_status.c.
int pcmk__output_simple_status | ( | pcmk__output_t * | out, |
pe_working_set_t * | data_set | ||
) |
Definition at line 296 of file pcmk_status.c.
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 at line 239 of file pcmk_status.c.
int pcmk_status | ( | xmlNodePtr * | xml | ) |
Output the current status of the cluster, formatted in the same way that crm_mon --output-as=xml
would.
[in,out] | xml | The destination for the result, as an XML tree. |
Definition at line 206 of file pcmk_status.c.