pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
Macros | Functions
pe_output.c File Reference
#include <crm_internal.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 *", "unsigned int", "gboolean")
 
 PCMK__OUTPUT_ARGS ("failed-action-list", "pe_working_set_t *", "GList *", "GList *", "unsigned int", "gboolean")
 
 PCMK__OUTPUT_ARGS ("node", "pe_node_t *", "unsigned int", "gboolean", "const char *", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-attribute-list", "pe_working_set_t *", "unsigned int", "gboolean", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-history-list", "pe_working_set_t *", "pe_node_t *", "xmlNodePtr", "GList *", "GList *", "unsigned int", "unsigned int")
 
 PCMK__OUTPUT_ARGS ("node-summary", "pe_working_set_t *", "GList *", "GList *", "unsigned int", "unsigned int", "gboolean")
 
 PCMK__OUTPUT_ARGS ("op-history", "xmlNodePtr", "const char *", "const char *", "int", "unsigned int")
 
 PCMK__OUTPUT_ARGS ("resource-list", "pe_working_set_t *", "unsigned int", "gboolean", "GList *", "GList *", "gboolean")
 
 PCMK__OUTPUT_ARGS ("resource-operation-list", "pe_working_set_t *", "pe_resource_t *", "pe_node_t *", "GList *", "unsigned int")
 
void pe__register_messages (pcmk__output_t *out)
 
void pe__output_node (pe_node_t *node, gboolean details, pcmk__output_t *out)
 

Macro Definition Documentation

◆ FILTER_STR

#define FILTER_STR
Value:
"shutdown", "terminate", "standby", "probe_complete", \
"#", NULL }
#define PCMK__LAST_FAILURE_PREFIX
Definition: internal.h:314
#define PCMK__FAIL_COUNT_PREFIX
Definition: internal.h:313

Definition at line 18 of file pe_output.c.

Function Documentation

◆ PCMK__OUTPUT_ARGS() [1/9]

PCMK__OUTPUT_ARGS ( "ban-list"  ,
"pe_working_set_t *"  ,
"const char *"  ,
"GList *"  ,
"unsigned int"  ,
"gboolean"   
)

Definition at line 605 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [2/9]

PCMK__OUTPUT_ARGS ( "failed-action-list"  ,
"pe_working_set_t *"  ,
"GList *"  ,
"GList *"  ,
"unsigned int"  ,
"gboolean"   
)

Definition at line 1344 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [3/9]

PCMK__OUTPUT_ARGS ( "node"  ,
"pe_node_t *"  ,
"unsigned int"  ,
"gboolean"  ,
"const char *"  ,
"GList *"  ,
"GList *"   
)

Definition at line 1414 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [4/9]

PCMK__OUTPUT_ARGS ( "node-attribute-list"  ,
"pe_working_set_t *"  ,
"unsigned int"  ,
"gboolean"  ,
"GList *"  ,
"GList *"   
)

Definition at line 1821 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [5/9]

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

Definition at line 1920 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [6/9]

PCMK__OUTPUT_ARGS ( "node-summary"  ,
"pe_working_set_t *"  ,
"GList *"  ,
"GList *"  ,
"unsigned int"  ,
"unsigned int"  ,
"gboolean"   
)

Definition at line 2193 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [7/9]

PCMK__OUTPUT_ARGS ( "op-history"  ,
"xmlNodePtr"  ,
"const char *"  ,
"const char *"  ,
"int"  ,
"unsigned int"   
)

Definition at line 2277 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [8/9]

PCMK__OUTPUT_ARGS ( "resource-list"  ,
"pe_working_set_t *"  ,
"unsigned int"  ,
"gboolean"  ,
"GList *"  ,
"GList *"  ,
"gboolean"   
)

Definition at line 2482 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 *"  ,
"unsigned int"   
)

Definition at line 2589 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 496 of file pe_output.c.

◆ pe__node_display_name()

char* pe__node_display_name ( pe_node_t node,
bool  print_detail 
)

Definition at line 444 of file pe_output.c.

◆ pe__output_node()

void pe__output_node ( pe_node_t node,
gboolean  details,
pcmk__output_t out 
)

Definition at line 2855 of file pe_output.c.

◆ pe__register_messages()

void pe__register_messages ( pcmk__output_t out)

Definition at line 2850 of file pe_output.c.