pacemaker  2.0.4-2deceaa
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/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 SUMMARY_HEADER(rc, out)
 

Functions

 PCMK__OUTPUT_ARGS ("cluster-summary","struct 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_html (pcmk__output_t *out, va_list args)
 
int pe__ban_text (pcmk__output_t *out, va_list args)
 
int pe__ban_xml (pcmk__output_t *out, va_list args)
 
int pe__cluster_counts_html (pcmk__output_t *out, va_list args)
 
int pe__cluster_counts_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_counts_xml (pcmk__output_t *out, va_list args)
 
int pe__cluster_dc_html (pcmk__output_t *out, va_list args)
 
int pe__cluster_dc_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_dc_xml (pcmk__output_t *out, va_list args)
 
int pe__cluster_maint_mode_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_options_html (pcmk__output_t *out, va_list args)
 
int pe__cluster_options_log (pcmk__output_t *out, va_list args)
 
int pe__cluster_options_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_options_xml (pcmk__output_t *out, va_list args)
 
int pe__cluster_stack_html (pcmk__output_t *out, va_list args)
 
int pe__cluster_stack_text (pcmk__output_t *out, va_list args)
 
int pe__cluster_stack_xml (pcmk__output_t *out, va_list args)
 
int pe__cluster_times_html (pcmk__output_t *out, va_list args)
 
int pe__cluster_times_xml (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)
 
int pe__failed_action_xml (pcmk__output_t *out, va_list args)
 
int pe__node_html (pcmk__output_t *out, va_list args)
 
int pe__node_text (pcmk__output_t *out, va_list args)
 
int pe__node_xml (pcmk__output_t *out, va_list args)
 
int pe__node_attribute_text (pcmk__output_t *out, va_list args)
 
int pe__node_attribute_html (pcmk__output_t *out, va_list args)
 
int pe__node_attribute_xml (pcmk__output_t *out, va_list args)
 
int pe__node_list_html (pcmk__output_t *out, va_list args)
 
int pe__node_list_text (pcmk__output_t *out, va_list args)
 
int pe__node_list_xml (pcmk__output_t *out, va_list args)
 
int pe__op_history_text (pcmk__output_t *out, va_list args)
 
int pe__op_history_xml (pcmk__output_t *out, va_list args)
 
int pe__resource_history_text (pcmk__output_t *out, va_list args)
 
int pe__resource_history_xml (pcmk__output_t *out, va_list args)
 
int pe__ticket_html (pcmk__output_t *out, va_list args)
 
int pe__ticket_text (pcmk__output_t *out, va_list args)
 
int pe__ticket_xml (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 SUMMARY_HEADER (   rc,
  out 
)
Value:
do { \
if (rc == pcmk_rc_no_output) { \
out->begin_list(out, NULL, NULL, "Cluster Summary"); \
} \
} while (0)
int rc
Definition: pcmk_fence.c:34

Definition at line 15 of file pe_output.c.

Function Documentation

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

Definition at line 214 of file pe_output.c.

int pe__ban_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 445 of file pe_output.c.

int pe__ban_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 465 of file pe_output.c.

int pe__ban_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 482 of file pe_output.c.

int pe__cluster_counts_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 503 of file pe_output.c.

int pe__cluster_counts_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 565 of file pe_output.c.

int pe__cluster_counts_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 599 of file pe_output.c.

int pe__cluster_dc_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 629 of file pe_output.c.

int pe__cluster_dc_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 663 of file pe_output.c.

int pe__cluster_dc_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 682 of file pe_output.c.

int pe__cluster_maint_mode_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 705 of file pe_output.c.

int pe__cluster_options_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 714 of file pe_output.c.

int pe__cluster_options_log ( pcmk__output_t out,
va_list  args 
)

Definition at line 757 of file pe_output.c.

int pe__cluster_options_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 770 of file pe_output.c.

int pe__cluster_options_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 802 of file pe_output.c.

int pe__cluster_stack_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 837 of file pe_output.c.

int pe__cluster_stack_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 849 of file pe_output.c.

int pe__cluster_stack_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 857 of file pe_output.c.

int pe__cluster_times_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 868 of file pe_output.c.

int pe__cluster_times_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 913 of file pe_output.c.

int pe__cluster_times_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 892 of file pe_output.c.

int pe__failed_action_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 930 of file pe_output.c.

int pe__failed_action_xml ( pcmk__output_t out,
va_list  args 
)

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

int pe__node_attribute_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 1214 of file pe_output.c.

int pe__node_attribute_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1188 of file pe_output.c.

int pe__node_attribute_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1244 of file pe_output.c.

char* pe__node_display_name ( pe_node_t node,
bool  print_detail 
)

Definition at line 361 of file pe_output.c.

int pe__node_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 1001 of file pe_output.c.

int pe__node_list_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 1265 of file pe_output.c.

int pe__node_list_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1300 of file pe_output.c.

int pe__node_list_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1439 of file pe_output.c.

int pe__node_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1063 of file pe_output.c.

int pe__node_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1120 of file pe_output.c.

int pe__op_history_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1465 of file pe_output.c.

int pe__op_history_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1482 of file pe_output.c.

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

Definition at line 1761 of file pe_output.c.

void pe__register_messages ( pcmk__output_t out)

Definition at line 1756 of file pe_output.c.

int pe__resource_history_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1547 of file pe_output.c.

int pe__resource_history_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1569 of file pe_output.c.

int pe__ticket_html ( pcmk__output_t out,
va_list  args 
)

Definition at line 1613 of file pe_output.c.

int pe__ticket_text ( pcmk__output_t out,
va_list  args 
)

Definition at line 1634 of file pe_output.c.

int pe__ticket_xml ( pcmk__output_t out,
va_list  args 
)

Definition at line 1655 of file pe_output.c.