pacemaker  2.1.5-b7adf64e51
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/cib/util.h>
#include <crm/msg_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
 

Functions

char * pe__node_display_name (pe_node_t *node, bool print_detail)
 
int pe__name_and_nvpairs_xml (pcmk__output_t *out, bool is_list, const char *tag_name, size_t pairs_count,...)
 
 PCMK__OUTPUT_ARGS ("ban-list", "pe_working_set_t *", "const char *", "GList *", "uint32_t", "bool")
 
 PCMK__OUTPUT_ARGS ("cluster-dc", "pe_node_t *", "const char *", "const char *", "char *", "int")
 
 PCMK__OUTPUT_ARGS ("failed-action-list", "pe_working_set_t *", "GList *", "GList *", "uint32_t", "bool")
 
 PCMK__OUTPUT_ARGS ("node", "pe_node_t *", "uint32_t", "bool", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-attribute-list", "pe_working_set_t *", "uint32_t", "bool", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-history-list", "pe_working_set_t *", "pe_node_t *", "xmlNodePtr", "GList *", "GList *", "uint32_t", "uint32_t")
 
 PCMK__OUTPUT_ARGS ("node-summary", "pe_working_set_t *", "GList *", "GList *", "uint32_t", "uint32_t", "bool")
 
 PCMK__OUTPUT_ARGS ("resource-list", "pe_working_set_t *", "uint32_t", "bool", "GList *", "GList *", "bool")
 
 PCMK__OUTPUT_ARGS ("resource-operation-list", "pe_working_set_t *", "pe_resource_t *", "pe_node_t *", "GList *", "uint32_t")
 
void pe__register_messages (pcmk__output_t *out)
 

Macro Definition Documentation

◆ FILTER_STR

#define FILTER_STR
Value:
"shutdown", "terminate", "standby", "#", NULL }
#define PCMK__LAST_FAILURE_PREFIX
Definition: internal.h:312
#define PCMK__FAIL_COUNT_PREFIX
Definition: internal.h:311

Definition at line 19 of file pe_output.c.

Function Documentation

◆ PCMK__OUTPUT_ARGS() [1/9]

PCMK__OUTPUT_ARGS ( "ban-list"  ,
"pe_working_set_t *"  ,
"const char *"  ,
"GList *"  ,
"uint32_t"  ,
"bool"   
)

Definition at line 653 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [2/9]

PCMK__OUTPUT_ARGS ( "cluster-dc"  ,
"pe_node_t *"  ,
"const char *"  ,
"const char *"  ,
"char *"  ,
"int"   
)

Definition at line 819 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [3/9]

PCMK__OUTPUT_ARGS ( "failed-action-list"  ,
"pe_working_set_t *"  ,
"GList *"  ,
"GList *"  ,
"uint32_t"  ,
"bool"   
)

Definition at line 1409 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [4/9]

PCMK__OUTPUT_ARGS ( "node"  ,
"pe_node_t *"  ,
"uint32_t"  ,
"bool"  ,
"GList *"  ,
"GList *"   
)

Definition at line 1514 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [5/9]

PCMK__OUTPUT_ARGS ( "node-attribute-list"  ,
"pe_working_set_t *"  ,
"uint32_t"  ,
"bool"  ,
"GList *"  ,
"GList *"   
)

Definition at line 2004 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [6/9]

PCMK__OUTPUT_ARGS ( "node-history-list"  ,
"pe_working_set_t *"  ,
"pe_node_t *"  ,
"xmlNodePtr"  ,
"GList *"  ,
"GList *"  ,
"uint32_t"  ,
"uint32_t"   
)

Definition at line 2103 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [7/9]

PCMK__OUTPUT_ARGS ( "node-summary"  ,
"pe_working_set_t *"  ,
"GList *"  ,
"GList *"  ,
"uint32_t"  ,
"uint32_t"  ,
"bool"   
)

Definition at line 2345 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [8/9]

PCMK__OUTPUT_ARGS ( "resource-list"  ,
"pe_working_set_t *"  ,
"uint32_t"  ,
"bool"  ,
"GList *"  ,
"GList *"  ,
"bool"   
)

Definition at line 2641 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [9/9]

PCMK__OUTPUT_ARGS ( "resource-operation-list"  ,
"pe_working_set_t *"  ,
"pe_resource_t *"  ,
"pe_node_t *"  ,
"GList *"  ,
"uint32_t"   
)

Definition at line 2748 of file pe_output.c.

◆ pe__name_and_nvpairs_xml()

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

Definition at line 544 of file pe_output.c.

◆ pe__node_display_name()

char* pe__node_display_name ( pe_node_t node,
bool  print_detail 
)

Definition at line 491 of file pe_output.c.

◆ pe__register_messages()

void pe__register_messages ( pcmk__output_t out)

Definition at line 3010 of file pe_output.c.