pacemaker  2.1.9-49aab99839
Scalable High-Availability cluster resource manager
Functions
pcmk_status.c File Reference
#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/pengine/internal.h>
#include <crm/stonith-ng.h>
#include <pacemaker.h>
#include <pacemaker-internal.h>
Include dependency graph for pcmk_status.c:

Go to the source code of this file.

Functions

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)
 
int pcmk_status (xmlNodePtr *xml)
 Output cluster status formatted like crm_mon --output-as=xml More...
 
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 pcmk_scheduler_t *scheduler)
 

Function Documentation

◆ pcmk__output_cluster_status()

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 at line 72 of file pcmk_status.c.

◆ pcmk__output_simple_status()

int pcmk__output_simple_status ( pcmk__output_t out,
const pcmk_scheduler_t scheduler 
)

Definition at line 305 of file pcmk_status.c.

◆ pcmk__status()

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 
)

Definition at line 224 of file pcmk_status.c.

◆ pcmk_status()

int pcmk_status ( xmlNodePtr *  xml)

Output cluster status formatted like crm_mon --output-as=xml

Parameters
[in,out]xmlThe destination for the result, as an XML tree
Returns
Standard Pacemaker return code

Definition at line 154 of file pcmk_status.c.