10 #ifndef PE_STATUS_PRIVATE__H
11 # define PE_STATUS_PRIVATE__H
17 # define status_print(fmt, args...) \
18 if(options & pe_print_html) { \
19 FILE *stream = print_data; \
20 fprintf(stream, fmt, ##args); \
21 } else if(options & pe_print_printf || options & pe_print_ncurses) { \
22 FILE *stream = print_data; \
23 fprintf(stream, fmt, ##args); \
24 } else if(options & pe_print_xml) { \
25 FILE *stream = print_data; \
26 fprintf(stream, fmt, ##args); \
27 } else if(options & pe_print_log) { \
28 int log_level = *(int*)print_data; \
29 do_crm_log(log_level, fmt, ##args); \
64 #endif // PE_STATUS_PRIVATE__H
G_GNUC_INTERNAL gboolean unpack_remote_nodes(xmlNode *xml_resources, pe_working_set_t *data_set)
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_status(xmlNode *status, 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_nodes(xmlNode *xml_nodes, pe_working_set_t *data_set)
G_GNUC_INTERNAL gboolean unpack_resources(xmlNode *xml_resources, pe_working_set_t *data_set)
pe_resource_t * pe__create_clone_child(pe_resource_t *rsc, pe_working_set_t *data_set)
op_digest_cache_t * pe__compare_fencing_digest(pe_resource_t *rsc, const char *agent, pe_node_t *node, pe_working_set_t *data_set)
G_GNUC_INTERNAL gboolean unpack_config(xmlNode *config, pe_working_set_t *data_set)