10 #ifndef PE_STATUS_PRIVATE__H 11 # define PE_STATUS_PRIVATE__H 18 # define status_printw(fmt, args...) printw(fmt, ##args) 20 # define status_printw(fmt, args...) \ 21 crm_err("printw support requires ncurses to be available during configure"); \ 22 do_crm_log(LOG_WARNING, fmt, ##args); 25 # define status_print(fmt, args...) \ 26 if(options & pe_print_html) { \ 27 FILE *stream = print_data; \ 28 fprintf(stream, fmt, ##args); \ 29 } else if(options & pe_print_ncurses) { \ 30 status_printw(fmt, ##args); \ 31 } else if(options & pe_print_printf) { \ 32 FILE *stream = print_data; \ 33 fprintf(stream, fmt, ##args); \ 34 } else if(options & pe_print_xml) { \ 35 FILE *stream = print_data; \ 36 fprintf(stream, fmt, ##args); \ 37 } else if(options & pe_print_log) { \ 38 int log_level = *(int*)print_data; \ 39 do_crm_log(log_level, fmt, ##args); \ 68 #endif // PE_STATUS_PRIVATE__H G_GNUC_INTERNAL gboolean unpack_remote_nodes(xmlNode *xml_resources, pe_working_set_t *data_set)
G_GNUC_INTERNAL gboolean unpack_status(xmlNode *status, pe_working_set_t *data_set)
G_GNUC_INTERNAL pe_resource_t * pe__create_clone_child(pe_resource_t *rsc, 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)
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_config(xmlNode *config, pe_working_set_t *data_set)