pacemaker  3.0.0-d8340737c4
Scalable High-Availability cluster resource manager
Macros | Functions
pe_output.c File Reference
#include <crm_internal.h>
#include <stdint.h>
#include <crm/common/xml_internal.h>
#include <crm/common/output.h>
#include <crm/common/scheduler_internal.h>
#include <crm/cib/util.h>
#include <crm/common/xml.h>
#include <crm/pengine/internal.h>
Include dependency graph for pe_output.c:

Go to the source code of this file.

Macros

#define FILTER_STR
 
#define XPATH_STACK
 
#define XPATH_DC_VERSION
 

Functions

const char * pe__resource_description (const pcmk_resource_t *rsc, uint32_t show_opts)
 
char * pe__node_display_name (pcmk_node_t *node, bool print_detail)
 
int pe__name_and_nvpairs_xml (pcmk__output_t *out, bool is_list, const char *tag_name,...)
 
void pe__register_messages (pcmk__output_t *out)
 

Macro Definition Documentation

◆ FILTER_STR

#define FILTER_STR
Value:
PCMK__NODE_ATTR_SHUTDOWN, PCMK_NODE_ATTR_TERMINATE, \
PCMK_NODE_ATTR_STANDBY, "#", NULL }
#define PCMK__LAST_FAILURE_PREFIX
Definition: internal.h:311
#define PCMK__FAIL_COUNT_PREFIX
Definition: internal.h:310
#define PCMK_NODE_ATTR_TERMINATE
Definition: nodes.h:33

Definition at line 34 of file pe_output.c.

◆ XPATH_DC_VERSION

#define XPATH_DC_VERSION
Value:
#define PCMK_XE_NVPAIR
Definition: xml_names.h:144
#define PCMK_XA_NAME
Definition: xml_names.h:330
#define PCMK_OPT_DC_VERSION
Definition: options.h:35

Definition at line 399 of file pe_output.c.

◆ XPATH_STACK

#define XPATH_STACK
Value:
"[@" PCMK_XA_NAME "='" \
PCMK_OPT_CLUSTER_INFRASTRUCTURE "']"
#define PCMK_XE_NVPAIR
Definition: xml_names.h:144
#define PCMK_XA_NAME
Definition: xml_names.h:330

Definition at line 196 of file pe_output.c.

Function Documentation

◆ pe__name_and_nvpairs_xml()

int pe__name_and_nvpairs_xml ( pcmk__output_t out,
bool  is_list,
const char *  tag_name,
  ... 
)

Definition at line 616 of file pe_output.c.

◆ pe__node_display_name()

char* pe__node_display_name ( pcmk_node_t node,
bool  print_detail 
)

Definition at line 559 of file pe_output.c.

◆ pe__register_messages()

void pe__register_messages ( pcmk__output_t out)

Definition at line 3470 of file pe_output.c.

◆ pe__resource_description()

const char* pe__resource_description ( const pcmk_resource_t rsc,
uint32_t  show_opts 
)

Definition at line 22 of file pe_output.c.