pacemaker  2.0.4-2deceaa3ae
Scalable High-Availability cluster resource manager
Macros | Functions
pe_status_private.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Macros

#define status_printw(fmt, args...)
 
#define status_print(fmt, args...)
 

Functions

G_GNUC_INTERNAL pe_resource_tpe__create_clone_child (pe_resource_t *rsc, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL void pe__force_anon (const char *standard, pe_resource_t *rsc, const char *rid, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL gboolean unpack_remote_nodes (xmlNode *xml_resources, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL gboolean unpack_resources (xmlNode *xml_resources, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL gboolean unpack_config (xmlNode *config, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL gboolean unpack_nodes (xmlNode *xml_nodes, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL gboolean unpack_tags (xmlNode *xml_tags, pe_working_set_t *data_set)
 
G_GNUC_INTERNAL gboolean unpack_status (xmlNode *status, pe_working_set_t *data_set)
 

Macro Definition Documentation

◆ status_print

#define status_print (   fmt,
  args... 
)
Value:
if(options & pe_print_html) { \
FILE *stream = print_data; \
fprintf(stream, fmt, ##args); \
} else if(options & pe_print_ncurses) { \
status_printw(fmt, ##args); \
} else if(options & pe_print_printf) { \
FILE *stream = print_data; \
fprintf(stream, fmt, ##args); \
} else if(options & pe_print_xml) { \
FILE *stream = print_data; \
fprintf(stream, fmt, ##args); \
} else if(options & pe_print_log) { \
int log_level = *(int*)print_data; \
do_crm_log(log_level, fmt, ##args); \
}

Definition at line 26 of file pe_status_private.h.

◆ status_printw

#define status_printw (   fmt,
  args... 
)
Value:
crm_err("printw support requires ncurses to be available during configure"); \
do_crm_log(LOG_WARNING, fmt, ##args);

Definition at line 21 of file pe_status_private.h.

Function Documentation

◆ pe__create_clone_child()

G_GNUC_INTERNAL pe_resource_t* pe__create_clone_child ( pe_resource_t rsc,
pe_working_set_t data_set 
)

Definition at line 59 of file clone.c.

◆ pe__force_anon()

G_GNUC_INTERNAL void pe__force_anon ( const char *  standard,
pe_resource_t rsc,
const char *  rid,
pe_working_set_t data_set 
)

Definition at line 22 of file clone.c.

◆ unpack_config()

G_GNUC_INTERNAL gboolean unpack_config ( xmlNode *  config,
pe_working_set_t data_set 
)

Definition at line 188 of file unpack.c.

◆ unpack_nodes()

G_GNUC_INTERNAL gboolean unpack_nodes ( xmlNode *  xml_nodes,
pe_working_set_t data_set 
)

Definition at line 518 of file unpack.c.

◆ unpack_remote_nodes()

G_GNUC_INTERNAL gboolean unpack_remote_nodes ( xmlNode *  xml_resources,
pe_working_set_t data_set 
)

Definition at line 608 of file unpack.c.

◆ unpack_resources()

G_GNUC_INTERNAL gboolean unpack_resources ( xmlNode *  xml_resources,
pe_working_set_t data_set 
)

Definition at line 745 of file unpack.c.

◆ unpack_status()

G_GNUC_INTERNAL gboolean unpack_status ( xmlNode *  status,
pe_working_set_t data_set 
)

Definition at line 1100 of file unpack.c.

◆ unpack_tags()

G_GNUC_INTERNAL gboolean unpack_tags ( xmlNode *  xml_tags,
pe_working_set_t data_set 
)

Definition at line 808 of file unpack.c.

pe_print_log
@ pe_print_log
Definition: common.h:105
pe_print_xml
@ pe_print_xml
Definition: common.h:115
crm_err
#define crm_err(fmt, args...)
Definition: logging.h:363
pe_print_ncurses
@ pe_print_ncurses
Definition: common.h:107
pe_print_html
@ pe_print_html
Definition: common.h:106
pe_print_printf
@ pe_print_printf
Definition: common.h:108