pacemaker  2.1.4-dc6eb4362
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", "gboolean")
 
 PCMK__OUTPUT_ARGS ("failed-action-list", "pe_working_set_t *", "GList *", "GList *", "uint32_t", "gboolean")
 
 PCMK__OUTPUT_ARGS ("node", "pe_node_t *", "uint32_t", "gboolean", "GList *", "GList *")
 
 PCMK__OUTPUT_ARGS ("node-attribute-list", "pe_working_set_t *", "uint32_t", "gboolean", "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", "gboolean")
 
 PCMK__OUTPUT_ARGS ("resource-list", "pe_working_set_t *", "uint32_t", "gboolean", "GList *", "GList *", "gboolean")
 
 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)
 
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", "#", NULL }
#define PCMK__LAST_FAILURE_PREFIX
Definition: internal.h:359
#define PCMK__FAIL_COUNT_PREFIX
Definition: internal.h:358

Definition at line 19 of file pe_output.c.

Function Documentation

◆ PCMK__OUTPUT_ARGS() [1/8]

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

Definition at line 605 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [2/8]

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

Definition at line 1349 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [3/8]

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

Definition at line 1444 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [4/8]

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

Definition at line 1926 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [5/8]

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

Definition at line 2025 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [6/8]

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

Definition at line 2267 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [7/8]

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

Definition at line 2555 of file pe_output.c.

◆ PCMK__OUTPUT_ARGS() [8/8]

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

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

◆ pe__register_messages()

void pe__register_messages ( pcmk__output_t out)

Definition at line 2923 of file pe_output.c.