pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Macros | Functions
pe_output.c File Reference
#include <crm_internal.h>
#include <crm/common/iso8601_internal.h>
#include <crm/common/xml_internal.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

 PCMK__OUTPUT_ARGS ("cluster-summary","pe_working_set_t *","gboolean","gboolean","gboolean","gboolean","gboolean","gboolean")
 
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,...)
 
int pe__ban_text (pcmk__output_t *out, va_list args)
 
 PCMK__OUTPUT_ARGS ("ban-list","pe_working_set_t *","const char *","GList *","gboolean","gboolean")
 
int pe__cluster_counts_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_dc_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_maint_mode_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_options_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_stack_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_times_text (pcmk__output_t *out, va_list args)
 
int pe__failed_action_text (pcmk__output_t *out, va_list args)
 
 PCMK__OUTPUT_ARGS ("failed-action-list","pe_working_set_t *","GList *","GList *","gboolean")
 
 PCMK__OUTPUT_ARGS ("node","pe_node_t *","unsigned int","gboolean","const char *","gboolean","gboolean","gboolean","GList *","GList *")
 
int pe__node_attribute_text (pcmk__output_t *out, va_list args)
 
 PCMK__OUTPUT_ARGS ("node-attribute-list","pe_working_set_t *","unsigned int","gboolean","gboolean","gboolean","gboolean","GList *","GList *")
 
 PCMK__OUTPUT_ARGS ("node-history-list","pe_working_set_t *","pe_node_t *","xmlNodePtr","GList *","GList *","gboolean","unsigned int","gboolean","gboolean","gboolean","gboolean")
 
int pe__node_list_text (pcmk__output_t *out, va_list args)
 
 PCMK__OUTPUT_ARGS ("node-summary","pe_working_set_t *","GList *","GList *","gboolean","unsigned int","gboolean","gboolean","gboolean","gboolean","gboolean")
 
int pe__op_history_text (pcmk__output_t *out, va_list args)
 
int pe__resource_history_text (pcmk__output_t *out, va_list args)
 
 PCMK__OUTPUT_ARGS ("resource-list","pe_working_set_t *","unsigned int","gboolean","gboolean","gboolean","gboolean","GList *","GList *","gboolean")
 
 PCMK__OUTPUT_ARGS ("resource-operation-list","pe_working_set_t *","pe_resource_t *","pe_node_t *","GList *","gboolean")
 
int pe__ticket_text (pcmk__output_t *out, va_list args)
 
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

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

Definition at line 18 of file pe_output.c.

Function Documentation

PCMK__OUTPUT_ARGS ( "cluster-summary ,
"pe_working_set_t *"  ,
"gboolean"  ,
"gboolean"  ,
"gboolean"  ,
"gboolean"  ,
"gboolean"  ,
"gboolean"   
)

Definition at line 361 of file pe_output.c.

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

Definition at line 659 of file pe_output.c.

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

Definition at line 1235 of file pe_output.c.

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

Definition at line 1281 of file pe_output.c.

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

Definition at line 1687 of file pe_output.c.

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

Definition at line 1791 of file pe_output.c.

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

Definition at line 2084 of file pe_output.c.

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

Definition at line 2382 of file pe_output.c.

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

Definition at line 2491 of file pe_output.c.

int pe__ban_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 616 of file pe_output.c.

int pe__cluster_counts_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 763 of file pe_output.c.

int pe__cluster_dc_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 861 of file pe_output.c.

int pe__cluster_maint_mode_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 905 of file pe_output.c.

int pe__cluster_options_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 992 of file pe_output.c.

int pe__cluster_stack_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1081 of file pe_output.c.

int pe__cluster_times_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1147 of file pe_output.c.

int pe__failed_action_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1164 of file pe_output.c.

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

Definition at line 552 of file pe_output.c.

int pe__node_attribute_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1494 of file pe_output.c.

char* pe__node_display_name ( pe_node_t node,
bool  print_detail 
)

Definition at line 500 of file pe_output.c.

int pe__node_list_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1920 of file pe_output.c.

int pe__op_history_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 2181 of file pe_output.c.

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

Definition at line 2772 of file pe_output.c.

void pe__register_messages ( pcmk__output_t out)

Definition at line 2767 of file pe_output.c.

int pe__resource_history_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 2304 of file pe_output.c.

int pe__ticket_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 2606 of file pe_output.c.