out 62 daemons/fenced/pacemaker-fenced.c static pcmk__output_t *out = NULL; out 1696 daemons/fenced/pacemaker-fenced.c rc = pcmk__output_new(&out, "log", NULL, argv); out 1697 daemons/fenced/pacemaker-fenced.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 1703 daemons/fenced/pacemaker-fenced.c pe__register_messages(out); out 1704 daemons/fenced/pacemaker-fenced.c pcmk__register_lib_messages(out); out 1706 daemons/fenced/pacemaker-fenced.c pcmk__output_set_log_level(out, LOG_TRACE); out 1707 daemons/fenced/pacemaker-fenced.c fenced_data_set->priv = out; out 1720 daemons/fenced/pacemaker-fenced.c out->finish(out, CRM_EX_OK, true, NULL); out 1721 daemons/fenced/pacemaker-fenced.c pcmk__output_free(out); out 41 daemons/pacemakerd/pacemakerd.c static pcmk__output_t *out = NULL; out 52 daemons/pacemakerd/pacemakerd.c pacemakerd_features(pcmk__output_t *out, va_list args) { out 53 daemons/pacemakerd/pacemakerd.c out->info(out, "Pacemaker %s (Build: %s)\n Supporting v%s: %s", PACEMAKER_VERSION, out 60 daemons/pacemakerd/pacemakerd.c pacemakerd_features_xml(pcmk__output_t *out, va_list args) { out 63 daemons/pacemakerd/pacemakerd.c pcmk__output_xml_create_parent(out, "pacemakerd", out 68 daemons/pacemakerd/pacemakerd.c out->begin_list(out, NULL, NULL, "features"); out 71 daemons/pacemakerd/pacemakerd.c pcmk__output_create_xml_text_node(out, "feature", *s); out 74 daemons/pacemakerd/pacemakerd.c out->end_list(out); out 227 daemons/pacemakerd/pacemakerd.c out->err(out, "Bad reply from pacemakerd: %s", crm_exit_str(status)); out 232 daemons/pacemakerd/pacemakerd.c out->err(out, "Unknown reply type %d from pacemakerd", out 278 daemons/pacemakerd/pacemakerd.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 279 daemons/pacemakerd/pacemakerd.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 288 daemons/pacemakerd/pacemakerd.c pcmk__register_messages(out, fmt_functions); out 291 daemons/pacemakerd/pacemakerd.c out->message(out, "features"); out 297 daemons/pacemakerd/pacemakerd.c out->version(out, false); out 313 daemons/pacemakerd/pacemakerd.c out->err(out, "Could not check for existing pacemakerd: %s", pcmk_rc_str(rc)); out 330 daemons/pacemakerd/pacemakerd.c out->err(out, "Could not request shutdown " out 347 daemons/pacemakerd/pacemakerd.c if (out != NULL) { out 348 daemons/pacemakerd/pacemakerd.c out->finish(out, exit_code, true, NULL); out 349 daemons/pacemakerd/pacemakerd.c pcmk__output_free(out); out 350 daemons/pacemakerd/pacemakerd.c out = NULL; out 438 daemons/pacemakerd/pacemakerd.c pcmk__output_and_clear_error(error, out); out 440 daemons/pacemakerd/pacemakerd.c if (out != NULL) { out 441 daemons/pacemakerd/pacemakerd.c out->finish(out, exit_code, true, NULL); out 442 daemons/pacemakerd/pacemakerd.c pcmk__output_free(out); out 34 daemons/schedulerd/pacemaker-schedulerd.c pcmk__output_t *out = NULL; out 86 daemons/schedulerd/pacemaker-schedulerd.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 87 daemons/schedulerd/pacemaker-schedulerd.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 94 daemons/schedulerd/pacemaker-schedulerd.c pe__register_messages(out); out 95 daemons/schedulerd/pacemaker-schedulerd.c pcmk__register_lib_messages(out); out 100 daemons/schedulerd/pacemaker-schedulerd.c pe_metadata(out); out 111 daemons/schedulerd/pacemaker-schedulerd.c out->version(out, false); out 153 daemons/schedulerd/pacemaker-schedulerd.c pcmk__output_and_clear_error(error, out); out 172 daemons/schedulerd/pacemaker-schedulerd.c if (out != NULL) { out 173 daemons/schedulerd/pacemaker-schedulerd.c out->finish(out, exit_code, true, NULL); out 174 daemons/schedulerd/pacemaker-schedulerd.c pcmk__output_free(out); out 175 daemons/schedulerd/pacemaker-schedulerd.c out = NULL; out 17 daemons/schedulerd/pacemaker-schedulerd.h extern pcmk__output_t *out; out 224 include/crm/cib/internal.h void cib__set_output(cib_t *cib, pcmk__output_t *out); out 244 include/crm/cib/internal.h int cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, out 250 include/crm/cib/internal.h int cib__read_node_attr(pcmk__output_t *out, cib_t *cib, const char *section, out 255 include/crm/cib/internal.h int cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, out 67 include/crm/common/output_internal.h typedef int (*pcmk__message_fn_t)(pcmk__output_t *out, va_list args); out 234 include/crm/common/output_internal.h bool (*init) (pcmk__output_t *out); out 245 include/crm/common/output_internal.h void (*free_priv) (pcmk__output_t *out); out 281 include/crm/common/output_internal.h void (*finish) (pcmk__output_t *out, crm_exit_t exit_status, bool print, out 299 include/crm/common/output_internal.h void (*reset) (pcmk__output_t *out); out 312 include/crm/common/output_internal.h void (*register_message) (pcmk__output_t *out, const char *message_id, out 330 include/crm/common/output_internal.h int (*message) (pcmk__output_t *out, const char *message_id, ...); out 341 include/crm/common/output_internal.h void (*subprocess_output) (pcmk__output_t *out, int exit_status, out 352 include/crm/common/output_internal.h void (*version) (pcmk__output_t *out, bool extended); out 371 include/crm/common/output_internal.h int (*info) (pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 385 include/crm/common/output_internal.h void (*err) (pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 395 include/crm/common/output_internal.h void (*output_xml) (pcmk__output_t *out, const char *name, const char *buf); out 416 include/crm/common/output_internal.h void (*begin_list) (pcmk__output_t *out, const char *singular_noun, out 429 include/crm/common/output_internal.h void (*list_item) (pcmk__output_t *out, const char *name, const char *format, ...) out 444 include/crm/common/output_internal.h void (*increment_list) (pcmk__output_t *out); out 456 include/crm/common/output_internal.h void (*end_list) (pcmk__output_t *out); out 469 include/crm/common/output_internal.h bool (*is_quiet) (pcmk__output_t *out); out 477 include/crm/common/output_internal.h void (*spacer) (pcmk__output_t *out); out 489 include/crm/common/output_internal.h void (*progress) (pcmk__output_t *out, bool end); out 523 include/crm/common/output_internal.h pcmk__call_message(pcmk__output_t *out, const char *message_id, ...); out 537 include/crm/common/output_internal.h void pcmk__output_free(pcmk__output_t *out); out 553 include/crm/common/output_internal.h int pcmk__output_new(pcmk__output_t **out, const char *fmt_name, out 610 include/crm/common/output_internal.h pcmk__register_message(pcmk__output_t *out, const char *message_id, out 625 include/crm/common/output_internal.h pcmk__register_messages(pcmk__output_t *out, pcmk__message_entry_t *table); out 640 include/crm/common/output_internal.h pcmk__indented_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 655 include/crm/common/output_internal.h pcmk__indented_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 668 include/crm/common/output_internal.h pcmk__formatted_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 683 include/crm/common/output_internal.h pcmk__formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 710 include/crm/common/output_internal.h pcmk__output_set_log_level(pcmk__output_t *out, int log_level); out 724 include/crm/common/output_internal.h pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) out 736 include/crm/common/output_internal.h pcmk__output_xml_add_node(pcmk__output_t *out, xmlNodePtr node); out 748 include/crm/common/output_internal.h pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) out 761 include/crm/common/output_internal.h pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content); out 778 include/crm/common/output_internal.h pcmk__output_xml_push_parent(pcmk__output_t *out, xmlNodePtr node); out 795 include/crm/common/output_internal.h pcmk__output_xml_pop_parent(pcmk__output_t *out); out 812 include/crm/common/output_internal.h pcmk__output_xml_peek_parent(pcmk__output_t *out); out 828 include/crm/common/output_internal.h pcmk__output_create_html_node(pcmk__output_t *out, const char *element_name, const char *id, out 859 include/crm/common/output_internal.h void pcmk__output_and_clear_error(GError *error, pcmk__output_t *out); out 863 include/crm/common/output_internal.h out->spacer(out); \ out 57 include/crm/common/results_internal.h char *out, char *err); out 86 include/crm/fencing/internal.h void stonith__register_messages(pcmk__output_t *out); out 177 include/crm/fencing/internal.h int stonith__failed_history(pcmk__output_t *out, va_list args); out 178 include/crm/fencing/internal.h int stonith__history(pcmk__output_t *out, va_list args); out 179 include/crm/fencing/internal.h int stonith__full_history(pcmk__output_t *out, va_list args); out 180 include/crm/fencing/internal.h int stonith__pending_actions(pcmk__output_t *out, va_list args); out 77 include/crm/lrmd_internal.h void lrmd__register_messages(pcmk__output_t *out); out 224 include/crm/pengine/internal.h void pe_metadata(pcmk__output_t *out); out 252 include/crm/pengine/internal.h int pe__name_and_nvpairs_xml(pcmk__output_t *out, bool is_list, const char *tag_name out 262 include/crm/pengine/internal.h int pe__clone_xml(pcmk__output_t *out, va_list args); out 263 include/crm/pengine/internal.h int pe__clone_default(pcmk__output_t *out, va_list args); out 264 include/crm/pengine/internal.h int pe__group_xml(pcmk__output_t *out, va_list args); out 265 include/crm/pengine/internal.h int pe__group_default(pcmk__output_t *out, va_list args); out 266 include/crm/pengine/internal.h int pe__bundle_xml(pcmk__output_t *out, va_list args); out 267 include/crm/pengine/internal.h int pe__bundle_html(pcmk__output_t *out, va_list args); out 268 include/crm/pengine/internal.h int pe__bundle_text(pcmk__output_t *out, va_list args); out 269 include/crm/pengine/internal.h int pe__node_html(pcmk__output_t *out, va_list args); out 270 include/crm/pengine/internal.h int pe__node_text(pcmk__output_t *out, va_list args); out 271 include/crm/pengine/internal.h int pe__node_xml(pcmk__output_t *out, va_list args); out 272 include/crm/pengine/internal.h int pe__resource_xml(pcmk__output_t *out, va_list args); out 273 include/crm/pengine/internal.h int pe__resource_html(pcmk__output_t *out, va_list args); out 274 include/crm/pengine/internal.h int pe__resource_text(pcmk__output_t *out, va_list args); out 348 include/crm/pengine/internal.h extern void pe__output_node(pe_node_t * node, gboolean details, pcmk__output_t *out); out 515 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options); out 521 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); out 522 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options); out 551 include/crm/pengine/internal.h void pe__register_messages(pcmk__output_t *out); out 11 include/pcmki/pcmki_cluster_queries.h int pcmk__controller_status(pcmk__output_t *out, char *dest_node, guint message_timeout_ms); out 12 include/pcmki/pcmki_cluster_queries.h int pcmk__designated_controller(pcmk__output_t *out, guint message_timeout_ms); out 13 include/pcmki/pcmki_cluster_queries.h int pcmk__pacemakerd_status(pcmk__output_t *out, char *ipc_name, guint message_timeout_ms); out 14 include/pcmki/pcmki_cluster_queries.h int pcmk__list_nodes(pcmk__output_t *out, char *node_types, gboolean BASH_EXPORT); out 73 include/pcmki/pcmki_fence.h int pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, out 93 include/pcmki/pcmki_fence.h int pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout); out 111 include/pcmki/pcmki_fence.h int pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid); out 130 include/pcmki/pcmki_fence.h int pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, out 150 include/pcmki/pcmki_fence.h int pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, char *agent, out 171 include/pcmki/pcmki_fence.h int pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, out 233 include/pcmki/pcmki_fence.h int pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, out 21 include/pcmki/pcmki_output.h int pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml); out 22 include/pcmki/pcmki_output.h void pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval); out 29 include/pcmki/pcmki_output.h void pcmk__register_lib_messages(pcmk__output_t *out); out 31 include/pcmki/pcmki_output.h int pcmk__cluster_status_text(pcmk__output_t *out, va_list args); out 17 include/pcmki/pcmki_resource.h int pcmk__resource_digests(pcmk__output_t *out, pe_resource_t *rsc, out 84 include/pcmki/pcmki_simulate.h int pcmk__simulate(pe_working_set_t *data_set, pcmk__output_t *out, out 39 include/pcmki/pcmki_status.h int pcmk__output_simple_status(pcmk__output_t *out, pe_working_set_t *data_set); out 41 include/pcmki/pcmki_status.h int pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *st, cib_t *cib, out 47 include/pcmki/pcmki_status.h int pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history, out 44 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 53 lib/cib/cib_attrs.c rc = pcmk__output_new(&out, ty, NULL, (char**)argv); out 54 lib/cib/cib_attrs.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 59 lib/cib/cib_attrs.c return out; out 63 lib/cib/cib_attrs.c find_attr(pcmk__output_t *out, cib_t *cib, const char *attr, const char *section, out 169 lib/cib/cib_attrs.c out->info(out, "Multiple attributes match name=%s", attr_name); out 173 lib/cib/cib_attrs.c out->info(out, " Value: %s \t(id=%s)", out 188 lib/cib/cib_attrs.c cib__update_node_attr(pcmk__output_t *out, cib_t *cib, int call_options, const char *section, out 205 lib/cib/cib_attrs.c rc = find_attr(out, cib, XML_ATTR_ID, section, node_uuid, set_type, set_name, out 332 lib/cib/cib_attrs.c out->err(out, "Error setting %s=%s (section=%s, set=%s): %s", out 347 lib/cib/cib_attrs.c cib__read_node_attr(pcmk__output_t *out, cib_t *cib, const char *section, out 360 lib/cib/cib_attrs.c rc = find_attr(out, cib, XML_NVPAIR_ATTR_VALUE, section, node_uuid, set_type, out 371 lib/cib/cib_attrs.c cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, const char *section, out 384 lib/cib/cib_attrs.c rc = find_attr(out, cib, XML_ATTR_ID, section, node_uuid, set_type, out 401 lib/cib/cib_attrs.c out->info(out, "Deleted %s %s: id=%s%s%s%s%s", out 418 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 421 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 422 lib/cib/cib_attrs.c if (out == NULL) { out 426 lib/cib/cib_attrs.c rc = find_attr(out, cib, attr, section, node_uuid, attr_set_type, out 429 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 430 lib/cib/cib_attrs.c pcmk__output_free(out); out 440 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 443 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 444 lib/cib/cib_attrs.c if (out == NULL) { out 448 lib/cib/cib_attrs.c rc = cib__update_node_attr(out, cib, call_options, section, node_uuid, set_type, out 452 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 453 lib/cib/cib_attrs.c pcmk__output_free(out); out 463 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 466 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 467 lib/cib/cib_attrs.c if (out == NULL) { out 471 lib/cib/cib_attrs.c rc = cib__read_node_attr(out, cib, section, node_uuid, set_type, set_name, out 474 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 475 lib/cib/cib_attrs.c pcmk__output_free(out); out 485 lib/cib/cib_attrs.c pcmk__output_t *out = NULL; out 488 lib/cib/cib_attrs.c out = new_output_object(to_console ? "text" : "log"); out 489 lib/cib/cib_attrs.c if (out == NULL) { out 493 lib/cib/cib_attrs.c rc = cib__delete_node_attr(out, cib, options, section, node_uuid, set_type, out 496 lib/cib/cib_attrs.c out->finish(out, CRM_EX_OK, true, NULL); out 497 lib/cib/cib_attrs.c pcmk__output_free(out); out 60 lib/cib/cib_remote.c pcmk__output_t *out; out 380 lib/cib/cib_remote.c if (private->out == NULL) { out 386 lib/cib/cib_remote.c private->out->prompt("Password", false, &(private->passwd)); out 615 lib/cib/cib_remote.c cib__set_output(cib_t *cib, pcmk__output_t *out) out 624 lib/cib/cib_remote.c private->out = out; out 201 lib/common/options.c goto out; out 206 lib/common/options.c goto out; out 264 lib/common/options.c out: out 19 lib/common/output.c pcmk__output_free(pcmk__output_t *out) { out 20 lib/common/output.c out->free_priv(out); out 22 lib/common/output.c if (out->messages != NULL) { out 23 lib/common/output.c g_hash_table_destroy(out->messages); out 26 lib/common/output.c g_free(out->request); out 27 lib/common/output.c free(out); out 31 lib/common/output.c pcmk__output_new(pcmk__output_t **out, const char *fmt_name, const char *filename, out 52 lib/common/output.c *out = create(argv); out 53 lib/common/output.c if (*out == NULL) { out 58 lib/common/output.c (*out)->dest = stdout; out 60 lib/common/output.c (*out)->dest = fopen(filename, "w"); out 61 lib/common/output.c if ((*out)->dest == NULL) { out 66 lib/common/output.c (*out)->quiet = false; out 67 lib/common/output.c (*out)->messages = pcmk__strkey_table(free, NULL); out 69 lib/common/output.c if ((*out)->init(*out) == false) { out 70 lib/common/output.c pcmk__output_free(*out); out 74 lib/common/output.c setenv("OCF_OUTPUT_FORMAT", (*out)->fmt_name, 1); out 119 lib/common/output.c pcmk__call_message(pcmk__output_t *out, const char *message_id, ...) { out 124 lib/common/output.c fn = g_hash_table_lookup(out->messages, message_id); out 127 lib/common/output.c message_id, out->fmt_name); out 132 lib/common/output.c rc = fn(out, args); out 139 lib/common/output.c pcmk__register_message(pcmk__output_t *out, const char *message_id, out 141 lib/common/output.c g_hash_table_replace(out->messages, strdup(message_id), fn); out 145 lib/common/output.c pcmk__register_messages(pcmk__output_t *out, pcmk__message_entry_t *table) { out 149 lib/common/output.c if (pcmk__strcase_any_of(entry->fmt_name, "default", out->fmt_name, NULL)) { out 150 lib/common/output.c pcmk__register_message(out, entry->message_id, entry->fn); out 156 lib/common/output.c pcmk__output_and_clear_error(GError *error, pcmk__output_t *out) out 162 lib/common/output.c if (out != NULL) { out 163 lib/common/output.c out->err(out, "%s: %s", g_get_prgname(), error->message); out 74 lib/common/output_html.c html_free_priv(pcmk__output_t *out) { out 75 lib/common/output_html.c private_data_t *priv = out->priv; out 85 lib/common/output_html.c out->priv = NULL; out 89 lib/common/output_html.c html_init(pcmk__output_t *out) { out 93 lib/common/output_html.c if (out->priv != NULL) { out 96 lib/common/output_html.c out->priv = calloc(1, sizeof(private_data_t)); out 97 lib/common/output_html.c if (out->priv == NULL) { out 101 lib/common/output_html.c priv = out->priv; out 113 lib/common/output_html.c pcmk__output_xml_create_parent(out, "body", NULL); out 121 lib/common/output_html.c pcmk__output_t *out = (pcmk__output_t *) user_data; out 122 lib/common/output_html.c out->list_item(out, NULL, "%s", str); out 126 lib/common/output_html.c html_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 127 lib/common/output_html.c private_data_t *priv = out->priv; out 139 lib/common/output_html.c fprintf(out->dest, "Content-Type: text/html\n\n"); out 150 lib/common/output_html.c } else if (out->request != NULL) { out 151 lib/common/output_html.c pcmk_create_xml_text_node(head_node, "title", out->request); out 180 lib/common/output_html.c out->begin_list(out, "Errors", NULL, NULL); out 181 lib/common/output_html.c g_slist_foreach(priv->errors, add_error_node, (gpointer) out); out 182 lib/common/output_html.c out->end_list(out); out 186 lib/common/output_html.c htmlDocDump(out->dest, priv->root->doc); out 198 lib/common/output_html.c html_reset(pcmk__output_t *out) { out 199 lib/common/output_html.c CRM_ASSERT(out != NULL); out 201 lib/common/output_html.c out->dest = freopen(NULL, "w", out->dest); out 202 lib/common/output_html.c CRM_ASSERT(out->dest != NULL); out 204 lib/common/output_html.c html_free_priv(out); out 205 lib/common/output_html.c html_init(out); out 209 lib/common/output_html.c html_subprocess_output(pcmk__output_t *out, int exit_status, out 213 lib/common/output_html.c CRM_ASSERT(out != NULL); out 217 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", "Command Output"); out 218 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, rc_buf); out 221 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Stdout"); out 222 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, "output", proc_stdout); out 225 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Stderr"); out 226 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, "output", proc_stderr); out 233 lib/common/output_html.c html_version(pcmk__output_t *out, bool extended) { out 234 lib/common/output_html.c CRM_ASSERT(out != NULL); out 236 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", "Version Information"); out 237 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, "Program: Pacemaker"); out 238 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Version: %s", PACEMAKER_VERSION)); out 239 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, out 242 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Build: %s", BUILD_VERSION)); out 243 lib/common/output_html.c pcmk__output_create_html_node(out, "div", NULL, NULL, crm_strdup_printf("Features: %s", CRM_FEATURES)); out 248 lib/common/output_html.c html_err(pcmk__output_t *out, const char *format, ...) { out 254 lib/common/output_html.c CRM_ASSERT(out != NULL && out->priv != NULL); out 255 lib/common/output_html.c priv = out->priv; out 267 lib/common/output_html.c html_info(pcmk__output_t *out, const char *format, ...) { out 272 lib/common/output_html.c html_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 275 lib/common/output_html.c CRM_ASSERT(out != NULL); out 277 lib/common/output_html.c node = pcmk__output_create_html_node(out, "pre", NULL, NULL, buf); out 283 lib/common/output_html.c html_begin_list(pcmk__output_t *out, const char *singular_noun, out 289 lib/common/output_html.c CRM_ASSERT(out != NULL && out->priv != NULL); out 290 lib/common/output_html.c priv = out->priv; out 298 lib/common/output_html.c pcmk__output_xml_create_parent(out, "li", NULL); out 312 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h3", buf); out 314 lib/common/output_html.c pcmk__output_create_xml_text_node(out, "h2", buf); out 320 lib/common/output_html.c node = pcmk__output_xml_create_parent(out, "ul", NULL); out 326 lib/common/output_html.c html_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { out 332 lib/common/output_html.c CRM_ASSERT(out != NULL); out 339 lib/common/output_html.c item_node = pcmk__output_create_xml_text_node(out, "li", buf); out 348 lib/common/output_html.c html_increment_list(pcmk__output_t *out) { out 353 lib/common/output_html.c html_end_list(pcmk__output_t *out) { out 356 lib/common/output_html.c CRM_ASSERT(out != NULL && out->priv != NULL); out 357 lib/common/output_html.c priv = out->priv; out 361 lib/common/output_html.c pcmk__output_xml_pop_parent(out); out 365 lib/common/output_html.c pcmk__output_xml_pop_parent(out); out 370 lib/common/output_html.c html_is_quiet(pcmk__output_t *out) { out 375 lib/common/output_html.c html_spacer(pcmk__output_t *out) { out 376 lib/common/output_html.c CRM_ASSERT(out != NULL); out 377 lib/common/output_html.c pcmk__output_create_xml_node(out, "br", NULL); out 381 lib/common/output_html.c html_progress(pcmk__output_t *out, bool end) { out 424 lib/common/output_html.c pcmk__output_create_html_node(pcmk__output_t *out, const char *element_name, const char *id, out 428 lib/common/output_html.c CRM_ASSERT(out != NULL); out 430 lib/common/output_html.c node = pcmk__output_create_xml_text_node(out, element_name, text); out 28 lib/common/output_log.c log_subprocess_output(pcmk__output_t *out, int exit_status, out 34 lib/common/output_log.c log_free_priv(pcmk__output_t *out) { out 35 lib/common/output_log.c private_data_t *priv = out->priv; out 43 lib/common/output_log.c out->priv = NULL; out 47 lib/common/output_log.c log_init(pcmk__output_t *out) { out 51 lib/common/output_log.c if (out->priv != NULL) { out 55 lib/common/output_log.c out->priv = calloc(1, sizeof(private_data_t)); out 56 lib/common/output_log.c if (out->priv == NULL) { out 60 lib/common/output_log.c priv = out->priv; out 69 lib/common/output_log.c log_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 74 lib/common/output_log.c log_reset(pcmk__output_t *out) { out 75 lib/common/output_log.c CRM_ASSERT(out != NULL); out 77 lib/common/output_log.c out->dest = freopen(NULL, "w", out->dest); out 78 lib/common/output_log.c CRM_ASSERT(out->dest != NULL); out 80 lib/common/output_log.c log_free_priv(out); out 81 lib/common/output_log.c log_init(out); out 85 lib/common/output_log.c log_version(pcmk__output_t *out, bool extended) { out 88 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 89 lib/common/output_log.c priv = out->priv; out 103 lib/common/output_log.c log_err(pcmk__output_t *out, const char *format, ...) { out 108 lib/common/output_log.c CRM_ASSERT(out != NULL); out 124 lib/common/output_log.c log_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 128 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 129 lib/common/output_log.c priv = out->priv; out 139 lib/common/output_log.c log_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 146 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 147 lib/common/output_log.c priv = out->priv; out 166 lib/common/output_log.c log_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { out 174 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 175 lib/common/output_log.c priv = out->priv; out 209 lib/common/output_log.c log_end_list(pcmk__output_t *out) { out 212 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 213 lib/common/output_log.c priv = out->priv; out 226 lib/common/output_log.c log_info(pcmk__output_t *out, const char *format, ...) { out 232 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 233 lib/common/output_log.c priv = out->priv; out 247 lib/common/output_log.c log_is_quiet(pcmk__output_t *out) { out 252 lib/common/output_log.c log_spacer(pcmk__output_t *out) { out 257 lib/common/output_log.c log_progress(pcmk__output_t *out, bool end) { out 304 lib/common/output_log.c pcmk__output_set_log_level(pcmk__output_t *out, int log_level) { out 307 lib/common/output_log.c CRM_ASSERT(out != NULL && out->priv != NULL); out 309 lib/common/output_log.c if (!pcmk__str_eq(out->fmt_name, "log", pcmk__str_none)) { out 313 lib/common/output_log.c priv = out->priv; out 22 lib/common/output_none.c none_free_priv(pcmk__output_t *out) { out 27 lib/common/output_none.c none_init(pcmk__output_t *out) { out 32 lib/common/output_none.c none_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 37 lib/common/output_none.c none_reset(pcmk__output_t *out) { out 38 lib/common/output_none.c CRM_ASSERT(out != NULL); out 39 lib/common/output_none.c none_free_priv(out); out 40 lib/common/output_none.c none_init(out); out 44 lib/common/output_none.c none_subprocess_output(pcmk__output_t *out, int exit_status, out 50 lib/common/output_none.c none_version(pcmk__output_t *out, bool extended) { out 56 lib/common/output_none.c none_err(pcmk__output_t *out, const char *format, ...) { out 62 lib/common/output_none.c none_info(pcmk__output_t *out, const char *format, ...) { out 67 lib/common/output_none.c none_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 73 lib/common/output_none.c none_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 80 lib/common/output_none.c none_list_item(pcmk__output_t *out, const char *id, const char *format, ...) { out 85 lib/common/output_none.c none_increment_list(pcmk__output_t *out) { out 90 lib/common/output_none.c none_end_list(pcmk__output_t *out) { out 95 lib/common/output_none.c none_is_quiet(pcmk__output_t *out) { out 96 lib/common/output_none.c return out->quiet; out 100 lib/common/output_none.c none_spacer(pcmk__output_t *out) { out 105 lib/common/output_none.c none_progress(pcmk__output_t *out, bool end) { out 38 lib/common/output_text.c text_free_priv(pcmk__output_t *out) { out 39 lib/common/output_text.c private_data_t *priv = out->priv; out 47 lib/common/output_text.c out->priv = NULL; out 51 lib/common/output_text.c text_init(pcmk__output_t *out) { out 55 lib/common/output_text.c if (out->priv != NULL) { out 58 lib/common/output_text.c out->priv = calloc(1, sizeof(private_data_t)); out 59 lib/common/output_text.c if (out->priv == NULL) { out 63 lib/common/output_text.c priv = out->priv; out 71 lib/common/output_text.c text_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 72 lib/common/output_text.c fflush(out->dest); out 76 lib/common/output_text.c text_reset(pcmk__output_t *out) { out 77 lib/common/output_text.c CRM_ASSERT(out != NULL); out 79 lib/common/output_text.c if (out->dest != stdout) { out 80 lib/common/output_text.c out->dest = freopen(NULL, "w", out->dest); out 83 lib/common/output_text.c CRM_ASSERT(out->dest != NULL); out 85 lib/common/output_text.c text_free_priv(out); out 86 lib/common/output_text.c text_init(out); out 90 lib/common/output_text.c text_subprocess_output(pcmk__output_t *out, int exit_status, out 92 lib/common/output_text.c CRM_ASSERT(out != NULL); out 95 lib/common/output_text.c fprintf(out->dest, "%s\n", proc_stdout); out 99 lib/common/output_text.c fprintf(out->dest, "%s\n", proc_stderr); out 104 lib/common/output_text.c text_version(pcmk__output_t *out, bool extended) { out 105 lib/common/output_text.c CRM_ASSERT(out != NULL); out 108 lib/common/output_text.c fprintf(out->dest, "Pacemaker %s (Build: %s): %s\n", PACEMAKER_VERSION, BUILD_VERSION, CRM_FEATURES); out 110 lib/common/output_text.c fprintf(out->dest, "Pacemaker %s\n", PACEMAKER_VERSION); out 111 lib/common/output_text.c fprintf(out->dest, "Written by Andrew Beekhof and " out 118 lib/common/output_text.c text_err(pcmk__output_t *out, const char *format, ...) { out 122 lib/common/output_text.c CRM_ASSERT(out != NULL); out 139 lib/common/output_text.c text_info(pcmk__output_t *out, const char *format, ...) { out 143 lib/common/output_text.c CRM_ASSERT(out != NULL); out 145 lib/common/output_text.c if (out->is_quiet(out)) { out 154 lib/common/output_text.c len = vfprintf(out->dest, format, ap); out 159 lib/common/output_text.c fprintf(out->dest, "\n"); out 164 lib/common/output_text.c text_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 165 lib/common/output_text.c CRM_ASSERT(out != NULL); out 166 lib/common/output_text.c pcmk__indented_printf(out, "%s", buf); out 171 lib/common/output_text.c text_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 177 lib/common/output_text.c CRM_ASSERT(out != NULL && out->priv != NULL); out 178 lib/common/output_text.c priv = out->priv; out 183 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 184 lib/common/output_text.c fprintf(out->dest, ":\n"); out 199 lib/common/output_text.c text_list_item(pcmk__output_t *out, const char *id, const char *format, ...) { out 202 lib/common/output_text.c CRM_ASSERT(out != NULL); out 212 lib/common/output_text.c pcmk__indented_printf(out, "%s: ", id); out 213 lib/common/output_text.c vfprintf(out->dest, format, ap); out 215 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 218 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 221 lib/common/output_text.c fputc('\n', out->dest); out 222 lib/common/output_text.c fflush(out->dest); out 225 lib/common/output_text.c out->increment_list(out); out 229 lib/common/output_text.c text_increment_list(pcmk__output_t *out) { out 233 lib/common/output_text.c CRM_ASSERT(out != NULL && out->priv != NULL); out 234 lib/common/output_text.c priv = out->priv; out 242 lib/common/output_text.c text_end_list(pcmk__output_t *out) { out 246 lib/common/output_text.c CRM_ASSERT(out != NULL && out->priv != NULL); out 247 lib/common/output_text.c priv = out->priv; out 253 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->singular_noun); out 255 lib/common/output_text.c pcmk__indented_printf(out, "%d %s found\n", node->len, node->plural_noun); out 263 lib/common/output_text.c text_is_quiet(pcmk__output_t *out) { out 264 lib/common/output_text.c CRM_ASSERT(out != NULL); out 265 lib/common/output_text.c return out->quiet; out 269 lib/common/output_text.c text_spacer(pcmk__output_t *out) { out 270 lib/common/output_text.c CRM_ASSERT(out != NULL); out 271 lib/common/output_text.c fprintf(out->dest, "\n"); out 275 lib/common/output_text.c text_progress(pcmk__output_t *out, bool end) { out 276 lib/common/output_text.c CRM_ASSERT(out != NULL); out 278 lib/common/output_text.c if (out->dest == stdout) { out 279 lib/common/output_text.c fprintf(out->dest, "."); out 282 lib/common/output_text.c fprintf(out->dest, "\n"); out 327 lib/common/output_text.c pcmk__formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 330 lib/common/output_text.c CRM_ASSERT(out != NULL); out 332 lib/common/output_text.c len = vfprintf(out->dest, format, args); out 338 lib/common/output_text.c pcmk__formatted_printf(pcmk__output_t *out, const char *format, ...) { out 341 lib/common/output_text.c CRM_ASSERT(out != NULL); out 344 lib/common/output_text.c pcmk__formatted_vprintf(out, format, ap); out 350 lib/common/output_text.c pcmk__indented_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 351 lib/common/output_text.c CRM_ASSERT(out != NULL); out 353 lib/common/output_text.c if (!pcmk__str_eq(out->fmt_name, "text", pcmk__str_none)) { out 359 lib/common/output_text.c private_data_t *priv = out->priv; out 366 lib/common/output_text.c fprintf(out->dest, " "); out 370 lib/common/output_text.c fprintf(out->dest, "* "); out 374 lib/common/output_text.c pcmk__formatted_vprintf(out, format, args); out 379 lib/common/output_text.c pcmk__indented_printf(pcmk__output_t *out, const char *format, ...) { out 382 lib/common/output_text.c CRM_ASSERT(out != NULL); out 385 lib/common/output_text.c pcmk__indented_vprintf(out, format, ap); out 83 lib/common/output_xml.c xml_free_priv(pcmk__output_t *out) { out 84 lib/common/output_xml.c private_data_t *priv = out->priv; out 94 lib/common/output_xml.c out->priv = NULL; out 98 lib/common/output_xml.c xml_init(pcmk__output_t *out) { out 102 lib/common/output_xml.c if (out->priv != NULL) { out 105 lib/common/output_xml.c out->priv = calloc(1, sizeof(private_data_t)); out 106 lib/common/output_xml.c if (out->priv == NULL) { out 110 lib/common/output_xml.c priv = out->priv; out 120 lib/common/output_xml.c if (out->request != NULL) { out 121 lib/common/output_xml.c crm_xml_add(priv->root, "request", out->request); out 146 lib/common/output_xml.c xml_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 150 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 151 lib/common/output_xml.c priv = out->priv; out 189 lib/common/output_xml.c fprintf(out->dest, "%s", buf); out 190 lib/common/output_xml.c fflush(out->dest); out 200 lib/common/output_xml.c xml_reset(pcmk__output_t *out) { out 201 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 203 lib/common/output_xml.c out->dest = freopen(NULL, "w", out->dest); out 204 lib/common/output_xml.c CRM_ASSERT(out->dest != NULL); out 206 lib/common/output_xml.c xml_free_priv(out); out 207 lib/common/output_xml.c xml_init(out); out 211 lib/common/output_xml.c xml_subprocess_output(pcmk__output_t *out, int exit_status, out 216 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 220 lib/common/output_xml.c node = pcmk__output_xml_create_parent(out, "command", out 234 lib/common/output_xml.c pcmk__output_xml_add_node(out, node); out 239 lib/common/output_xml.c xml_version(pcmk__output_t *out, bool extended) { out 240 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 242 lib/common/output_xml.c pcmk__output_create_xml_node(out, "version", out 254 lib/common/output_xml.c xml_err(pcmk__output_t *out, const char *format, ...) { out 260 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 261 lib/common/output_xml.c priv = out->priv; out 273 lib/common/output_xml.c xml_info(pcmk__output_t *out, const char *format, ...) { out 278 lib/common/output_xml.c xml_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 282 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 284 lib/common/output_xml.c parent = pcmk__output_create_xml_node(out, name, NULL); out 291 lib/common/output_xml.c xml_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 298 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 319 lib/common/output_xml.c pcmk__output_xml_create_parent(out, name, NULL); out 321 lib/common/output_xml.c pcmk__output_xml_create_parent(out, "list", out 332 lib/common/output_xml.c xml_list_item(pcmk__output_t *out, const char *name, const char *format, ...) { out 338 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 345 lib/common/output_xml.c item_node = pcmk__output_create_xml_text_node(out, "item", buf); out 355 lib/common/output_xml.c xml_increment_list(pcmk__output_t *out) { out 360 lib/common/output_xml.c xml_end_list(pcmk__output_t *out) { out 363 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 364 lib/common/output_xml.c priv = out->priv; out 380 lib/common/output_xml.c xml_is_quiet(pcmk__output_t *out) { out 385 lib/common/output_xml.c xml_spacer(pcmk__output_t *out) { out 390 lib/common/output_xml.c xml_progress(pcmk__output_t *out, bool end) { out 433 lib/common/output_xml.c pcmk__output_xml_create_parent(pcmk__output_t *out, const char *name, ...) { out 437 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 439 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); out 445 lib/common/output_xml.c pcmk__output_xml_push_parent(out, node); out 450 lib/common/output_xml.c pcmk__output_xml_add_node(pcmk__output_t *out, xmlNodePtr node) { out 453 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 456 lib/common/output_xml.c if (!pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)) { out 460 lib/common/output_xml.c priv = out->priv; out 466 lib/common/output_xml.c pcmk__output_create_xml_node(pcmk__output_t *out, const char *name, ...) { out 471 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 472 lib/common/output_xml.c CRM_ASSERT(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)); out 474 lib/common/output_xml.c priv = out->priv; out 485 lib/common/output_xml.c pcmk__output_create_xml_text_node(pcmk__output_t *out, const char *name, const char *content) { out 488 lib/common/output_xml.c CRM_ASSERT(out != NULL); out 490 lib/common/output_xml.c node = pcmk__output_create_xml_node(out, name, NULL); out 496 lib/common/output_xml.c pcmk__output_xml_push_parent(pcmk__output_t *out, xmlNodePtr parent) { out 499 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 502 lib/common/output_xml.c if (!pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)) { out 506 lib/common/output_xml.c priv = out->priv; out 512 lib/common/output_xml.c pcmk__output_xml_pop_parent(pcmk__output_t *out) { out 515 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 517 lib/common/output_xml.c if (!pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)) { out 521 lib/common/output_xml.c priv = out->priv; out 528 lib/common/output_xml.c pcmk__output_xml_peek_parent(pcmk__output_t *out) { out 531 lib/common/output_xml.c CRM_ASSERT(out != NULL && out->priv != NULL); out 532 lib/common/output_xml.c CRM_ASSERT(pcmk__str_any_of(out->fmt_name, "xml", "html", NULL)); out 534 lib/common/output_xml.c priv = out->priv; out 883 lib/common/results.c pcmk__set_result_output(pcmk__action_result_t *result, char *out, char *err) out 890 lib/common/results.c result->action_stdout = out; out 901 lib/common/schemas.c xmlNode *out = NULL; out 940 lib/common/schemas.c out = string2xml((const char *) emergency_result); out 943 lib/common/schemas.c out = xmlDocGetRootElement(res); out 953 lib/common/schemas.c return out; out 39 lib/fencing/st_output.c stonith__failed_history(pcmk__output_t *out, va_list args) { out 56 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Failed Fencing Actions"); out 57 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), out 59 lib/fencing/st_output.c out->increment_list(out); out 62 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 68 lib/fencing/st_output.c stonith__history(pcmk__output_t *out, va_list args) { out 82 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Fencing History"); out 83 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), out 85 lib/fencing/st_output.c out->increment_list(out); out 89 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 96 lib/fencing/st_output.c stonith__full_history(pcmk__output_t *out, va_list args) { out 110 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Fencing History"); out 111 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), out 113 lib/fencing/st_output.c out->increment_list(out); out 116 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 123 lib/fencing/st_output.c full_history_xml(pcmk__output_t *out, va_list args) { out 138 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Fencing History"); out 139 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), out 141 lib/fencing/st_output.c out->increment_list(out); out 144 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 148 lib/fencing/st_output.c pcmk__output_create_xml_node(out, "fence_history", out 161 lib/fencing/st_output.c last_fenced_html(pcmk__output_t *out, va_list args) { out 167 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); out 177 lib/fencing/st_output.c last_fenced_text(pcmk__output_t *out, va_list args) { out 182 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s last fenced at: %s", target, ctime(&when)); out 184 lib/fencing/st_output.c pcmk__indented_printf(out, "Node %s has never been fenced\n", target); out 192 lib/fencing/st_output.c last_fenced_xml(pcmk__output_t *out, va_list args) { out 199 lib/fencing/st_output.c pcmk__output_create_xml_node(out, "last-fenced", out 214 lib/fencing/st_output.c stonith__pending_actions(pcmk__output_t *out, va_list args) { out 232 lib/fencing/st_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Pending Fencing Actions"); out 233 lib/fencing/st_output.c out->message(out, "stonith-event", hp, pcmk_all_flags_set(section_opts, pcmk_section_fencing_all), out 235 lib/fencing/st_output.c out->increment_list(out); out 238 lib/fencing/st_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 244 lib/fencing/st_output.c stonith_event_html(pcmk__output_t *out, va_list args) { out 253 lib/fencing/st_output.c out->list_item(out, "successful-stonith-event", out 267 lib/fencing/st_output.c out->list_item(out, "failed-stonith-event", out 284 lib/fencing/st_output.c out->list_item(out, "pending-stonith-event", out 296 lib/fencing/st_output.c stonith_event_text(pcmk__output_t *out, va_list args) { out 305 lib/fencing/st_output.c pcmk__indented_printf(out, out 319 lib/fencing/st_output.c pcmk__indented_printf(out, "%s of %s successful: delegate=%s, client=%s, origin=%s, %s='%s'\n", out 327 lib/fencing/st_output.c pcmk__indented_printf(out, "%s of %s pending: client=%s, origin=%s\n", out 339 lib/fencing/st_output.c stonith_event_xml(pcmk__output_t *out, va_list args) { out 346 lib/fencing/st_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "fence_event", out 389 lib/fencing/st_output.c validate_agent_html(pcmk__output_t *out, va_list args) { out 399 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); out 404 lib/fencing/st_output.c pcmk__output_create_html_node(out, "div", NULL, NULL, buf); out 408 lib/fencing/st_output.c out->subprocess_output(out, rc, output, error_output); out 414 lib/fencing/st_output.c validate_agent_text(pcmk__output_t *out, va_list args) { out 422 lib/fencing/st_output.c pcmk__indented_printf(out, "Validation of %s on %s %s\n", agent, device, out 425 lib/fencing/st_output.c pcmk__indented_printf(out, "Validation of %s %s\n", agent, out 429 lib/fencing/st_output.c out->subprocess_output(out, rc, output, error_output); out 435 lib/fencing/st_output.c validate_agent_xml(pcmk__output_t *out, va_list args) { out 442 lib/fencing/st_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "validate", out 451 lib/fencing/st_output.c pcmk__output_xml_push_parent(out, node); out 452 lib/fencing/st_output.c out->subprocess_output(out, rc, output, error_output); out 453 lib/fencing/st_output.c pcmk__output_xml_pop_parent(out); out 481 lib/fencing/st_output.c stonith__register_messages(pcmk__output_t *out) { out 482 lib/fencing/st_output.c pcmk__register_messages(out, fmt_functions); out 17 lib/lrmd/lrmd_output.c default_list(pcmk__output_t *out, lrmd_list_t *list, const char *title) { out 20 lib/lrmd/lrmd_output.c out->begin_list(out, NULL, NULL, "%s", title); out 23 lib/lrmd/lrmd_output.c out->list_item(out, NULL, "%s", iter->val); out 26 lib/lrmd/lrmd_output.c out->end_list(out); out 32 lib/lrmd/lrmd_output.c xml_list(pcmk__output_t *out, lrmd_list_t *list, const char *ele) { out 36 lib/lrmd/lrmd_output.c pcmk__output_create_xml_text_node(out, ele, iter->val); out 45 lib/lrmd/lrmd_output.c lrmd__alternatives_list_xml(pcmk__output_t *out, va_list args) { out 49 lib/lrmd/lrmd_output.c pcmk__output_xml_create_parent(out, "providers", out 52 lib/lrmd/lrmd_output.c return xml_list(out, list, "provider"); out 57 lib/lrmd/lrmd_output.c lrmd__alternatives_list(pcmk__output_t *out, va_list args) { out 61 lib/lrmd/lrmd_output.c return default_list(out, list, "Providers"); out 66 lib/lrmd/lrmd_output.c lrmd__agents_list_xml(pcmk__output_t *out, va_list args) { out 71 lib/lrmd/lrmd_output.c xmlNodePtr node = pcmk__output_xml_create_parent(out, "agents", out 79 lib/lrmd/lrmd_output.c return xml_list(out, list, "agent"); out 84 lib/lrmd/lrmd_output.c lrmd__agents_list(pcmk__output_t *out, va_list args) { out 92 lib/lrmd/lrmd_output.c rc = default_list(out, list, title); out 99 lib/lrmd/lrmd_output.c lrmd__providers_list_xml(pcmk__output_t *out, va_list args) { out 103 lib/lrmd/lrmd_output.c xmlNodePtr node = pcmk__output_xml_create_parent(out, "providers", out 111 lib/lrmd/lrmd_output.c return xml_list(out, list, "provider"); out 116 lib/lrmd/lrmd_output.c lrmd__providers_list(pcmk__output_t *out, va_list args) { out 120 lib/lrmd/lrmd_output.c return default_list(out, list, "Providers"); out 125 lib/lrmd/lrmd_output.c lrmd__standards_list(pcmk__output_t *out, va_list args) { out 128 lib/lrmd/lrmd_output.c return default_list(out, list, "Standards"); out 144 lib/lrmd/lrmd_output.c lrmd__register_messages(pcmk__output_t *out) { out 145 lib/lrmd/lrmd_output.c pcmk__register_messages(out, fmt_functions); out 272 lib/pacemaker/libpacemaker_private.h xmlNode *pcmk__inject_resource_history(pcmk__output_t *out, xmlNode *cib_node, out 280 lib/pacemaker/libpacemaker_private.h void pcmk__inject_failcount(pcmk__output_t *out, xmlNode *cib_node, out 34 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out; out 57 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 59 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: No reply received from controller before timeout (%dms)", out 92 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 98 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Lost connection to controller"); out 116 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Bad reply from controller: %s", out 124 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Unknown reply type %d from controller", out 140 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 145 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "health", out 162 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 167 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "dc", reply->host_from); out 180 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 189 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Lost connection to pacemakerd"); out 207 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Bad reply from pacemakerd: %s", out 214 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Unknown reply type %d from pacemakerd", out 227 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "pacemakerd-health", out 244 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 250 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not connect to %s: %s", out 261 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Could not connect to %s: %s", out 272 lib/pacemaker/pcmk_cluster_queries.c pcmk__controller_status(pcmk__output_t *out, char *dest_node, guint message_timeout_ms) out 275 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 286 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Command failed: %s", pcmk_rc_str(rc)); out 301 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 304 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); out 309 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 311 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__controller_status(out, dest_node, (guint) message_timeout_ms); out 312 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); out 317 lib/pacemaker/pcmk_cluster_queries.c pcmk__designated_controller(pcmk__output_t *out, guint message_timeout_ms) out 320 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 331 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Command failed: %s", pcmk_rc_str(rc)); out 346 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 349 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); out 354 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 356 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__designated_controller(out, (guint) message_timeout_ms); out 357 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); out 362 lib/pacemaker/pcmk_cluster_queries.c pcmk__pacemakerd_status(pcmk__output_t *out, char *ipc_name, guint message_timeout_ms) out 365 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 376 lib/pacemaker/pcmk_cluster_queries.c out->err(out, "error: Command failed: %s", pcmk_rc_str(rc)); out 391 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 394 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); out 399 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 401 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__pacemakerd_status(out, ipc_name, (guint) message_timeout_ms); out 402 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); out 408 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out; out 419 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = data->out; out 424 lib/pacemaker/pcmk_cluster_queries.c out->message(out, "crmadmin-node", data->type, out 433 lib/pacemaker/pcmk_cluster_queries.c pcmk__list_nodes(pcmk__output_t *out, char *node_types, gboolean BASH_EXPORT) out 442 lib/pacemaker/pcmk_cluster_queries.c .out = out, out 447 lib/pacemaker/pcmk_cluster_queries.c out->begin_list(out, NULL, NULL, "nodes"); out 474 lib/pacemaker/pcmk_cluster_queries.c out->end_list(out); out 477 lib/pacemaker/pcmk_cluster_queries.c out->info(out, "No nodes configured"); out 489 lib/pacemaker/pcmk_cluster_queries.c pcmk__output_t *out = NULL; out 492 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__out_prologue(&out, xml); out 497 lib/pacemaker/pcmk_cluster_queries.c pcmk__register_lib_messages(out); out 499 lib/pacemaker/pcmk_cluster_queries.c rc = pcmk__list_nodes(out, node_types, FALSE); out 500 lib/pacemaker/pcmk_cluster_queries.c pcmk__out_epilogue(out, xml, rc); out 228 lib/pacemaker/pcmk_fence.c pcmk__fence_history(pcmk__output_t *out, stonith_t *st, char *target, out 236 lib/pacemaker/pcmk_fence.c out->info(out, "cleaning up fencing-history%s%s", out 240 lib/pacemaker/pcmk_fence.c out->info(out, "gather fencing-history from all nodes"); out 260 lib/pacemaker/pcmk_fence.c out->begin_list(out, "event", "events", "Fencing history"); out 268 lib/pacemaker/pcmk_fence.c if (out->is_quiet(out) || !verbose) { out 272 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", hp, 1, stonith__later_succeeded(hp, history)); out 273 lib/pacemaker/pcmk_fence.c out->increment_list(out); out 277 lib/pacemaker/pcmk_fence.c if (out->is_quiet(out)) { out 278 lib/pacemaker/pcmk_fence.c pcmk__formatted_printf(out, "%lld\n", (long long) latest->completed); out 280 lib/pacemaker/pcmk_fence.c out->message(out, "stonith-event", latest, 0, FALSE); out 281 lib/pacemaker/pcmk_fence.c out->increment_list(out); out 285 lib/pacemaker/pcmk_fence.c out->end_list(out); out 295 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 298 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 303 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 305 lib/pacemaker/pcmk_fence.c out->quiet = quiet; out 307 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_history(out, st, target, timeout, verbose, broadcast, cleanup); out 308 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 314 lib/pacemaker/pcmk_fence.c pcmk__fence_installed(pcmk__output_t *out, stonith_t *st, unsigned int timeout) { out 324 lib/pacemaker/pcmk_fence.c out->begin_list(out, "fence device", "fence devices", "Installed fence devices"); out 326 lib/pacemaker/pcmk_fence.c out->list_item(out, "device", "%s", dIter->value); out 328 lib/pacemaker/pcmk_fence.c out->end_list(out); out 337 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 340 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 345 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 347 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_installed(out, st, timeout); out 348 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 354 lib/pacemaker/pcmk_fence.c pcmk__fence_last(pcmk__output_t *out, const char *target, bool as_nodeid) { out 367 lib/pacemaker/pcmk_fence.c return out->message(out, "last-fenced", target, when); out 373 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 376 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 381 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 383 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_last(out, target, as_nodeid); out 384 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 390 lib/pacemaker/pcmk_fence.c pcmk__fence_list_targets(pcmk__output_t *out, stonith_t *st, out 403 lib/pacemaker/pcmk_fence.c out->begin_list(out, "fence target", "fence targets", "Fence Targets"); out 405 lib/pacemaker/pcmk_fence.c out->list_item(out, NULL, "%s", (const char *) targets->data); out 408 lib/pacemaker/pcmk_fence.c out->end_list(out); out 418 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 421 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 426 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 428 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_list_targets(out, st, device_id, timeout); out 429 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 435 lib/pacemaker/pcmk_fence.c pcmk__fence_metadata(pcmk__output_t *out, stonith_t *st, char *agent, out 445 lib/pacemaker/pcmk_fence.c out->output_xml(out, "metadata", buffer); out 454 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 457 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 462 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 464 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_metadata(out, st, agent, timeout); out 465 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 471 lib/pacemaker/pcmk_fence.c pcmk__fence_registered(pcmk__output_t *out, stonith_t *st, char *target, out 482 lib/pacemaker/pcmk_fence.c out->begin_list(out, "fence device", "fence devices", "Registered fence devices"); out 484 lib/pacemaker/pcmk_fence.c out->list_item(out, "device", "%s", dIter->value); out 486 lib/pacemaker/pcmk_fence.c out->end_list(out); out 500 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 503 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 508 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 510 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_registered(out, st, target, timeout); out 511 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 543 lib/pacemaker/pcmk_fence.c pcmk__fence_validate(pcmk__output_t *out, stonith_t *st, const char *agent, out 552 lib/pacemaker/pcmk_fence.c out->message(out, "validate", agent, id, output, error_output, rc); out 561 lib/pacemaker/pcmk_fence.c pcmk__output_t *out = NULL; out 564 lib/pacemaker/pcmk_fence.c rc = pcmk__out_prologue(&out, xml); out 569 lib/pacemaker/pcmk_fence.c stonith__register_messages(out); out 571 lib/pacemaker/pcmk_fence.c rc = pcmk__fence_validate(out, st, agent, id, params, timeout); out 572 lib/pacemaker/pcmk_fence.c pcmk__out_epilogue(out, xml, rc); out 52 lib/pacemaker/pcmk_injections.c inject_transient_attr(pcmk__output_t *out, xmlNode *cib_node, out 59 lib/pacemaker/pcmk_injections.c out->message(out, "inject-attr", name, value, cib_node); out 89 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(pcmk__output_t *out, xmlNode *cib_node, out 104 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, "value++"); out 108 lib/pacemaker/pcmk_injections.c inject_transient_attr(out, cib_node, name, now); out 343 lib/pacemaker/pcmk_injections.c pcmk__inject_resource_history(pcmk__output_t *out, xmlNode *cib_node, out 370 lib/pacemaker/pcmk_injections.c out->err(out, "Resource %s not found in the status section of %s." out 381 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid class for %s: %s", resource, rclass); out 387 lib/pacemaker/pcmk_injections.c out->err(out, "Please specify the provider for resource %s", resource); out 422 lib/pacemaker/pcmk_injections.c find_ticket_state(pcmk__output_t *out, cib_t *the_cib, const char *ticket_id, out 452 lib/pacemaker/pcmk_injections.c out->err(out, "Multiple ticket_states match ticket_id=%s", ticket_id); out 477 lib/pacemaker/pcmk_injections.c set_ticket_state_attr(pcmk__output_t *out, const char *ticket_id, out 485 lib/pacemaker/pcmk_injections.c rc = find_ticket_state(out, cib, ticket_id, &ticket_state_xml); out 528 lib/pacemaker/pcmk_injections.c inject_action(pcmk__output_t *out, const char *spec, cib_t *cib, out 550 lib/pacemaker/pcmk_injections.c out->message(out, "inject-spec", spec); out 556 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid operation spec: %s. Only found %d fields", out 565 lib/pacemaker/pcmk_injections.c out->err(out, "Invalid resource name: %s", resource); out 576 lib/pacemaker/pcmk_injections.c pcmk__inject_failcount(out, cib_node, resource, task, interval_ms, outcome); out 578 lib/pacemaker/pcmk_injections.c cib_resource = pcmk__inject_resource_history(out, cib_node, out 615 lib/pacemaker/pcmk_injections.c pcmk__output_t *out = data_set->priv; out 617 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-config", injections->quorum, out 630 lib/pacemaker/pcmk_injections.c rc = cib__update_node_attr(out, cib, cib_sync_call|cib_scope_local, out 640 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-node", "Online", node); out 655 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-node", "Offline", node); out 681 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-node", "Failing", node); out 696 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Granting", ticket_id); out 698 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", true, cib); out 705 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Revoking", ticket_id); out 707 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "granted", false, cib); out 714 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Standby", ticket_id); out 716 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", true, cib); out 723 lib/pacemaker/pcmk_injections.c out->message(out, "inject-modify-ticket", "Activating", ticket_id); out 725 lib/pacemaker/pcmk_injections.c rc = set_ticket_state_attr(out, ticket_id, "standby", false, cib); out 730 lib/pacemaker/pcmk_injections.c inject_action(out, (char *) iter->data, cib, data_set); out 733 lib/pacemaker/pcmk_injections.c if (!out->is_quiet(out)) { out 734 lib/pacemaker/pcmk_injections.c out->end_list(out); out 43 lib/pacemaker/pcmk_output.c colocations_xml_node(pcmk__output_t *out, pe_resource_t *rsc, out 49 lib/pacemaker/pcmk_output.c node = pcmk__output_create_xml_node(out, XML_CONS_TAG_RSC_DEPEND, out 74 lib/pacemaker/pcmk_output.c do_locations_list_xml(pcmk__output_t *out, pe_resource_t *rsc, bool add_header) out 90 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "locations"); out 93 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, XML_CONS_TAG_RSC_LOCATION, out 104 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 114 lib/pacemaker/pcmk_output.c rsc_action_item(pcmk__output_t *out, va_list args) out 215 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%-8s %-*s ( %*s )%s%s", change, rsc_width, out 227 lib/pacemaker/pcmk_output.c rsc_action_item_xml(pcmk__output_t *out, va_list args) out 264 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "rsc_action", out 356 lib/pacemaker/pcmk_output.c rsc_is_colocated_with_list(pcmk__output_t *out, va_list args) { out 371 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Resources %s is colocated with", rsc->id); out 374 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", out 380 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s", hdr); out 384 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, NULL); out 386 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->primary); out 388 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", out 392 lib/pacemaker/pcmk_output.c out->end_list(out); out 395 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 401 lib/pacemaker/pcmk_output.c rsc_is_colocated_with_list_xml(pcmk__output_t *out, va_list args) { out 416 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); out 420 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->primary, cons); out 421 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->primary, false); out 424 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", out 434 lib/pacemaker/pcmk_output.c rscs_colocated_with_list(pcmk__output_t *out, va_list args) { out 449 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Resources colocated with %s", rsc->id); out 452 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (id=%s - loop)", out 458 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s", hdr); out 462 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, NULL); out 464 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", cons->dependent); out 466 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", out 470 lib/pacemaker/pcmk_output.c out->end_list(out); out 473 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 479 lib/pacemaker/pcmk_output.c rscs_colocated_with_list_xml(pcmk__output_t *out, va_list args) { out 494 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); out 498 lib/pacemaker/pcmk_output.c colocations_xml_node(out, cons->dependent, cons); out 499 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, cons->dependent, false); out 502 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", out 512 lib/pacemaker/pcmk_output.c locations_list(pcmk__output_t *out, va_list args) { out 528 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Locations"); out 529 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Node %s (score=%s, id=%s, rsc=%s)", out 535 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 541 lib/pacemaker/pcmk_output.c locations_list_xml(pcmk__output_t *out, va_list args) { out 543 lib/pacemaker/pcmk_output.c return do_locations_list_xml(out, rsc, true); out 548 lib/pacemaker/pcmk_output.c stacks_and_constraints(pcmk__output_t *out, va_list args) { out 558 lib/pacemaker/pcmk_output.c out->message(out, "locations-list", rsc); out 561 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", rsc, recursive); out 564 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", rsc, recursive); out 570 lib/pacemaker/pcmk_output.c stacks_and_constraints_xml(pcmk__output_t *out, va_list args) { out 580 lib/pacemaker/pcmk_output.c pcmk__output_xml_create_parent(out, "constraints", NULL); out 581 lib/pacemaker/pcmk_output.c do_locations_list_xml(out, rsc, false); out 584 lib/pacemaker/pcmk_output.c out->message(out, "rscs-colocated-with-list", rsc, recursive); out 587 lib/pacemaker/pcmk_output.c out->message(out, "rsc-is-colocated-with-list", rsc, recursive); out 589 lib/pacemaker/pcmk_output.c pcmk__output_xml_pop_parent(out); out 595 lib/pacemaker/pcmk_output.c health_text(pcmk__output_t *out, va_list args) out 602 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 603 lib/pacemaker/pcmk_output.c return out->info(out, "Controller on %s in state %s: %s", crm_str(host_from), out 606 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", fsa_state); out 615 lib/pacemaker/pcmk_output.c health_xml(pcmk__output_t *out, va_list args) out 622 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, crm_str(sys_from), out 632 lib/pacemaker/pcmk_output.c pacemakerd_health_text(pcmk__output_t *out, va_list args) out 638 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 639 lib/pacemaker/pcmk_output.c return out->info(out, "Status of %s: '%s' %s %s", crm_str(sys_from), out 643 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", crm_str(state)); out 652 lib/pacemaker/pcmk_output.c pacemakerd_health_xml(pcmk__output_t *out, va_list args) out 658 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, crm_str(sys_from), out 667 lib/pacemaker/pcmk_output.c profile_default(pcmk__output_t *out, va_list args) { out 672 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Testing %s ... %.2f secs", xml_file, out 680 lib/pacemaker/pcmk_output.c profile_xml(pcmk__output_t *out, va_list args) { out 687 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "timing", out 698 lib/pacemaker/pcmk_output.c dc_text(pcmk__output_t *out, va_list args) out 702 lib/pacemaker/pcmk_output.c if (!out->is_quiet(out)) { out 703 lib/pacemaker/pcmk_output.c return out->info(out, "Designated Controller is: %s", crm_str(dc)); out 705 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", dc); out 714 lib/pacemaker/pcmk_output.c dc_xml(pcmk__output_t *out, va_list args) out 718 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "dc", out 726 lib/pacemaker/pcmk_output.c crmadmin_node_text(pcmk__output_t *out, va_list args) out 733 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 734 lib/pacemaker/pcmk_output.c pcmk__formatted_printf(out, "%s\n", crm_str(name)); out 737 lib/pacemaker/pcmk_output.c return out->info(out, "export %s=%s", crm_str(name), crm_str(id)); out 739 lib/pacemaker/pcmk_output.c return out->info(out, "%s node: %s (%s)", type ? type : "cluster", out 746 lib/pacemaker/pcmk_output.c crmadmin_node_xml(pcmk__output_t *out, va_list args) out 752 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "node", out 763 lib/pacemaker/pcmk_output.c digests_text(pcmk__output_t *out, va_list args) out 790 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Digests for %s %s on %s", out 795 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "none"); out 796 lib/pacemaker/pcmk_output.c out->end_list(out); out 800 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (all parameters)", out 804 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (non-private parameters)", out 808 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s (non-reloadable parameters)", out 811 lib/pacemaker/pcmk_output.c out->end_list(out); out 833 lib/pacemaker/pcmk_output.c digests_xml(pcmk__output_t *out, va_list args) out 844 lib/pacemaker/pcmk_output.c xml = pcmk__output_create_xml_node(out, "digests", out 878 lib/pacemaker/pcmk_output.c rsc_action_default(pcmk__output_t *out, va_list args) out 957 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Migrate", rsc, current, out 961 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, out 968 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Re-promote", rsc, out 976 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Stop", rsc, current, out 981 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", pcmk_is_set(rsc->flags, pe_rsc_failed)? "Recover" : "Move", out 985 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, out 990 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, out 1020 lib/pacemaker/pcmk_output.c if (out->message(out, "rsc-action-item", "Stop", rsc, node, NULL, out 1031 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Recover", rsc, current, out 1036 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Move", rsc, current, next, out 1041 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Reload", rsc, current, next, out 1045 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Restart", rsc, current, out 1051 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Demote", rsc, current, out 1056 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Promote", rsc, current, out 1060 lib/pacemaker/pcmk_output.c rc = out->message(out, "rsc-action-item", "Start", rsc, current, next, out 1069 lib/pacemaker/pcmk_output.c node_action(pcmk__output_t *out, va_list args) out 1078 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s %s '%s'", task, node_name, reason); out 1088 lib/pacemaker/pcmk_output.c node_action_xml(pcmk__output_t *out, va_list args) out 1097 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "node_action", out 1111 lib/pacemaker/pcmk_output.c inject_cluster_action(pcmk__output_t *out, va_list args) out 1117 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1122 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s for %s on %s", task, ID(rsc), node); out 1124 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Cluster action: %s on %s", task, node); out 1132 lib/pacemaker/pcmk_output.c inject_cluster_action_xml(pcmk__output_t *out, va_list args) out 1140 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1144 lib/pacemaker/pcmk_output.c xml_node = pcmk__output_create_xml_node(out, "cluster_action", out 1158 lib/pacemaker/pcmk_output.c inject_fencing_action(pcmk__output_t *out, va_list args) out 1163 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1167 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Fencing %s (%s)", target, op); out 1173 lib/pacemaker/pcmk_output.c inject_fencing_action_xml(pcmk__output_t *out, va_list args) out 1178 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1182 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "fencing_action", out 1191 lib/pacemaker/pcmk_output.c inject_attr(pcmk__output_t *out, va_list args) out 1199 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1205 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Injecting attribute %s=%s into %s '%s'", out 1214 lib/pacemaker/pcmk_output.c inject_attr_xml(pcmk__output_t *out, va_list args) out 1222 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1228 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "inject_attr", out 1240 lib/pacemaker/pcmk_output.c inject_spec(pcmk__output_t *out, va_list args) out 1244 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1248 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Injecting %s into the configuration", spec); out 1254 lib/pacemaker/pcmk_output.c inject_spec_xml(pcmk__output_t *out, va_list args) out 1258 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1262 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "inject_spec", out 1270 lib/pacemaker/pcmk_output.c inject_modify_config(pcmk__output_t *out, va_list args) out 1275 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1279 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Performing Requested Modifications"); out 1282 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Setting quorum: %s", quorum); out 1286 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Setting watchdog: %s", watchdog); out 1294 lib/pacemaker/pcmk_output.c inject_modify_config_xml(pcmk__output_t *out, va_list args) out 1301 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1305 lib/pacemaker/pcmk_output.c node = pcmk__output_xml_create_parent(out, "modifications", NULL); out 1320 lib/pacemaker/pcmk_output.c inject_modify_node(pcmk__output_t *out, va_list args) out 1325 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1330 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Bringing node %s online", node); out 1333 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Taking node %s offline", node); out 1336 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failing node %s", node); out 1345 lib/pacemaker/pcmk_output.c inject_modify_node_xml(pcmk__output_t *out, va_list args) out 1350 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1354 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "modify_node", out 1363 lib/pacemaker/pcmk_output.c inject_modify_ticket(pcmk__output_t *out, va_list args) out 1368 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1373 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Making ticket %s standby", ticket); out 1375 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "%s ticket %s", action, ticket); out 1383 lib/pacemaker/pcmk_output.c inject_modify_ticket_xml(pcmk__output_t *out, va_list args) out 1388 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1392 lib/pacemaker/pcmk_output.c pcmk__output_create_xml_node(out, "modify_ticket", out 1401 lib/pacemaker/pcmk_output.c inject_pseudo_action(pcmk__output_t *out, va_list args) out 1406 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1410 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Pseudo action: %s%s%s", task, node ? " on " : "", out 1417 lib/pacemaker/pcmk_output.c inject_pseudo_action_xml(pcmk__output_t *out, va_list args) out 1424 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1428 lib/pacemaker/pcmk_output.c xml_node = pcmk__output_create_xml_node(out, "pseudo_action", out 1440 lib/pacemaker/pcmk_output.c inject_rsc_action(pcmk__output_t *out, va_list args) out 1447 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1452 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Resource action: %-15s %s=%u on %s", out 1455 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Resource action: %-15s %s on %s", out 1464 lib/pacemaker/pcmk_output.c inject_rsc_action_xml(pcmk__output_t *out, va_list args) out 1473 lib/pacemaker/pcmk_output.c if (out->is_quiet(out)) { out 1477 lib/pacemaker/pcmk_output.c xml_node = pcmk__output_create_xml_node(out, "rsc_action", out 1501 lib/pacemaker/pcmk_output.c pcmk__cluster_status_text(pcmk__output_t *out, va_list args) out 1516 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "cluster-summary", data_set, out 1520 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-list", data_set->nodes, unames, out 1526 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "resource-list", data_set, show_opts, out 1532 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-attribute-list", data_set, out 1540 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "node-summary", data_set, unames, out 1548 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "failed-action-list", data_set, unames, out 1559 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "failed-fencing-list", stonith_history, unames, out 1563 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_SPACER_IF(out, rc == pcmk_rc_ok); out 1564 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 1565 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 1567 lib/pacemaker/pcmk_output.c out->end_list(out); out 1575 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "ticket-list", data_set, rc == pcmk_rc_ok)); out 1580 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "ban-list", data_set, prefix, resources, out 1588 lib/pacemaker/pcmk_output.c PCMK__OUTPUT_SPACER_IF(out, rc == pcmk_rc_ok); out 1589 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 1590 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 1592 lib/pacemaker/pcmk_output.c out->end_list(out); out 1599 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "fencing-list", hp, unames, out 1606 lib/pacemaker/pcmk_output.c CHECK_RC(rc, out->message(out, "pending-fencing-list", hp, unames, out 1618 lib/pacemaker/pcmk_output.c cluster_status_xml(pcmk__output_t *out, va_list args) out 1630 lib/pacemaker/pcmk_output.c out->message(out, "cluster-summary", data_set, section_opts, show_opts); out 1634 lib/pacemaker/pcmk_output.c out->message(out, "node-list", data_set->nodes, unames, resources, out 1643 lib/pacemaker/pcmk_output.c out->message(out, "resource-list", data_set, full_show_opts, out 1649 lib/pacemaker/pcmk_output.c out->message(out, "node-attribute-list", data_set, show_opts, FALSE, out 1657 lib/pacemaker/pcmk_output.c out->message(out, "node-summary", data_set, unames, out 1665 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", data_set, unames, resources, out 1671 lib/pacemaker/pcmk_output.c out->message(out, "full-fencing-list", history_rc, stonith_history, out 1677 lib/pacemaker/pcmk_output.c out->message(out, "ticket-list", data_set, FALSE); out 1682 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", data_set, prefix, resources, show_opts, out 1693 lib/pacemaker/pcmk_output.c cluster_status_html(pcmk__output_t *out, va_list args) out 1706 lib/pacemaker/pcmk_output.c out->message(out, "cluster-summary", data_set, section_opts, show_opts); out 1710 lib/pacemaker/pcmk_output.c out->message(out, "node-list", data_set->nodes, unames, resources, out 1716 lib/pacemaker/pcmk_output.c out->message(out, "resource-list", data_set, show_opts, TRUE, unames, out 1722 lib/pacemaker/pcmk_output.c out->message(out, "node-attribute-list", data_set, show_opts, FALSE, out 1730 lib/pacemaker/pcmk_output.c out->message(out, "node-summary", data_set, unames, out 1738 lib/pacemaker/pcmk_output.c out->message(out, "failed-action-list", data_set, unames, resources, out 1749 lib/pacemaker/pcmk_output.c out->message(out, "failed-fencing-list", stonith_history, unames, out 1753 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 1754 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 1756 lib/pacemaker/pcmk_output.c out->end_list(out); out 1764 lib/pacemaker/pcmk_output.c out->begin_list(out, NULL, NULL, "Failed Fencing Actions"); out 1765 lib/pacemaker/pcmk_output.c out->list_item(out, NULL, "Failed to get fencing history: %s", out 1767 lib/pacemaker/pcmk_output.c out->end_list(out); out 1774 lib/pacemaker/pcmk_output.c out->message(out, "fencing-list", hp, unames, section_opts, FALSE); out 1780 lib/pacemaker/pcmk_output.c out->message(out, "pending-fencing-list", hp, unames, out 1788 lib/pacemaker/pcmk_output.c out->message(out, "ticket-list", data_set, FALSE); out 1793 lib/pacemaker/pcmk_output.c out->message(out, "ban-list", data_set, prefix, resources, show_opts, out 1802 lib/pacemaker/pcmk_output.c attribute_default(pcmk__output_t *out, va_list args) out 1828 lib/pacemaker/pcmk_output.c out->info(out, "%s", s->str); out 1836 lib/pacemaker/pcmk_output.c attribute_xml(pcmk__output_t *out, va_list args) out 1846 lib/pacemaker/pcmk_output.c node = pcmk__output_create_xml_node(out, "attribute", out 1920 lib/pacemaker/pcmk_output.c pcmk__register_lib_messages(pcmk__output_t *out) { out 1921 lib/pacemaker/pcmk_output.c pcmk__register_messages(out, fmt_functions); out 22 lib/pacemaker/pcmk_output_utils.c pcmk__out_prologue(pcmk__output_t **out, xmlNodePtr *xml) { out 30 lib/pacemaker/pcmk_output_utils.c rc = pcmk__output_new(out, "xml", NULL, NULL); out 39 lib/pacemaker/pcmk_output_utils.c pcmk__out_epilogue(pcmk__output_t *out, xmlNodePtr *xml, int retval) { out 41 lib/pacemaker/pcmk_output_utils.c out->finish(out, 0, FALSE, (void **) xml); out 44 lib/pacemaker/pcmk_output_utils.c pcmk__output_free(out); out 60 lib/pacemaker/pcmk_output_utils.c pcmk__output_t *out = NULL; out 68 lib/pacemaker/pcmk_output_utils.c rc = pcmk__output_new(&out, "log", NULL, (char**)argv); out 69 lib/pacemaker/pcmk_output_utils.c if ((rc != pcmk_rc_ok) || (out == NULL)) { out 75 lib/pacemaker/pcmk_output_utils.c pe__register_messages(out); out 76 lib/pacemaker/pcmk_output_utils.c pcmk__register_lib_messages(out); out 77 lib/pacemaker/pcmk_output_utils.c return out; out 84 lib/pacemaker/pcmk_resource.c pcmk__resource_digests(pcmk__output_t *out, pe_resource_t *rsc, out 94 lib/pacemaker/pcmk_resource.c if ((out == NULL) || (rsc == NULL) || (node == NULL) || (data_set == NULL)) { out 118 lib/pacemaker/pcmk_resource.c rc = out->message(out, "digests", rsc, node, task, interval_ms, digests); out 129 lib/pacemaker/pcmk_resource.c pcmk__output_t *out = NULL; out 132 lib/pacemaker/pcmk_resource.c rc = pcmk__out_prologue(&out, xml); out 136 lib/pacemaker/pcmk_resource.c pcmk__register_lib_messages(out); out 137 lib/pacemaker/pcmk_resource.c rc = pcmk__resource_digests(out, rsc, node, overrides, data_set); out 138 lib/pacemaker/pcmk_resource.c pcmk__out_epilogue(out, xml, rc); out 1169 lib/pacemaker/pcmk_sched_actions.c pcmk__output_t *out = data_set->priv; out 1204 lib/pacemaker/pcmk_sched_actions.c out->message(out, "node-action", task, node_name, action->reason); out 1484 lib/pacemaker/pcmk_sched_actions.c pcmk__output_t *out = rsc->cluster->priv; out 1486 lib/pacemaker/pcmk_sched_actions.c out->info(out, out 645 lib/pacemaker/pcmk_sched_allocate.c pcmk__output_t *out = data_set->priv; out 661 lib/pacemaker/pcmk_sched_allocate.c out->message(out, crm_map_element_name(rsc->xml), 0, rsc, all, all); out 675 lib/pacemaker/pcmk_sched_allocate.c pcmk__output_t *out = pcmk__new_logger(); out 677 lib/pacemaker/pcmk_sched_allocate.c if (out == NULL) { out 681 lib/pacemaker/pcmk_sched_allocate.c pcmk__output_set_log_level(out, LOG_NOTICE); out 682 lib/pacemaker/pcmk_sched_allocate.c data_set->priv = out; out 684 lib/pacemaker/pcmk_sched_allocate.c out->begin_list(out, NULL, NULL, "Actions"); out 686 lib/pacemaker/pcmk_sched_allocate.c out->end_list(out); out 687 lib/pacemaker/pcmk_sched_allocate.c out->finish(out, CRM_EX_OK, true, NULL); out 688 lib/pacemaker/pcmk_sched_allocate.c pcmk__output_free(out); out 190 lib/pacemaker/pcmk_sched_clone.c goto out; out 196 lib/pacemaker/pcmk_sched_clone.c goto out; out 203 lib/pacemaker/pcmk_sched_clone.c goto out; out 243 lib/pacemaker/pcmk_sched_clone.c out: out 766 lib/pacemaker/pcmk_sched_promotable.c pcmk__output_t *out = data_set->priv; out 767 lib/pacemaker/pcmk_sched_promotable.c out->message(out, "promotion-score", child_rsc, chosen, score); out 281 lib/pacemaker/pcmk_sched_resource.c pcmk__output_t *out = rsc->cluster->priv; out 312 lib/pacemaker/pcmk_sched_resource.c out->message(out, "rsc-action", rsc, current, next); out 339 lib/pacemaker/pcmk_sched_resource.c pcmk__output_t *out = rsc->cluster->priv; out 408 lib/pacemaker/pcmk_sched_resource.c out->message(out, "resource-util", rsc, chosen, __func__); out 460 lib/pacemaker/pcmk_sched_utilization.c pcmk__output_t *out = data_set->priv; out 462 lib/pacemaker/pcmk_sched_utilization.c out->message(out, "node-capacity", node, desc); out 27 lib/pacemaker/pcmk_simulate.c static pcmk__output_t *out = NULL; out 142 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = data_set->priv; out 151 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 152 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "%s", title); out 153 lib/pacemaker/pcmk_simulate.c out->message(out, "cluster-status", data_set, stonith_rc, NULL, FALSE, out 155 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 170 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = data_set->priv; out 172 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 173 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Transition Summary"); out 175 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 189 lib/pacemaker/pcmk_simulate.c reset(pe_working_set_t *data_set, xmlNodePtr input, pcmk__output_t *out, out 193 lib/pacemaker/pcmk_simulate.c data_set->priv = out; out 329 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = data_set->priv; out 335 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(out != NULL); out 371 lib/pacemaker/pcmk_simulate.c out->message(out, "profile", xml_file, start, end); out 377 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = data_set->priv; out 382 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(out != NULL); out 388 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Timings"); out 408 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 429 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = data_set->priv; out 432 lib/pacemaker/pcmk_simulate.c CRM_ASSERT(out != NULL); out 438 lib/pacemaker/pcmk_simulate.c out->info(out, "Setting effective cluster time: %s", use_date); out 451 lib/pacemaker/pcmk_simulate.c out->info(out, "Using the original execution date of: %s", when); out 473 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-pseudo-action", node, task); out 548 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, operation, node, out 570 lib/pacemaker/pcmk_simulate.c cib_resource = pcmk__inject_resource_history(out, cib_node, resource, out 584 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-rsc-action", resource, op->op_type, node, out 620 lib/pacemaker/pcmk_simulate.c out->err(out, "Invalid failed operation '%s' " out 625 lib/pacemaker/pcmk_simulate.c out->info(out, "Pretending action %d failed with rc=%d", out 629 lib/pacemaker/pcmk_simulate.c pcmk__inject_failcount(out, cib_node, match_name, op->op_type, out 665 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-cluster-action", node, task, rsc); out 685 lib/pacemaker/pcmk_simulate.c out->message(out, "inject-fencing-action", target, op); out 735 lib/pacemaker/pcmk_simulate.c out = data_set->priv; out 740 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 741 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Executing Cluster Transition"); out 755 lib/pacemaker/pcmk_simulate.c out->err(out, "Transition failed: %s", out 758 lib/pacemaker/pcmk_simulate.c out->err(out, "An invalid transition was produced"); out 762 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 771 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 777 lib/pacemaker/pcmk_simulate.c pcmk__simulate(pe_working_set_t *data_set, pcmk__output_t *out, out 792 lib/pacemaker/pcmk_simulate.c reset(data_set, input, out, use_date, flags); out 795 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 797 lib/pacemaker/pcmk_simulate.c printed = out->message(out, "maint-mode", data_set->flags); out 801 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 802 lib/pacemaker/pcmk_simulate.c printed = out->info(out, out 831 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 842 lib/pacemaker/pcmk_simulate.c reset(data_set, input, out, use_date, flags); out 867 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 868 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, out 873 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 874 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Allocation Scores"); out 878 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 879 lib/pacemaker/pcmk_simulate.c out->begin_list(out, NULL, NULL, "Utilization Information"); out 894 lib/pacemaker/pcmk_simulate.c out->end_list(out); out 898 lib/pacemaker/pcmk_simulate.c data_set->priv = out; out 921 lib/pacemaker/pcmk_simulate.c if (!out->is_quiet(out)) { out 932 lib/pacemaker/pcmk_simulate.c PCMK__OUTPUT_SPACER_IF(out, printed == pcmk_rc_ok); out 938 lib/pacemaker/pcmk_simulate.c if (out->is_quiet(out)) { out 966 lib/pacemaker/pcmk_simulate.c pcmk__output_t *out = NULL; out 969 lib/pacemaker/pcmk_simulate.c rc = pcmk__out_prologue(&out, xml); out 974 lib/pacemaker/pcmk_simulate.c pe__register_messages(out); out 975 lib/pacemaker/pcmk_simulate.c pcmk__register_lib_messages(out); out 977 lib/pacemaker/pcmk_simulate.c rc = pcmk__simulate(data_set, out, injections, flags, section_opts, out 979 lib/pacemaker/pcmk_simulate.c pcmk__out_epilogue(out, xml, rc); out 25 lib/pacemaker/pcmk_status.c cib_connect(pcmk__output_t *out, cib_t *cib, xmlNode **current_cib) out 42 lib/pacemaker/pcmk_status.c out->err(out, "Could not connect to the CIB: %s", out 97 lib/pacemaker/pcmk_status.c pacemakerd_status(pcmk__output_t *out) out 105 lib/pacemaker/pcmk_status.c out->err(out, "Could not connect to pacemakerd: %s", out 116 lib/pacemaker/pcmk_status.c out->err(out, "Could not connect to pacemakerd: %s", out 139 lib/pacemaker/pcmk_status.c pcmk__output_cluster_status(pcmk__output_t *out, stonith_t *st, cib_t *cib, out 156 lib/pacemaker/pcmk_status.c out->err(out, "Upgrade failed: %s", pcmk_rc_str(rc)); out 170 lib/pacemaker/pcmk_status.c data_set->priv = out; out 189 lib/pacemaker/pcmk_status.c rc = pcmk__output_simple_status(out, data_set); out 191 lib/pacemaker/pcmk_status.c out->message(out, "cluster-status", data_set, pcmk_rc2exitc(history_rc), out 209 lib/pacemaker/pcmk_status.c pcmk__output_t *out = NULL; out 220 lib/pacemaker/pcmk_status.c rc = pcmk__out_prologue(&out, xml); out 226 lib/pacemaker/pcmk_status.c pcmk__register_lib_messages(out); out 227 lib/pacemaker/pcmk_status.c pe__register_messages(out); out 228 lib/pacemaker/pcmk_status.c stonith__register_messages(out); out 230 lib/pacemaker/pcmk_status.c rc = pcmk__status(out, cib, pcmk__fence_history_full, pcmk_section_all, out 232 lib/pacemaker/pcmk_status.c pcmk__out_epilogue(out, xml, rc); out 239 lib/pacemaker/pcmk_status.c pcmk__status(pcmk__output_t *out, cib_t *cib, enum pcmk__fence_history fence_history, out 255 lib/pacemaker/pcmk_status.c rc = pacemakerd_status(out); out 271 lib/pacemaker/pcmk_status.c rc = cib_connect(out, cib, ¤t_cib); out 276 lib/pacemaker/pcmk_status.c rc = pcmk__output_cluster_status(out, st, cib, current_cib, fence_history, show, show_opts, out 296 lib/pacemaker/pcmk_status.c pcmk__output_simple_status(pcmk__output_t *out, pe_working_set_t *data_set) out 332 lib/pacemaker/pcmk_status.c out->info(out, "CLUSTER WARN: %s%s%s", out 352 lib/pacemaker/pcmk_status.c out->info(out, "CLUSTER OK: %d node%s online%s%s, " out 1491 lib/pengine/bundle.c pe__bundle_xml(pcmk__output_t *out, va_list args) out 1540 lib/pengine/bundle.c rc = pe__name_and_nvpairs_xml(out, true, "bundle", 6, out 1551 lib/pengine/bundle.c rc = pe__name_and_nvpairs_xml(out, true, "replica", 1, "id", id); out 1556 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), show_opts, out 1561 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), show_opts, out 1566 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), show_opts, out 1571 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), show_opts, out 1575 lib/pengine/bundle.c pcmk__output_xml_pop_parent(out); // replica out 1579 lib/pengine/bundle.c pcmk__output_xml_pop_parent(out); // bundle out 1586 lib/pengine/bundle.c pe__bundle_replica_output_html(pcmk__output_t *out, pe__bundle_replica_t *replica, out 1610 lib/pengine/bundle.c pe__common_output_html(out, rsc, buffer, node, show_opts); out 1615 lib/pengine/bundle.c pe__bundle_html(pcmk__output_t *out, va_list args) out 1662 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s", out 1669 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, "Replica[%d]", replica->offset); out 1673 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), out 1678 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), out 1683 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), out 1688 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), out 1693 lib/pengine/bundle.c out->end_list(out); out 1698 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s", out 1704 lib/pengine/bundle.c pe__bundle_replica_output_html(out, replica, pe__current_node(replica->container), out 1709 lib/pengine/bundle.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1714 lib/pengine/bundle.c pe__bundle_replica_output_text(pcmk__output_t *out, pe__bundle_replica_t *replica, out 1738 lib/pengine/bundle.c pe__common_output_text(out, rsc, buffer, node, show_opts); out 1743 lib/pengine/bundle.c pe__bundle_text(pcmk__output_t *out, va_list args) out 1790 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s", out 1797 lib/pengine/bundle.c out->list_item(out, NULL, "Replica[%d]", replica->offset); out 1800 lib/pengine/bundle.c out->begin_list(out, NULL, NULL, NULL); out 1803 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->ip->xml), out 1808 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->child->xml), out 1813 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->container->xml), out 1818 lib/pengine/bundle.c out->message(out, crm_map_element_name(replica->remote->xml), out 1822 lib/pengine/bundle.c out->end_list(out); out 1826 lib/pengine/bundle.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Container bundle%s: %s [%s]%s%s", out 1832 lib/pengine/bundle.c pe__bundle_replica_output_text(out, replica, pe__current_node(replica->container), out 1837 lib/pengine/bundle.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 83 lib/pengine/clone.c clone_header(pcmk__output_t *out, int *rc, pe_resource_t *rsc, clone_variant_data_t *clone_data) out 105 lib/pengine/clone.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Clone Set: %s [%s] (%s)", out 110 lib/pengine/clone.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Clone Set: %s [%s]", out 695 lib/pengine/clone.c pe__clone_xml(pcmk__output_t *out, va_list args) out 731 lib/pengine/clone.c rc = pe__name_and_nvpairs_xml(out, true, "clone", 8, out 743 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, out 748 lib/pengine/clone.c pcmk__output_xml_pop_parent(out); out 757 lib/pengine/clone.c pe__clone_default(pcmk__output_t *out, va_list args) out 869 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); out 873 lib/pengine/clone.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, out 880 lib/pengine/clone.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 900 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); out 902 lib/pengine/clone.c out->list_item(out, NULL, PROMOTED_INSTANCES ": [ %s ]", list_text); out 924 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); out 930 lib/pengine/clone.c out->list_item(out, NULL, out 934 lib/pengine/clone.c out->list_item(out, NULL, UNPROMOTED_INSTANCES ": [ %s ]", out 939 lib/pengine/clone.c out->list_item(out, NULL, "Started: [ %s ]", list_text); out 1001 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); out 1009 lib/pengine/clone.c out->list_item(out, NULL, "%s: [ %s ]", status, str); out 1024 lib/pengine/clone.c clone_header(out, &rc, rsc, clone_data); out 1025 lib/pengine/clone.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1030 lib/pengine/clone.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 288 lib/pengine/common.c pe_metadata(pcmk__output_t *out) out 294 lib/pengine/common.c out->output_xml(out, "metadata", s); out 43 lib/pengine/group.c group_header(pcmk__output_t *out, int *rc, pe_resource_t *rsc, int n_inactive, bool show_inactive) out 63 lib/pengine/group.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Resource Group: %s (%s)", out 67 lib/pengine/group.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, *rc, "Resource Group: %s", rsc->id); out 261 lib/pengine/group.c pe__group_xml(pcmk__output_t *out, va_list args) out 289 lib/pengine/group.c rc = pe__name_and_nvpairs_xml(out, true, "group", 4 out 298 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, child_rsc, out 303 lib/pengine/group.c pcmk__output_xml_pop_parent(out); out 311 lib/pengine/group.c pe__group_default(pcmk__output_t *out, va_list args) out 334 lib/pengine/group.c group_header(out, &rc, rsc, !active && partially_active ? inactive_resources(rsc) : 0, out 336 lib/pengine/group.c pe__rscs_brief_output(out, rscs, show_opts | pcmk_show_inactive_rscs); out 350 lib/pengine/group.c group_header(out, &rc, rsc, !active && partially_active ? inactive_resources(rsc) : 0, out 352 lib/pengine/group.c out->message(out, crm_map_element_name(child_rsc->xml), show_opts, out 357 lib/pengine/group.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 686 lib/pengine/native.c pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, out 733 lib/pengine/native.c list_node = pcmk__output_create_html_node(out, "li", NULL, NULL, NULL); out 742 lib/pengine/native.c pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, out 765 lib/pengine/native.c out->list_item(out, NULL, "%s", s); out 910 lib/pengine/native.c pe__resource_xml(pcmk__output_t *out, va_list args) out 944 lib/pengine/native.c rc = pe__name_and_nvpairs_xml(out, true, "resource", 12, out 967 lib/pengine/native.c rc = pe__name_and_nvpairs_xml(out, false, "node", 3, out 975 lib/pengine/native.c pcmk__output_xml_pop_parent(out); out 981 lib/pengine/native.c pe__resource_html(pcmk__output_t *out, va_list args) out 1000 lib/pengine/native.c return pe__common_output_html(out, rsc, rsc_printable_id(rsc), node, show_opts); out 1005 lib/pengine/native.c pe__resource_text(pcmk__output_t *out, va_list args) out 1024 lib/pengine/native.c return pe__common_output_text(out, rsc, rsc_printable_id(rsc), node, show_opts); out 1269 lib/pengine/native.c pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, uint32_t show_opts) out 1321 lib/pengine/native.c out->list_item(out, NULL, "%d/%d\t(%s):\tActive %s", out 1326 lib/pengine/native.c out->list_item(out, NULL, "%d\t(%s):\tActive %s", out 1335 lib/pengine/native.c out->list_item(out, NULL, "%d/%d\t(%s):\tActive", out 549 lib/pengine/pe_digest.c pcmk__output_t *out = data_set->priv; out 550 lib/pengine/pe_digest.c out->info(out, "Only 'private' parameters to %s " out 561 lib/pengine/pe_digest.c pcmk__output_t *out = data_set->priv; out 565 lib/pengine/pe_digest.c out->info(out, "Parameters to %s for unfencing " out 314 lib/pengine/pe_output.c cluster_summary(pcmk__output_t *out, va_list args) { out 323 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 324 lib/pengine/pe_output.c out->message(out, "cluster-stack", stack_s); out 336 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 337 lib/pengine/pe_output.c out->message(out, "cluster-dc", data_set->dc_node, quorum, dc_version_s, dc_name); out 347 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 348 lib/pengine/pe_output.c out->message(out, "cluster-times", last_written, user, client, origin); out 352 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 353 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), out 359 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 360 lib/pengine/pe_output.c out->message(out, "cluster-options", data_set); out 363 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 366 lib/pengine/pe_output.c if (out->message(out, "maint-mode", data_set->flags) == pcmk_rc_ok) { out 376 lib/pengine/pe_output.c cluster_summary_html(pcmk__output_t *out, va_list args) { out 385 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 386 lib/pengine/pe_output.c out->message(out, "cluster-stack", stack_s); out 399 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 400 lib/pengine/pe_output.c out->message(out, "cluster-dc", data_set->dc_node, quorum, dc_version_s, dc_name); out 410 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 411 lib/pengine/pe_output.c out->message(out, "cluster-times", last_written, user, client, origin); out 415 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Cluster Summary"); out 416 lib/pengine/pe_output.c out->message(out, "cluster-counts", g_list_length(data_set->nodes), out 426 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 428 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Config Options"); out 429 lib/pengine/pe_output.c out->message(out, "cluster-options", data_set); out 432 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 435 lib/pengine/pe_output.c if (out->message(out, "maint-mode", data_set->flags) == pcmk_rc_ok) { out 496 lib/pengine/pe_output.c pe__name_and_nvpairs_xml(pcmk__output_t *out, bool is_list, const char *tag_name out 504 lib/pengine/pe_output.c xml_node = pcmk__output_xml_peek_parent(out); out 521 lib/pengine/pe_output.c pcmk__output_xml_push_parent(out, xml_node); out 541 lib/pengine/pe_output.c ban_html(pcmk__output_t *out, va_list args) { out 552 lib/pengine/pe_output.c pcmk__output_create_html_node(out, "li", NULL, NULL, buf); out 561 lib/pengine/pe_output.c ban_text(pcmk__output_t *out, va_list args) { out 568 lib/pengine/pe_output.c out->list_item(out, NULL, "%s\tprevents %s from running %son %s", out 578 lib/pengine/pe_output.c ban_xml(pcmk__output_t *out, va_list args) { out 586 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "ban", out 608 lib/pengine/pe_output.c ban_list(pcmk__output_t *out, va_list args) { out 635 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Negative Location Constraints"); out 636 lib/pengine/pe_output.c out->message(out, "ban", node, location, show_opts); out 641 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 647 lib/pengine/pe_output.c cluster_counts_html(pcmk__output_t *out, va_list args) { out 653 lib/pengine/pe_output.c xmlNodePtr nodes_node = pcmk__output_create_xml_node(out, "li", NULL); out 654 lib/pengine/pe_output.c xmlNodePtr resources_node = pcmk__output_create_xml_node(out, "li", NULL); out 709 lib/pengine/pe_output.c cluster_counts_text(pcmk__output_t *out, va_list args) { out 715 lib/pengine/pe_output.c out->list_item(out, NULL, "%d node%s configured", out 719 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " out 725 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " out 729 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured " out 734 lib/pengine/pe_output.c out->list_item(out, NULL, "%d resource instance%s configured", out 743 lib/pengine/pe_output.c cluster_counts_xml(pcmk__output_t *out, va_list args) { out 749 lib/pengine/pe_output.c xmlNodePtr nodes_node = pcmk__output_create_xml_node(out, "nodes_configured", NULL); out 750 lib/pengine/pe_output.c xmlNodePtr resources_node = pcmk__output_create_xml_node(out, "resources_configured", NULL); out 773 lib/pengine/pe_output.c cluster_dc_html(pcmk__output_t *out, va_list args) { out 779 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 807 lib/pengine/pe_output.c cluster_dc_text(pcmk__output_t *out, va_list args) { out 814 lib/pengine/pe_output.c out->list_item(out, "Current DC", "%s (version %s) - partition %s quorum", out 818 lib/pengine/pe_output.c out->list_item(out, "Current DC", "NONE"); out 826 lib/pengine/pe_output.c cluster_dc_xml(pcmk__output_t *out, va_list args) { out 833 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "current_dc", out 841 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "current_dc", out 851 lib/pengine/pe_output.c cluster_maint_mode_text(pcmk__output_t *out, va_list args) { out 855 lib/pengine/pe_output.c pcmk__formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 856 lib/pengine/pe_output.c pcmk__formatted_printf(out, " The cluster will not attempt to start, stop or recover services\n"); out 859 lib/pengine/pe_output.c pcmk__formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 860 lib/pengine/pe_output.c pcmk__formatted_printf(out, " The cluster will keep all resources stopped\n"); out 869 lib/pengine/pe_output.c cluster_options_html(pcmk__output_t *out, va_list args) { out 872 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes %s", out 875 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is %s", out 880 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); out 884 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); out 888 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " out 893 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); out 897 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); out 902 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 909 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 916 lib/pengine/pe_output.c out->list_item(out, NULL, "Resource management: enabled"); out 924 lib/pengine/pe_output.c cluster_options_log(pcmk__output_t *out, va_list args) { out 928 lib/pengine/pe_output.c return out->info(out, "Resource management is DISABLED. The cluster will not attempt to start, stop or recover services."); out 930 lib/pengine/pe_output.c return out->info(out, "Resource management is DISABLED. The cluster has stopped all resources."); out 938 lib/pengine/pe_output.c cluster_options_text(pcmk__output_t *out, va_list args) { out 941 lib/pengine/pe_output.c out->list_item(out, NULL, "STONITH of failed nodes %s", out 944 lib/pengine/pe_output.c out->list_item(out, NULL, "Cluster is %s", out 949 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Freeze resources"); out 953 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Stop ALL resources"); out 957 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Demote promotable " out 962 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Ignore"); out 966 lib/pengine/pe_output.c out->list_item(out, NULL, "No quorum policy: Suicide"); out 975 lib/pengine/pe_output.c cluster_options_xml(pcmk__output_t *out, va_list args) { out 1004 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "cluster_options", out 1021 lib/pengine/pe_output.c cluster_stack_html(pcmk__output_t *out, va_list args) { out 1024 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "li", NULL); out 1034 lib/pengine/pe_output.c cluster_stack_text(pcmk__output_t *out, va_list args) { out 1037 lib/pengine/pe_output.c out->list_item(out, "Stack", "%s", stack_s); out 1043 lib/pengine/pe_output.c cluster_stack_xml(pcmk__output_t *out, va_list args) { out 1046 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "stack", out 1055 lib/pengine/pe_output.c cluster_times_html(pcmk__output_t *out, va_list args) { out 1061 lib/pengine/pe_output.c xmlNodePtr updated_node = pcmk__output_create_xml_node(out, "li", NULL); out 1062 lib/pengine/pe_output.c xmlNodePtr changed_node = pcmk__output_create_xml_node(out, "li", NULL); out 1079 lib/pengine/pe_output.c cluster_times_xml(pcmk__output_t *out, va_list args) { out 1085 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "last_update", out 1088 lib/pengine/pe_output.c pcmk__output_create_xml_node(out, "last_change", out 1100 lib/pengine/pe_output.c cluster_times_text(pcmk__output_t *out, va_list args) { out 1108 lib/pengine/pe_output.c out->list_item(out, "Last updated", "%s", pcmk__epoch2str(NULL)); out 1109 lib/pengine/pe_output.c out->list_item(out, "Last change", " %s", buf); out 1120 lib/pengine/pe_output.c failed_action_friendly(pcmk__output_t *out, xmlNodePtr xml_op, out 1185 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); out 1196 lib/pengine/pe_output.c failed_action_technical(pcmk__output_t *out, xmlNodePtr xml_op, out 1245 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); out 1251 lib/pengine/pe_output.c failed_action_default(pcmk__output_t *out, va_list args) out 1278 lib/pengine/pe_output.c failed_action_technical(out, xml_op, op_key, node_name, rc, status, out 1281 lib/pengine/pe_output.c failed_action_friendly(out, xml_op, op_key, node_name, rc, status, out 1289 lib/pengine/pe_output.c failed_action_xml(pcmk__output_t *out, va_list args) { out 1308 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, "failure", out 1352 lib/pengine/pe_output.c failed_action_list(pcmk__output_t *out, va_list args) { out 1393 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Failed Resource Actions"); out 1394 lib/pengine/pe_output.c out->message(out, "failed-action", xml_op, show_opts); out 1397 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1447 lib/pengine/pe_output.c node_html(pcmk__output_t *out, va_list args) { out 1462 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s:", node_name); out 1463 lib/pengine/pe_output.c item_node = pcmk__output_xml_create_parent(out, "li", NULL); out 1469 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); out 1470 lib/pengine/pe_output.c pe__rscs_brief_output(out, rscs, new_show_opts); out 1471 lib/pengine/pe_output.c out->end_list(out); out 1474 lib/pengine/pe_output.c pcmk__output_xml_pop_parent(out); out 1475 lib/pengine/pe_output.c out->end_list(out); out 1481 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s:", node_name); out 1482 lib/pengine/pe_output.c item_node = pcmk__output_xml_create_parent(out, "li", NULL); out 1488 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Resources"); out 1491 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, out 1495 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1496 lib/pengine/pe_output.c pcmk__output_xml_pop_parent(out); out 1497 lib/pengine/pe_output.c out->end_list(out); out 1502 lib/pengine/pe_output.c item_node = pcmk__output_create_xml_node(out, "li", NULL); out 1509 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s:", node_name); out 1572 lib/pengine/pe_output.c node_text(pcmk__output_t *out, va_list args) { out 1607 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", str->str); out 1608 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); out 1610 lib/pengine/pe_output.c pe__rscs_brief_output(out, rscs, new_show_opts); out 1612 lib/pengine/pe_output.c out->end_list(out); out 1613 lib/pengine/pe_output.c out->end_list(out); out 1621 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", str->str); out 1622 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Resources"); out 1628 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, out 1632 lib/pengine/pe_output.c out->end_list(out); out 1633 lib/pengine/pe_output.c out->end_list(out); out 1636 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", str->str); out 1643 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Node: %s", node_name); out 1653 lib/pengine/pe_output.c node_xml(pcmk__output_t *out, va_list args) { out 1686 lib/pengine/pe_output.c pe__name_and_nvpairs_xml(out, true, "node", 14, out 1703 lib/pengine/pe_output.c xmlNodePtr xml_node = pcmk__output_xml_peek_parent(out); out 1714 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, out 1721 lib/pengine/pe_output.c out->end_list(out); out 1723 lib/pengine/pe_output.c pcmk__output_xml_create_parent(out, "node", out 1733 lib/pengine/pe_output.c node_attribute_text(pcmk__output_t *out, va_list args) { out 1748 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is lost", name, value); out 1750 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s\t: Connectivity is degraded (Expected=%d)", name, value, expected_score); out 1752 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); out 1755 lib/pengine/pe_output.c out->list_item(out, NULL, "%-32s\t: %-10s", name, value); out 1763 lib/pengine/pe_output.c node_attribute_html(pcmk__output_t *out, va_list args) { out 1772 lib/pengine/pe_output.c xmlNodePtr item_node = pcmk__output_create_xml_node(out, "li", NULL); out 1791 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s", name, value); out 1799 lib/pengine/pe_output.c node_and_op(pcmk__output_t *out, va_list args) { out 1840 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s (node=%s, call=%s, rc=%s%s): %s", out 1855 lib/pengine/pe_output.c node_and_op_xml(pcmk__output_t *out, va_list args) { out 1868 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, "operation", out 1906 lib/pengine/pe_output.c node_attribute_xml(pcmk__output_t *out, va_list args) { out 1912 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "attribute", out 1929 lib/pengine/pe_output.c node_attribute_list(pcmk__output_t *out, va_list args) { out 1964 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, "Node Attributes"); out 1966 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, FALSE, only_node, only_rsc); out 1980 lib/pengine/pe_output.c out->message(out, "node-attribute", name, value, add_extra, out 1985 lib/pengine/pe_output.c out->end_list(out); out 1988 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 1994 lib/pengine/pe_output.c node_capacity(pcmk__output_t *out, va_list args) out 2003 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", dump_text); out 2011 lib/pengine/pe_output.c node_capacity_xml(pcmk__output_t *out, va_list args) out 2016 lib/pengine/pe_output.c xmlNodePtr xml_node = pcmk__output_create_xml_node(out, "capacity", out 2028 lib/pengine/pe_output.c node_history_list(pcmk__output_t *out, va_list args) { out 2080 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, FALSE, only_node, out 2084 lib/pengine/pe_output.c out->message(out, "resource-history", rsc, rsc_id, FALSE, out 2097 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, FALSE, only_node, out 2101 lib/pengine/pe_output.c out->message(out, "resource-operation-list", data_set, rsc, node, out 2106 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2112 lib/pengine/pe_output.c node_list_html(pcmk__output_t *out, va_list args) { out 2129 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, FALSE, rc, "Node List"); out 2131 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, TRUE, only_node, only_rsc); out 2134 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2140 lib/pengine/pe_output.c node_list_text(pcmk__output_t *out, va_list args) { out 2172 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer == TRUE, rc, "Node List"); out 2212 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, TRUE, only_node, only_rsc); out 2218 lib/pengine/pe_output.c out->list_item(out, "Online", "[ %s ]", online_nodes); out 2222 lib/pengine/pe_output.c out->list_item(out, "OFFLINE", "[ %s ]", offline_nodes); out 2226 lib/pengine/pe_output.c out->list_item(out, "RemoteOnline", "[ %s ]", online_remote_nodes); out 2230 lib/pengine/pe_output.c out->list_item(out, "RemoteOFFLINE", "[ %s ]", offline_remote_nodes); out 2234 lib/pengine/pe_output.c out->list_item(out, "GuestOnline", "[ %s ]", online_guest_nodes); out 2238 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2244 lib/pengine/pe_output.c node_list_xml(pcmk__output_t *out, va_list args) { out 2251 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "nodes"); out 2260 lib/pengine/pe_output.c out->message(out, "node", node, show_opts, TRUE, only_node, only_rsc); out 2262 lib/pengine/pe_output.c out->end_list(out); out 2270 lib/pengine/pe_output.c node_summary(pcmk__output_t *out, va_list args) { out 2300 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_HEADER(out, print_spacer, rc, out 2303 lib/pengine/pe_output.c out->message(out, "node-history-list", data_set, node, node_state, out 2307 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2313 lib/pengine/pe_output.c node_weight(pcmk__output_t *out, va_list args) out 2321 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s allocation score on %s: %s", out 2324 lib/pengine/pe_output.c out->list_item(out, NULL, "%s: %s = %s", prefix, uname, score); out 2332 lib/pengine/pe_output.c node_weight_xml(pcmk__output_t *out, va_list args) out 2339 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "node_weight", out 2354 lib/pengine/pe_output.c op_history_text(pcmk__output_t *out, va_list args) { out 2364 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); out 2372 lib/pengine/pe_output.c op_history_xml(pcmk__output_t *out, va_list args) { out 2380 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "operation_history", out 2422 lib/pengine/pe_output.c promotion_score(pcmk__output_t *out, va_list args) out 2428 lib/pengine/pe_output.c out->list_item(out, NULL, "%s promotion score on %s: %s", out 2437 lib/pengine/pe_output.c promotion_score_xml(pcmk__output_t *out, va_list args) out 2443 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_create_xml_node(out, "promotion_score", out 2457 lib/pengine/pe_output.c resource_config(pcmk__output_t *out, va_list args) { out 2469 lib/pengine/pe_output.c pcmk__formatted_printf(out, "Resource XML:\n"); out 2470 lib/pengine/pe_output.c out->output_xml(out, "xml", rsc_xml); out 2478 lib/pengine/pe_output.c resource_history_text(pcmk__output_t *out, va_list args) { out 2489 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "%s", buf); out 2491 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", buf); out 2500 lib/pengine/pe_output.c resource_history_xml(pcmk__output_t *out, va_list args) { out 2508 lib/pengine/pe_output.c xmlNodePtr node = pcmk__output_xml_create_parent(out, "resource_history", out 2535 lib/pengine/pe_output.c pcmk__output_xml_pop_parent(out); out 2542 lib/pengine/pe_output.c print_resource_header(pcmk__output_t *out, uint32_t show_opts) out 2546 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Inactive Resources"); out 2548 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Full List of Resources"); out 2550 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Active Resources"); out 2558 lib/pengine/pe_output.c resource_list(pcmk__output_t *out, va_list args) out 2584 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 2585 lib/pengine/pe_output.c print_resource_header(out, show_opts); out 2588 lib/pengine/pe_output.c rc = pe__rscs_brief_output(out, rscs, show_opts); out 2626 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 2627 lib/pengine/pe_output.c print_resource_header(out, show_opts); out 2632 lib/pengine/pe_output.c x = out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, out 2641 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 2642 lib/pengine/pe_output.c print_resource_header(out, show_opts); out 2647 lib/pengine/pe_output.c out->list_item(out, NULL, "No inactive resources"); out 2649 lib/pengine/pe_output.c out->list_item(out, NULL, "No resources"); out 2651 lib/pengine/pe_output.c out->list_item(out, NULL, "No active resources"); out 2656 lib/pengine/pe_output.c out->end_list(out); out 2665 lib/pengine/pe_output.c resource_operation_list(pcmk__output_t *out, va_list args) out 2699 lib/pengine/pe_output.c out->message(out, "resource-history", rsc, rsc_printable_id(rsc), TRUE, out 2705 lib/pengine/pe_output.c out->message(out, "op-history", xml_op, task, interval_ms_s, out 2712 lib/pengine/pe_output.c PCMK__OUTPUT_LIST_FOOTER(out, rc); out 2718 lib/pengine/pe_output.c resource_util(pcmk__output_t *out, va_list args) out 2728 lib/pengine/pe_output.c out->list_item(out, NULL, "%s", dump_text); out 2736 lib/pengine/pe_output.c resource_util_xml(pcmk__output_t *out, va_list args) out 2742 lib/pengine/pe_output.c xmlNodePtr xml_node = pcmk__output_create_xml_node(out, "utilization", out 2754 lib/pengine/pe_output.c ticket_html(pcmk__output_t *out, va_list args) { out 2761 lib/pengine/pe_output.c out->list_item(out, NULL, "%s:\t%s%s %s", ticket->id, out 2767 lib/pengine/pe_output.c out->list_item(out, NULL, "%s:\t%s%s", ticket->id, out 2777 lib/pengine/pe_output.c ticket_text(pcmk__output_t *out, va_list args) { out 2784 lib/pengine/pe_output.c out->list_item(out, ticket->id, "%s%s %s", out 2790 lib/pengine/pe_output.c out->list_item(out, ticket->id, "%s%s", out 2800 lib/pengine/pe_output.c ticket_xml(pcmk__output_t *out, va_list args) { out 2805 lib/pengine/pe_output.c node = pcmk__output_create_xml_node(out, "ticket", out 2820 lib/pengine/pe_output.c ticket_list(pcmk__output_t *out, va_list args) { out 2831 lib/pengine/pe_output.c PCMK__OUTPUT_SPACER_IF(out, print_spacer); out 2834 lib/pengine/pe_output.c out->begin_list(out, NULL, NULL, "Tickets"); out 2840 lib/pengine/pe_output.c out->message(out, "ticket", ticket); out 2844 lib/pengine/pe_output.c out->end_list(out); out 2923 lib/pengine/pe_output.c pe__register_messages(pcmk__output_t *out) { out 2924 lib/pengine/pe_output.c pcmk__register_messages(out, fmt_functions); out 2928 lib/pengine/pe_output.c pe__output_node(pe_node_t *node, gboolean details, pcmk__output_t *out) out 2957 lib/pengine/pe_output.c out->message(out, crm_map_element_name(rsc->xml), show_opts, out 235 lib/pengine/utils.c pcmk__output_t *out = data_set->priv; out 245 lib/pengine/utils.c out->message(out, "node-weight", rsc, comment, node->details->uname, score); out 2182 lib/pengine/utils.c pcmk__output_t *out = data_set->priv; out 2183 lib/pengine/utils.c out->info(out, "notice: Unfencing %s (remote): because the definition of %s changed", out 157 maint/gnulib/lib/argmatch.h void argmatch_##Name##_usage (FILE *out); \ out 216 maint/gnulib/lib/argmatch.h argmatch_##Name##_valid (FILE *out) \ out 223 maint/gnulib/lib/argmatch.h fputs (gettext ("Valid arguments are:"), out); \ out 227 maint/gnulib/lib/argmatch.h fprintf (out, "\n - %s", quote (g->args[i].arg)); \ out 229 maint/gnulib/lib/argmatch.h fprintf (out, ", %s", quote (g->args[i].arg)); \ out 230 maint/gnulib/lib/argmatch.h putc ('\n', out); \ out 274 maint/gnulib/lib/argmatch.h argmatch_##Name##_usage (FILE *out) \ out 283 maint/gnulib/lib/argmatch.h fprintf (out, "%s\n", gettext (g->doc_pre)); \ out 292 maint/gnulib/lib/argmatch.h col += fprintf (out, " %s", g->docs[i].arg); \ out 301 maint/gnulib/lib/argmatch.h fprintf (out, ",\n"); \ out 307 maint/gnulib/lib/argmatch.h col += fprintf (out, " "); \ out 311 maint/gnulib/lib/argmatch.h col += fprintf (out, ","); \ out 312 maint/gnulib/lib/argmatch.h col += fprintf (out, " %s", g->args[j].arg); \ out 317 maint/gnulib/lib/argmatch.h fprintf (out, "\n"); \ out 320 maint/gnulib/lib/argmatch.h fprintf (out, "%*s%s\n", \ out 324 maint/gnulib/lib/argmatch.h fprintf (out, "%s\n", gettext (g->doc_post)); \ out 403 maint/gnulib/lib/argp-fmtstream.c int out; out 416 maint/gnulib/lib/argp-fmtstream.c out = __vsnprintf (fs->p, avail, fmt, args); out 418 maint/gnulib/lib/argp-fmtstream.c if ((size_t) out >= avail) out 419 maint/gnulib/lib/argp-fmtstream.c size_guess = out + 1; out 421 maint/gnulib/lib/argp-fmtstream.c while ((size_t) out >= avail); out 423 maint/gnulib/lib/argp-fmtstream.c fs->p += out; out 425 maint/gnulib/lib/argp-fmtstream.c return out; out 68 maint/gnulib/lib/base32.c char *restrict out, idx_t outlen) out 75 maint/gnulib/lib/base32.c *out++ = b32str[(to_uchar (in[0]) >> 3) & 0x1f]; out 78 maint/gnulib/lib/base32.c *out++ = b32str[((to_uchar (in[0]) << 2) out 83 maint/gnulib/lib/base32.c *out++ = out 89 maint/gnulib/lib/base32.c *out++ = out 97 maint/gnulib/lib/base32.c *out++ = out 105 maint/gnulib/lib/base32.c *out++ = out 111 maint/gnulib/lib/base32.c *out++ = out 119 maint/gnulib/lib/base32.c *out++ = inlen ? b32str[to_uchar (in[4]) & 0x1f] : '='; out 129 maint/gnulib/lib/base32.c *out = '\0'; out 142 maint/gnulib/lib/base32.c base32_encode_alloc (const char *in, idx_t inlen, char **out) out 150 maint/gnulib/lib/base32.c *out = NULL; out 155 maint/gnulib/lib/base32.c *out = imalloc (outlen); out 156 maint/gnulib/lib/base32.c if (!*out) out 159 maint/gnulib/lib/base32.c base32_encode (in, inlen, *out, outlen); out 347 maint/gnulib/lib/base32.c *outp = out; \ out 362 maint/gnulib/lib/base32.c char *out = *outp; out 371 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[0])] << 3) out 389 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[1])] << 6) out 407 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[3])] << 4) out 424 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[4])] << 7) out 437 maint/gnulib/lib/base32.c *out++ = ((b32[to_uchar (in[6])] << 5) out 446 maint/gnulib/lib/base32.c *outp = out; out 471 maint/gnulib/lib/base32.c char *restrict out, idx_t *outlen) out 495 maint/gnulib/lib/base32.c if (!decode_8 (in, inlen, &out, &outleft)) out 516 maint/gnulib/lib/base32.c out -= outleft_save - outleft; out 536 maint/gnulib/lib/base32.c if (!decode_8 (non_nl, inlen, &out, &outleft)) out 561 maint/gnulib/lib/base32.c const char *in, idx_t inlen, char **out, out 571 maint/gnulib/lib/base32.c *out = imalloc (needlen); out 572 maint/gnulib/lib/base32.c if (!*out) out 575 maint/gnulib/lib/base32.c if (!base32_decode_ctx (ctx, in, inlen, *out, &needlen)) out 577 maint/gnulib/lib/base32.c free (*out); out 578 maint/gnulib/lib/base32.c *out = NULL; out 40 maint/gnulib/lib/base32.h char *restrict out, idx_t outlen); out 42 maint/gnulib/lib/base32.h extern idx_t base32_encode_alloc (const char *in, idx_t inlen, char **out); out 48 maint/gnulib/lib/base32.h char *restrict out, idx_t *outlen); out 52 maint/gnulib/lib/base32.h char **out, idx_t *outlen); out 54 maint/gnulib/lib/base32.h #define base32_decode(in, inlen, out, outlen) \ out 55 maint/gnulib/lib/base32.h base32_decode_ctx (NULL, in, inlen, out, outlen) out 57 maint/gnulib/lib/base32.h #define base32_decode_alloc(in, inlen, out, outlen) \ out 58 maint/gnulib/lib/base32.h base32_decode_alloc_ctx (NULL, in, inlen, out, outlen) out 71 maint/gnulib/lib/base64.c base64_encode_fast (const char *restrict in, idx_t inlen, char *restrict out) out 75 maint/gnulib/lib/base64.c *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; out 76 maint/gnulib/lib/base64.c *out++ = b64c[((to_uchar (in[0]) << 4) + (to_uchar (in[1]) >> 4)) & 0x3f]; out 77 maint/gnulib/lib/base64.c *out++ = b64c[((to_uchar (in[1]) << 2) + (to_uchar (in[2]) >> 6)) & 0x3f]; out 78 maint/gnulib/lib/base64.c *out++ = b64c[to_uchar (in[2]) & 0x3f]; out 91 maint/gnulib/lib/base64.c char *restrict out, idx_t outlen) out 102 maint/gnulib/lib/base64.c base64_encode_fast (in, inlen, out); out 108 maint/gnulib/lib/base64.c *out++ = b64c[(to_uchar (in[0]) >> 2) & 0x3f]; out 111 maint/gnulib/lib/base64.c *out++ = b64c[((to_uchar (in[0]) << 4) out 116 maint/gnulib/lib/base64.c *out++ = out 124 maint/gnulib/lib/base64.c *out++ = inlen ? b64c[to_uchar (in[2]) & 0x3f] : '='; out 134 maint/gnulib/lib/base64.c *out = '\0'; out 147 maint/gnulib/lib/base64.c base64_encode_alloc (const char *in, idx_t inlen, char **out) out 155 maint/gnulib/lib/base64.c *out = NULL; out 160 maint/gnulib/lib/base64.c *out = imalloc (outlen); out 161 maint/gnulib/lib/base64.c if (!*out) out 164 maint/gnulib/lib/base64.c base64_encode (in, inlen, *out, outlen); out 384 maint/gnulib/lib/base64.c *outp = out; \ out 399 maint/gnulib/lib/base64.c char *out = *outp; out 408 maint/gnulib/lib/base64.c *out++ = ((b64[to_uchar (in[0])] << 2) out 431 maint/gnulib/lib/base64.c *out++ = (((b64[to_uchar (in[1])] << 4) & 0xf0) out 451 maint/gnulib/lib/base64.c *out++ = (((b64[to_uchar (in[2])] << 6) & 0xc0) out 458 maint/gnulib/lib/base64.c *outp = out; out 483 maint/gnulib/lib/base64.c char *restrict out, idx_t *outlen) out 507 maint/gnulib/lib/base64.c if (!decode_4 (in, inlen, &out, &outleft)) out 528 maint/gnulib/lib/base64.c out -= outleft_save - outleft; out 548 maint/gnulib/lib/base64.c if (!decode_4 (non_nl, inlen, &out, &outleft)) out 573 maint/gnulib/lib/base64.c const char *in, idx_t inlen, char **out, out 583 maint/gnulib/lib/base64.c *out = imalloc (needlen); out 584 maint/gnulib/lib/base64.c if (!*out) out 587 maint/gnulib/lib/base64.c if (!base64_decode_ctx (ctx, in, inlen, *out, &needlen)) out 589 maint/gnulib/lib/base64.c free (*out); out 590 maint/gnulib/lib/base64.c *out = NULL; out 44 maint/gnulib/lib/base64.h char *restrict out, idx_t outlen); out 46 maint/gnulib/lib/base64.h extern idx_t base64_encode_alloc (const char *in, idx_t inlen, char **out); out 52 maint/gnulib/lib/base64.h char *restrict out, idx_t *outlen); out 56 maint/gnulib/lib/base64.h char **out, idx_t *outlen); out 58 maint/gnulib/lib/base64.h #define base64_decode(in, inlen, out, outlen) \ out 59 maint/gnulib/lib/base64.h base64_decode_ctx (NULL, in, inlen, out, outlen) out 61 maint/gnulib/lib/base64.h #define base64_decode_alloc(in, inlen, out, outlen) \ out 62 maint/gnulib/lib/base64.h base64_decode_alloc_ctx (NULL, in, inlen, out, outlen) out 161 maint/gnulib/lib/bitsetv.c bitsetv_matrix_dump (FILE *out, const char *title, bitsetv bset) out 166 maint/gnulib/lib/bitsetv.c fprintf (out, "%s BEGIN\n", title); out 169 maint/gnulib/lib/bitsetv.c fputs (" ", out); out 171 maint/gnulib/lib/bitsetv.c putc (i / 10 ? '0' + i / 10 : ' ', out); out 172 maint/gnulib/lib/bitsetv.c putc ('\n', out); out 173 maint/gnulib/lib/bitsetv.c fputs (" ", out); out 175 maint/gnulib/lib/bitsetv.c fprintf (out, "%d", (int) (i % 10)); out 176 maint/gnulib/lib/bitsetv.c putc ('\n', out); out 179 maint/gnulib/lib/bitsetv.c fputs (" .", out); out 181 maint/gnulib/lib/bitsetv.c putc ('-', out); out 182 maint/gnulib/lib/bitsetv.c fputs (".\n", out); out 187 maint/gnulib/lib/bitsetv.c fprintf (out, "%2lu|", (unsigned long) i); out 189 maint/gnulib/lib/bitsetv.c fputs (bitset_test (bset[i], j) ? "1" : " ", out); out 190 maint/gnulib/lib/bitsetv.c fputs ("|\n", out); out 194 maint/gnulib/lib/bitsetv.c fputs (" `", out); out 196 maint/gnulib/lib/bitsetv.c putc ('-', out); out 197 maint/gnulib/lib/bitsetv.c fputs ("'\n", out); out 200 maint/gnulib/lib/bitsetv.c fprintf (out, "%s END\n\n", title); out 1002 maint/gnulib/lib/fnmatch_loop.c goto out; out 1023 maint/gnulib/lib/fnmatch_loop.c goto out; out 1046 maint/gnulib/lib/fnmatch_loop.c goto out; \ out 1056 maint/gnulib/lib/fnmatch_loop.c goto out; \ out 1182 maint/gnulib/lib/fnmatch_loop.c out: out 635 maint/gnulib/lib/gc-gnulib.c _gc_hash_ctx *out; out 637 maint/gnulib/lib/gc-gnulib.c *outhandle = out = calloc (sizeof (*out), 1); out 638 maint/gnulib/lib/gc-gnulib.c if (!out) out 641 maint/gnulib/lib/gc-gnulib.c memcpy (out, in, sizeof (*out)); out 372 maint/gnulib/lib/gc-libgcrypt.c _gc_hash_ctx *out; out 375 maint/gnulib/lib/gc-libgcrypt.c *outhandle = out = calloc (sizeof (*out), 1); out 376 maint/gnulib/lib/gc-libgcrypt.c if (!out) out 379 maint/gnulib/lib/gc-libgcrypt.c memcpy (out, in, sizeof (*out)); out 381 maint/gnulib/lib/gc-libgcrypt.c err = gcry_md_copy (&out->gch, in->gch); out 384 maint/gnulib/lib/gc-libgcrypt.c free (out); out 157 maint/gnulib/lib/gc.h gc_hash_buffer (Gc_hash hash, const void *in, size_t inlen, char *out); out 90 maint/gnulib/lib/getpass.c FILE *in, *out; out 106 maint/gnulib/lib/getpass.c out = stderr; out 113 maint/gnulib/lib/getpass.c out = in = tty; out 116 maint/gnulib/lib/getpass.c flockfile (out); out 133 maint/gnulib/lib/getpass.c fputs_unlocked (prompt, out); out 134 maint/gnulib/lib/getpass.c fflush_unlocked (out); out 149 maint/gnulib/lib/getpass.c fseeko (out, 0, SEEK_CUR); out 162 maint/gnulib/lib/getpass.c putc_unlocked ('\n', out); out 173 maint/gnulib/lib/getpass.c funlockfile (out); out 611 maint/gnulib/lib/glob.c goto out; out 672 maint/gnulib/lib/glob.c goto out; out 684 maint/gnulib/lib/glob.c goto out; out 695 maint/gnulib/lib/glob.c goto out; out 728 maint/gnulib/lib/glob.c goto out; out 781 maint/gnulib/lib/glob.c goto out; out 831 maint/gnulib/lib/glob.c goto out; out 864 maint/gnulib/lib/glob.c goto out; out 885 maint/gnulib/lib/glob.c goto out; out 903 maint/gnulib/lib/glob.c goto out; out 923 maint/gnulib/lib/glob.c goto out; out 1006 maint/gnulib/lib/glob.c goto out; out 1033 maint/gnulib/lib/glob.c goto out; out 1045 maint/gnulib/lib/glob.c goto out; out 1068 maint/gnulib/lib/glob.c goto out; out 1084 maint/gnulib/lib/glob.c goto out; out 1097 maint/gnulib/lib/glob.c goto out; out 1144 maint/gnulib/lib/glob.c goto out; out 1157 maint/gnulib/lib/glob.c goto out; out 1177 maint/gnulib/lib/glob.c goto out; out 1192 maint/gnulib/lib/glob.c out: out 29 maint/gnulib/lib/javaversion.java System.out.println(System.getProperty("java.specification.version")); out 194 maint/gnulib/lib/read-file.c char *out; out 202 maint/gnulib/lib/read-file.c out = fread_file (stream, flags, length); out 206 maint/gnulib/lib/read-file.c if (out) out 209 maint/gnulib/lib/read-file.c explicit_bzero (out, *length); out 210 maint/gnulib/lib/read-file.c free (out); out 215 maint/gnulib/lib/read-file.c return out; out 38 maint/gnulib/lib/readline.c char *out = NULL; out 47 maint/gnulib/lib/readline.c if (getline (&out, &size, stdin) < 0) out 50 maint/gnulib/lib/readline.c while (*out && (out[strlen (out) - 1] == '\r' out 51 maint/gnulib/lib/readline.c || out[strlen (out) - 1] == '\n')) out 52 maint/gnulib/lib/readline.c out[strlen (out) - 1] = '\0'; out 54 maint/gnulib/lib/readline.c return out; out 417 maint/gnulib/lib/regexec.c goto out; out 448 maint/gnulib/lib/regexec.c out: out 390 maint/gnulib/lib/rename.c goto out; out 396 maint/gnulib/lib/rename.c goto out; out 399 maint/gnulib/lib/rename.c goto out; out 407 maint/gnulib/lib/rename.c goto out; out 415 maint/gnulib/lib/rename.c goto out; out 419 maint/gnulib/lib/rename.c goto out; out 437 maint/gnulib/lib/rename.c goto out; out 448 maint/gnulib/lib/rename.c goto out; out 455 maint/gnulib/lib/rename.c goto out; out 460 maint/gnulib/lib/rename.c goto out; out 468 maint/gnulib/lib/rename.c out: _GL_UNUSED_LABEL; out 196 maint/gnulib/lib/renameatu.c goto out; out 202 maint/gnulib/lib/renameatu.c goto out; out 205 maint/gnulib/lib/renameatu.c goto out; out 213 maint/gnulib/lib/renameatu.c goto out; out 221 maint/gnulib/lib/renameatu.c goto out; out 225 maint/gnulib/lib/renameatu.c goto out; out 236 maint/gnulib/lib/renameatu.c goto out; out 237 maint/gnulib/lib/renameatu.c out: out 71 maint/gnulib/lib/select.c unsigned char out[FD_SETSIZE / CHAR_BIT]; out 247 maint/gnulib/lib/select.c rbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); out 253 maint/gnulib/lib/select.c wbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); out 259 maint/gnulib/lib/select.c xbits->out[fd / CHAR_BIT] |= (1 << (fd & (CHAR_BIT - 1))); out 489 maint/gnulib/lib/select.c if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) out 490 maint/gnulib/lib/select.c || wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1))) out 491 maint/gnulib/lib/select.c || xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 546 maint/gnulib/lib/select.c if (rbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 548 maint/gnulib/lib/select.c if (wbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 550 maint/gnulib/lib/select.c if (xbits.out[i / CHAR_BIT] & (1 << (i & (CHAR_BIT - 1)))) out 36 maint/gnulib/tests/test-base32.c char out[255]; out 41 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 42 maint/gnulib/tests/test-base32.c base32_encode (in, 0, out, 0); out 43 maint/gnulib/tests/test-base32.c ASSERT (out[0] == '\x42'); out 45 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 46 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 10); out 47 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 1) == 0); out 49 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 50 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 2); out 51 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 2) == 0); out 53 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 54 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 3); out 55 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 3) == 0); out 57 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 58 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 4); out 59 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 4) == 0); out 61 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 62 maint/gnulib/tests/test-base32.c base32_encode (in, 1, out, 8); out 63 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "ME======", 8) == 0); out 65 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 66 maint/gnulib/tests/test-base32.c base32_encode (in, 2, out, 8); out 67 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRA====", 8) == 0); out 69 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 70 maint/gnulib/tests/test-base32.c base32_encode (in, 3, out, 8); out 71 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGG===", 8) == 0); out 73 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 74 maint/gnulib/tests/test-base32.c base32_encode (in, 4, out, 8); out 75 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZA=", 8) == 0); out 77 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 78 maint/gnulib/tests/test-base32.c base32_encode (in, 5, out, 8); out 79 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZDF", 8) == 0); out 81 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 82 maint/gnulib/tests/test-base32.c base32_encode (in, 6, out, 16); out 83 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZDFMY======", 16) == 0); out 85 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 86 maint/gnulib/tests/test-base32.c base32_encode (in, 6, out, 100); out 87 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "MFRGGZDFMY======", 16) == 0); out 91 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 93 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 97 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 99 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 102 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 1) == 0); out 104 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 106 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 109 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 2) == 0); out 111 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 113 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 116 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 3) == 0); out 118 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 120 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 123 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 4) == 0); out 125 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 127 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 130 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 5) == 0); out 132 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 134 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, 8, out, &len); out 137 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 5) == 0); out 139 maint/gnulib/tests/test-base32.c memset (out, 0x42, sizeof (out)); out 141 maint/gnulib/tests/test-base32.c ok = base32_decode (b32in, strlen (b32in), out, &len); out 144 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", 16) == 0); out 162 maint/gnulib/tests/test-base32.c len = sizeof (out); out 163 maint/gnulib/tests/test-base32.c ok = base32_decode_ctx (&ctx, b32in, strlen (b32in), out, &len); out 166 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", len) == 0); out 174 maint/gnulib/tests/test-base32.c ASSERT (memcmp (out, "abcdefghijklmnop", len) == 0); out 35 maint/gnulib/tests/test-base64.c char out[255]; out 40 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 41 maint/gnulib/tests/test-base64.c base64_encode (in, 0, out, 0); out 42 maint/gnulib/tests/test-base64.c ASSERT (out[0] == '\x42'); out 44 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 45 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 1); out 46 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 1) == 0); out 48 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 49 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 2); out 50 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 2) == 0); out 52 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 53 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 3); out 54 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 3) == 0); out 56 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 57 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 4); out 58 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 4) == 0); out 60 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 61 maint/gnulib/tests/test-base64.c base64_encode (in, 1, out, 8); out 62 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YQ==", 4) == 0); out 64 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 65 maint/gnulib/tests/test-base64.c base64_encode (in, 2, out, 4); out 66 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWI=", 4) == 0); out 68 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 69 maint/gnulib/tests/test-base64.c base64_encode (in, 3, out, 4); out 70 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWJj", 4) == 0); out 72 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 73 maint/gnulib/tests/test-base64.c base64_encode (in, 4, out, 5); out 74 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWJjZA==", 5) == 0); out 76 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 77 maint/gnulib/tests/test-base64.c base64_encode (in, 4, out, 100); out 78 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "YWJjZA==", 6) == 0); out 82 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 84 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 88 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 90 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 93 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 1) == 0); out 95 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 97 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 100 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 2) == 0); out 102 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 104 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 107 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 3) == 0); out 109 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 111 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, 4, out, &len); out 114 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 3) == 0); out 116 maint/gnulib/tests/test-base64.c memset (out, 0x42, sizeof (out)); out 118 maint/gnulib/tests/test-base64.c ok = base64_decode (b64in, strlen (b64in), out, &len); out 121 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", 7) == 0); out 139 maint/gnulib/tests/test-base64.c len = sizeof (out); out 140 maint/gnulib/tests/test-base64.c ok = base64_decode_ctx (&ctx, b64in, strlen (b64in), out, &len); out 143 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", len) == 0); out 151 maint/gnulib/tests/test-base64.c ASSERT (memcmp (out, "abcdefg", len) == 0); out 47 maint/gnulib/tests/test-gc-hmac-md5.c char out[16]; out 57 maint/gnulib/tests/test-gc-hmac-md5.c if (gc_hmac_md5 (key, key_len, data, data_len, out) != 0) out 63 maint/gnulib/tests/test-gc-hmac-md5.c if (memcmp (digest, out, 16) != 0) out 71 maint/gnulib/tests/test-gc-hmac-md5.c printf ("%02x ", out[i] & 0xFF); out 46 maint/gnulib/tests/test-gc-hmac-sha1.c char out[GC_SHA1_DIGEST_SIZE]; out 48 maint/gnulib/tests/test-gc-hmac-sha1.c if (gc_hmac_sha1 (key, key_len, data, data_len, out) != 0) out 54 maint/gnulib/tests/test-gc-hmac-sha1.c if (memcmp (digest, out, GC_SHA1_DIGEST_SIZE) != 0) out 62 maint/gnulib/tests/test-gc-hmac-sha1.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-hmac-sha256.c char out[GC_SHA256_DIGEST_SIZE]; out 47 maint/gnulib/tests/test-gc-hmac-sha256.c if (gc_hmac_sha256 (key, key_len, data, data_len, out) != 0) out 53 maint/gnulib/tests/test-gc-hmac-sha256.c if (memcmp (digest, out, GC_SHA256_DIGEST_SIZE) != 0) out 61 maint/gnulib/tests/test-gc-hmac-sha256.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-hmac-sha512.c char out[GC_SHA512_DIGEST_SIZE]; out 47 maint/gnulib/tests/test-gc-hmac-sha512.c if (gc_hmac_sha512 (key, key_len, data, data_len, out) != 0) out 53 maint/gnulib/tests/test-gc-hmac-sha512.c if (memcmp (digest, out, GC_SHA512_DIGEST_SIZE) != 0) out 61 maint/gnulib/tests/test-gc-hmac-sha512.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-md2.c char out[16]; out 48 maint/gnulib/tests/test-gc-md2.c if (gc_md2 (in, inlen, out) != 0) out 54 maint/gnulib/tests/test-gc-md2.c if (memcmp (out, expect, 16) != 0) out 62 maint/gnulib/tests/test-gc-md2.c printf ("%02x ", out[i] & 0xFF); out 67 maint/gnulib/tests/test-gc-md2.c if (gc_hash_buffer (GC_MD2, in, inlen, out) != 0) out 73 maint/gnulib/tests/test-gc-md2.c if (memcmp (out, expect, 16) != 0) out 81 maint/gnulib/tests/test-gc-md2.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-md4.c char out[16]; out 50 maint/gnulib/tests/test-gc-md4.c if (gc_md4 (in, inlen, out) != 0) out 56 maint/gnulib/tests/test-gc-md4.c if (memcmp (out, expect, 16) != 0) out 64 maint/gnulib/tests/test-gc-md4.c printf ("%02x ", out[i] & 0xFF); out 69 maint/gnulib/tests/test-gc-md4.c if (gc_hash_buffer (GC_MD4, in, inlen, out) != 0) out 75 maint/gnulib/tests/test-gc-md4.c if (memcmp (out, expect, 16) != 0) out 83 maint/gnulib/tests/test-gc-md4.c printf ("%02x ", out[i] & 0xFF); out 45 maint/gnulib/tests/test-gc-md5.c char out[16]; out 50 maint/gnulib/tests/test-gc-md5.c if (gc_md5 (in, inlen, out) != 0) out 56 maint/gnulib/tests/test-gc-md5.c if (memcmp (out, expect, 16) != 0) out 64 maint/gnulib/tests/test-gc-md5.c printf ("%02x ", out[i] & 0xFF); out 69 maint/gnulib/tests/test-gc-md5.c if (gc_hash_buffer (GC_MD5, in, inlen, out) != 0) out 75 maint/gnulib/tests/test-gc-md5.c if (memcmp (out, expect, 16) != 0) out 83 maint/gnulib/tests/test-gc-md5.c printf ("%02x ", out[i] & 0xFF); out 85 maint/gnulib/tests/test-gc-pbkdf2-sha1.c char out[BUFSIZ]; out 91 maint/gnulib/tests/test-gc-pbkdf2-sha1.c pkcs5[i].iterations, out, pkcs5[i].dklen); out 99 maint/gnulib/tests/test-gc-pbkdf2-sha1.c if (memcmp (pkcs5[i].expected, out, pkcs5[i].dklen) != 0) out 100 maint/gnulib/tests/test-gc-pbkdf2.c char out[BUFSIZ]; out 102 maint/gnulib/tests/test-gc-pbkdf2.c rc = gc_pbkdf2_hmac (GC_MD2, "p", 1, "s", 1, 42, out, 17); out 115 maint/gnulib/tests/test-gc-pbkdf2.c pkcs5[i].iterations, out, pkcs5[i].dklen); out 123 maint/gnulib/tests/test-gc-pbkdf2.c if (memcmp (pkcs5[i].expected, out, pkcs5[i].dklen) != 0) out 43 maint/gnulib/tests/test-gc-sha1.c char out[20]; out 46 maint/gnulib/tests/test-gc-sha1.c if (gc_sha1 (in, inlen, out) != 0) out 52 maint/gnulib/tests/test-gc-sha1.c if (memcmp (out, expect, 20) != 0) out 60 maint/gnulib/tests/test-gc-sha1.c printf ("%02x ", out[i] & 0xFF); out 65 maint/gnulib/tests/test-gc-sha1.c rc = gc_hash_buffer (GC_SHA1, "abcdefgh", 8, out); out 72 maint/gnulib/tests/test-gc-sha1.c if (memcmp (out, expect, 20) != 0) out 80 maint/gnulib/tests/test-gc-sha1.c printf ("%02x ", out[i] & 0xFF); out 44 maint/gnulib/tests/test-gc-sha256.c char out[32]; out 47 maint/gnulib/tests/test-gc-sha256.c if (gc_sha256 (in, inlen, out) != 0) out 53 maint/gnulib/tests/test-gc-sha256.c if (memcmp (out, expect, 32) != 0) out 61 maint/gnulib/tests/test-gc-sha256.c printf ("%02x ", out[i] & 0xFF); out 66 maint/gnulib/tests/test-gc-sha256.c rc = gc_hash_buffer (GC_SHA256, "abcdefghijklmnopqrstuvwxyz", 26, out); out 73 maint/gnulib/tests/test-gc-sha256.c if (memcmp (out, expect, 32) != 0) out 81 maint/gnulib/tests/test-gc-sha256.c printf ("%02x ", out[i] & 0xFF); out 46 maint/gnulib/tests/test-gc-sha512.c char out[64]; out 49 maint/gnulib/tests/test-gc-sha512.c if (gc_sha512 (in, inlen, out) != 0) out 55 maint/gnulib/tests/test-gc-sha512.c if (memcmp (out, expect, 64) != 0) out 63 maint/gnulib/tests/test-gc-sha512.c printf ("%02x ", out[i] & 0xFF); out 68 maint/gnulib/tests/test-gc-sha512.c rc = gc_hash_buffer (GC_SHA512, "abcdefghijklmnopqrstuvwxyz", 26, out); out 75 maint/gnulib/tests/test-gc-sha512.c if (memcmp (out, expect, 64) != 0) out 83 maint/gnulib/tests/test-gc-sha512.c printf ("%02x ", out[i] & 0xFF); out 46 maint/gnulib/tests/test-gc-sm3.c char out[32]; out 49 maint/gnulib/tests/test-gc-sm3.c if (gc_sm3 (in, inlen, out) != 0) out 55 maint/gnulib/tests/test-gc-sm3.c if (memcmp (out, expect, 32) != 0) out 63 maint/gnulib/tests/test-gc-sm3.c printf ("%02x ", (unsigned int) out[i] & 0xFF); out 68 maint/gnulib/tests/test-gc-sm3.c rc = gc_hash_buffer (GC_SM3, "abc", 3, out); out 75 maint/gnulib/tests/test-gc-sm3.c if (memcmp (out, expect, 32) != 0) out 83 maint/gnulib/tests/test-gc-sm3.c printf ("%02x ", (unsigned int) out[i] & 0xFF); out 33 maint/gnulib/tests/test-hmac-md5.c char out[16]; out 35 maint/gnulib/tests/test-hmac-md5.c if (hmac_md5 (key, key_len, data, data_len, out) != 0) out 41 maint/gnulib/tests/test-hmac-md5.c if (memcmp (digest, out, 16) != 0) out 49 maint/gnulib/tests/test-hmac-md5.c printf ("%02x ", out[i] & 0xFF); out 31 maint/gnulib/tests/test-hmac-sha1.c char out[20]; out 33 maint/gnulib/tests/test-hmac-sha1.c if (hmac_sha1 (key, key_len, data, data_len, out) != 0) out 39 maint/gnulib/tests/test-hmac-sha1.c if (memcmp (digest, out, 20) != 0) out 47 maint/gnulib/tests/test-hmac-sha1.c printf ("%02x ", out[i] & 0xFF); out 31 maint/gnulib/tests/test-hmac-sha256.c char out[32]; out 33 maint/gnulib/tests/test-hmac-sha256.c if (hmac_sha256 (key, key_len, data, data_len, out) != 0) out 39 maint/gnulib/tests/test-hmac-sha256.c if (memcmp (digest, out, 32) != 0) out 47 maint/gnulib/tests/test-hmac-sha256.c printf ("%02x ", out[i] & 0xFF); out 31 maint/gnulib/tests/test-hmac-sha512.c char out[64]; out 33 maint/gnulib/tests/test-hmac-sha512.c if (hmac_sha512 (key, key_len, data, data_len, out) != 0) out 39 maint/gnulib/tests/test-hmac-sha512.c if (memcmp (digest, out, 64) != 0) out 47 maint/gnulib/tests/test-hmac-sha512.c printf ("%02x ", out[i] & 0xFF); out 27 maint/gnulib/tests/test-iconvme.c char *in = NULL, *out = NULL; out 74 maint/gnulib/tests/test-iconvme.c out = iconv_string (in, from, to); out 76 maint/gnulib/tests/test-iconvme.c if (out == NULL) out 80 maint/gnulib/tests/test-iconvme.c printf ("\nOutput: '%s'\n", out); out 81 maint/gnulib/tests/test-iconvme.c free (out); out 228 maint/gnulib/tests/test-nstrftime.c char out[2]; out 233 maint/gnulib/tests/test-nstrftime.c size_t r = nstrftime (out, sizeof (out), fmt, &qtm, 0, 0); out 242 maint/gnulib/tests/test-nstrftime.c if (strcmp (out, exp) != 0) out 244 maint/gnulib/tests/test-nstrftime.c printf ("nstrftime %%q: expected \"%s\", got \"%s\"\n", exp, out); out 42 maint/gnulib/tests/test-read-file.c char *out = read_file (FILE1, flags, &len); out 44 maint/gnulib/tests/test-read-file.c if (!out) out 51 maint/gnulib/tests/test-read-file.c if (out[len] != '\0') out 76 maint/gnulib/tests/test-read-file.c free (out); out 85 maint/gnulib/tests/test-read-file.c char *out = read_file (FILE2, flags, &len); out 87 maint/gnulib/tests/test-read-file.c if (!out) out 94 maint/gnulib/tests/test-read-file.c if (out[len] != '\0') out 108 maint/gnulib/tests/test-read-file.c free (out); out 32 maint/gnulib/tests/test-rijndael.c char out[RIJNDAEL_BITSPERBLOCK / 8]; out 52 maint/gnulib/tests/test-rijndael.c rc = rijndaelBlockEncrypt (&cipher, &key, in, 128, out); out 56 maint/gnulib/tests/test-rijndael.c memcpy (in, out, RIJNDAEL_BITSPERBLOCK / 8); out 59 maint/gnulib/tests/test-rijndael.c if (memcmp (out, ct, RIJNDAEL_BITSPERBLOCK / 8) != 0) out 67 maint/gnulib/tests/test-rijndael.c printf ("%02x ", out[i] & 0xFF); out 83 maint/gnulib/tests/test-rijndael.c memcpy (in, out, RIJNDAEL_BITSPERBLOCK / 8); out 85 maint/gnulib/tests/test-rijndael.c rc = rijndaelBlockDecrypt (&cipher, &key, in, 128, out); out 90 maint/gnulib/tests/test-rijndael.c if (memcmp (out, pt, RIJNDAEL_BITSPERBLOCK / 8) != 0) out 98 maint/gnulib/tests/test-rijndael.c printf ("%02x ", out[i] & 0xFF); out 26 maint/gnulib/tests/test-sm3-buffer.c test (const char *in, const char *out) out 31 maint/gnulib/tests/test-sm3-buffer.c out, SM3_DIGEST_SIZE) != 0) out 36 maint/gnulib/tests/test-sm3-buffer.c printf ("%02x ", out[i] & 0xFFu); out 56 maint/gnulib/tests/test-sm3-buffer.c const char *out[] = out 67 maint/gnulib/tests/test-sm3-buffer.c if (test (in[i], out[i])) out 176 tools/attrd_updater.c static int do_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, out 206 tools/attrd_updater.c pcmk__output_t *out = NULL; out 221 tools/attrd_updater.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 230 tools/attrd_updater.c out->version(out, false); out 240 tools/attrd_updater.c pcmk__register_lib_messages(out); out 243 tools/attrd_updater.c int rc = do_query(out, options.attr_name, options.attr_node, options.query_all); out 270 tools/attrd_updater.c pcmk__output_and_clear_error(error, out); out 272 tools/attrd_updater.c if (out != NULL) { out 273 tools/attrd_updater.c out->finish(out, exit_code, true, NULL); out 274 tools/attrd_updater.c pcmk__output_free(out); out 383 tools/attrd_updater.c print_attrd_values(pcmk__output_t *out, xmlNode *reply, const char *attr_name) out 404 tools/attrd_updater.c out->message(out, "attribute", NULL, NULL, attr_name, reply_value, reply_host); out 423 tools/attrd_updater.c do_query(pcmk__output_t *out, const char *attr_name, const char *attr_node, gboolean query_all) out 456 tools/attrd_updater.c if (!print_attrd_values(out, reply, attr_name)) { out 49 tools/crm_attribute.c attribute_text(pcmk__output_t *out, va_list args) out 57 tools/crm_attribute.c if (out->quiet) { out 58 tools/crm_attribute.c pcmk__formatted_printf(out, "%s\n", value); out 60 tools/crm_attribute.c out->info(out, "%s%s %s%s %s%s value=%s", out 440 tools/crm_attribute.c pcmk__output_t *out = NULL; out 455 tools/crm_attribute.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 463 tools/crm_attribute.c pcmk__register_lib_messages(out); out 464 tools/crm_attribute.c pcmk__register_messages(out, fmt_functions); out 467 tools/crm_attribute.c out->version(out, false); out 471 tools/crm_attribute.c out->quiet = args->quiet; out 602 tools/crm_attribute.c rc = cib__delete_node_attr(out, the_cib, cib_opts, options.type, options.dest_node, out 619 tools/crm_attribute.c rc = cib__update_node_attr(out, the_cib, cib_opts, options.type, options.dest_node, out 635 tools/crm_attribute.c rc = cib__read_node_attr(out, the_cib, options.type, options.dest_node, out 651 tools/crm_attribute.c out->message(out, "attribute", options.type, options.attr_id, out 685 tools/crm_attribute.c pcmk__output_and_clear_error(error, out); out 687 tools/crm_attribute.c if (out != NULL) { out 688 tools/crm_attribute.c out->finish(out, exit_code, true, NULL); out 689 tools/crm_attribute.c pcmk__output_free(out); out 80 tools/crm_mon.c static pcmk__output_t *out = NULL; out 655 tools/crm_mon.c out->info(out, "Reconnecting..."); out 678 tools/crm_mon.c out->info(out, "Connection to the cluster-daemons terminated"); out 788 tools/crm_mon.c out->err(out, "Could not connect to the CIB: %s", out 795 tools/crm_mon.c out->info(out,"Waiting for CIB ..."); out 805 tools/crm_mon.c out->err(out, out 822 tools/crm_mon.c out->err(out, "Notification setup failed, could not monitor CIB actions"); out 894 tools/crm_mon.c out->err(out, "Bad reply from pacemakerd: %s", out 900 tools/crm_mon.c out->err(out, "Unknown reply type %d from pacemakerd", out 937 tools/crm_mon.c out->err(out, "Could not connect to pacemakerd: %s", out 959 tools/crm_mon.c out->info(out,"Pacemaker daemons starting ..."); out 962 tools/crm_mon.c out->info(out,"Waiting for startup-trigger from SBD ..."); out 965 tools/crm_mon.c out->info(out,"Pacemaker daemons shutting down ..."); out 973 tools/crm_mon.c out->info(out,"Pacemaker daemons shut down - reporting to SBD ..."); out 999 tools/crm_mon.c out->info(out, out 1026 tools/crm_mon.c #define print_option_help(out, option, condition) \ out 1027 tools/crm_mon.c curses_formatted_printf(out, "%c %c: \t%s\n", ((condition)? '*': ' '), option, get_option_desc(option)); out 1121 tools/crm_mon.c curses_formatted_printf(out, "%s", "Display option change mode\n"); out 1122 tools/crm_mon.c print_option_help(out, 'c', pcmk_is_set(show, pcmk_section_tickets)); out 1123 tools/crm_mon.c print_option_help(out, 'f', pcmk_is_set(show, pcmk_section_failcounts)); out 1124 tools/crm_mon.c print_option_help(out, 'n', pcmk_is_set(show_opts, pcmk_show_rscs_by_node)); out 1125 tools/crm_mon.c print_option_help(out, 'o', pcmk_is_set(show, pcmk_section_operations)); out 1126 tools/crm_mon.c print_option_help(out, 'r', pcmk_is_set(show_opts, pcmk_show_inactive_rscs)); out 1127 tools/crm_mon.c print_option_help(out, 't', pcmk_is_set(show_opts, pcmk_show_timing)); out 1128 tools/crm_mon.c print_option_help(out, 'A', pcmk_is_set(show, pcmk_section_attributes)); out 1129 tools/crm_mon.c print_option_help(out, 'L', pcmk_is_set(show, pcmk_section_bans)); out 1130 tools/crm_mon.c print_option_help(out, 'D', !pcmk_is_set(show, pcmk_section_summary)); out 1132 tools/crm_mon.c print_option_help(out, 'R', pcmk_any_flags_set(show_opts, pcmk_show_details & ~pcmk_show_failed_detail)); out 1134 tools/crm_mon.c print_option_help(out, 'R', pcmk_any_flags_set(show_opts, pcmk_show_details)); out 1136 tools/crm_mon.c print_option_help(out, 'b', pcmk_is_set(show_opts, pcmk_show_brief)); out 1137 tools/crm_mon.c print_option_help(out, 'j', pcmk_is_set(show_opts, pcmk_show_pending)); out 1138 tools/crm_mon.c curses_formatted_printf(out, "%d m: \t%s\n", interactive_fence_level, get_option_desc('m')); out 1139 tools/crm_mon.c curses_formatted_printf(out, "%s", "\nToggle fields via field letter, type any other key to return\n"); out 1330 tools/crm_mon.c int rc = pcmk__status(out, cib, fence_history, show, show_opts, out 1480 tools/crm_mon.c rc = pcmk__output_new(&out, "text", args->output_dest, argv); out 1482 tools/crm_mon.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 1537 tools/crm_mon.c pcmk__register_lib_messages(out); out 1538 tools/crm_mon.c crm_mon_register_messages(out); out 1539 tools/crm_mon.c pe__register_messages(out); out 1540 tools/crm_mon.c stonith__register_messages(out); out 1543 tools/crm_mon.c out->version(out, false); out 1570 tools/crm_mon.c out->dest != stdout) { out 1582 tools/crm_mon.c cib__set_output(cib, out); out 1589 tools/crm_mon.c out->info(out,"Waiting until cluster is available on this node ..."); out 1605 tools/crm_mon.c } else if (output_format == mon_output_html && out->dest != stdout) { out 1936 tools/crm_mon.c out->progress(out, false); out 1978 tools/crm_mon.c out->info(out, "--- Stale data ---"); out 2005 tools/crm_mon.c if (out->dest != stdout) { out 2006 tools/crm_mon.c out->reset(out); out 2009 tools/crm_mon.c rc = pcmk__output_cluster_status(out, st, cib, current_cib, fence_history, out 2022 tools/crm_mon.c if (out->dest != stdout) { out 2023 tools/crm_mon.c out->finish(out, CRM_EX_OK, true, NULL); out 2104 tools/crm_mon.c out->progress(out, false); out 2155 tools/crm_mon.c out->finish(out, exit_code, false, NULL); out 2156 tools/crm_mon.c pcmk__output_free(out); out 2157 tools/crm_mon.c out = NULL; out 2177 tools/crm_mon.c if (out != NULL) { out 2178 tools/crm_mon.c out->err(out, "%s: %s", g_get_prgname(), error->message); out 2179 tools/crm_mon.c out->finish(out, exit_code, true, NULL); out 2180 tools/crm_mon.c pcmk__output_free(out); out 2192 tools/crm_mon.c if (out != NULL) { out 2194 tools/crm_mon.c out->finish(out, exit_code, true, NULL); out 2197 tools/crm_mon.c pcmk__output_free(out); out 60 tools/crm_mon.h void crm_mon_register_messages(pcmk__output_t *out); out 64 tools/crm_mon.h void curses_formatted_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 65 tools/crm_mon.h void curses_formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 66 tools/crm_mon.h void curses_indented_printf(pcmk__output_t *out, const char *format, ...) G_GNUC_PRINTF(2, 3); out 67 tools/crm_mon.h void curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) G_GNUC_PRINTF(2, 0); out 40 tools/crm_mon_curses.c curses_free_priv(pcmk__output_t *out) { out 41 tools/crm_mon_curses.c private_data_t *priv = out->priv; out 49 tools/crm_mon_curses.c out->priv = NULL; out 53 tools/crm_mon_curses.c curses_init(pcmk__output_t *out) { out 57 tools/crm_mon_curses.c if (out->priv != NULL) { out 60 tools/crm_mon_curses.c out->priv = calloc(1, sizeof(private_data_t)); out 61 tools/crm_mon_curses.c if (out->priv == NULL) { out 65 tools/crm_mon_curses.c priv = out->priv; out 78 tools/crm_mon_curses.c curses_finish(pcmk__output_t *out, crm_exit_t exit_status, bool print, void **copy_dest) { out 79 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 87 tools/crm_mon_curses.c curses_reset(pcmk__output_t *out) { out 88 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 90 tools/crm_mon_curses.c curses_free_priv(out); out 91 tools/crm_mon_curses.c curses_init(out); out 95 tools/crm_mon_curses.c curses_subprocess_output(pcmk__output_t *out, int exit_status, out 97 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 115 tools/crm_mon_curses.c curses_ver(pcmk__output_t *out, bool extended) { out 116 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 129 tools/crm_mon_curses.c curses_error(pcmk__output_t *out, const char *format, ...) { out 132 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 151 tools/crm_mon_curses.c curses_info(pcmk__output_t *out, const char *format, ...) { out 154 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 156 tools/crm_mon_curses.c if (out->is_quiet(out)) { out 176 tools/crm_mon_curses.c curses_output_xml(pcmk__output_t *out, const char *name, const char *buf) { out 177 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 178 tools/crm_mon_curses.c curses_indented_printf(out, "%s", buf); out 183 tools/crm_mon_curses.c curses_begin_list(pcmk__output_t *out, const char *singular_noun, const char *plural_noun, out 189 tools/crm_mon_curses.c CRM_ASSERT(out != NULL && out->priv != NULL); out 190 tools/crm_mon_curses.c priv = out->priv; out 199 tools/crm_mon_curses.c curses_indented_vprintf(out, format, ap); out 215 tools/crm_mon_curses.c curses_list_item(pcmk__output_t *out, const char *id, const char *format, ...) { out 218 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 223 tools/crm_mon_curses.c curses_indented_printf(out, "%s: ", id); out 226 tools/crm_mon_curses.c curses_indented_vprintf(out, format, ap); out 232 tools/crm_mon_curses.c out->increment_list(out); out 236 tools/crm_mon_curses.c curses_increment_list(pcmk__output_t *out) { out 240 tools/crm_mon_curses.c CRM_ASSERT(out != NULL && out->priv != NULL); out 241 tools/crm_mon_curses.c priv = out->priv; out 249 tools/crm_mon_curses.c curses_end_list(pcmk__output_t *out) { out 253 tools/crm_mon_curses.c CRM_ASSERT(out != NULL && out->priv != NULL); out 254 tools/crm_mon_curses.c priv = out->priv; out 260 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->singular_noun); out 262 tools/crm_mon_curses.c curses_indented_printf(out, "%d %s found\n", node->len, node->plural_noun); out 270 tools/crm_mon_curses.c curses_is_quiet(pcmk__output_t *out) { out 271 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 272 tools/crm_mon_curses.c return out->quiet; out 276 tools/crm_mon_curses.c curses_spacer(pcmk__output_t *out) { out 277 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 282 tools/crm_mon_curses.c curses_progress(pcmk__output_t *out, bool end) { out 283 tools/crm_mon_curses.c CRM_ASSERT(out != NULL); out 374 tools/crm_mon_curses.c curses_formatted_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 383 tools/crm_mon_curses.c curses_formatted_printf(pcmk__output_t *out, const char *format, ...) { out 387 tools/crm_mon_curses.c curses_formatted_vprintf(out, format, ap); out 393 tools/crm_mon_curses.c curses_indented_vprintf(pcmk__output_t *out, const char *format, va_list args) { out 395 tools/crm_mon_curses.c private_data_t *priv = out->priv; out 409 tools/crm_mon_curses.c curses_formatted_vprintf(out, format, args); out 414 tools/crm_mon_curses.c curses_indented_printf(pcmk__output_t *out, const char *format, ...) { out 418 tools/crm_mon_curses.c curses_indented_vprintf(out, format, ap); out 424 tools/crm_mon_curses.c cluster_maint_mode_console(pcmk__output_t *out, va_list args) { out 428 tools/crm_mon_curses.c curses_formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 429 tools/crm_mon_curses.c curses_formatted_printf(out, " The cluster will not attempt to start, stop or recover services\n"); out 432 tools/crm_mon_curses.c curses_formatted_printf(out, "\n *** Resource management is DISABLED ***\n"); out 433 tools/crm_mon_curses.c curses_formatted_printf(out, " The cluster will keep all resources stopped\n"); out 444 tools/crm_mon_curses.c cluster_status_console(pcmk__output_t *out, va_list args) { out 448 tools/crm_mon_curses.c rc = pcmk__cluster_status_text(out, args); out 455 tools/crm_mon_curses.c stonith_event_console(pcmk__output_t *out, va_list args) { out 468 tools/crm_mon_curses.c curses_indented_printf(out, out 482 tools/crm_mon_curses.c curses_indented_printf(out, "%s of %s successful: delegate=%s, client=%s, origin=%s, %s='%s'\n", out 490 tools/crm_mon_curses.c curses_indented_printf(out, "%s of %s pending: client=%s, origin=%s\n", out 512 tools/crm_mon_curses.c crm_mon_register_messages(pcmk__output_t *out) { out 514 tools/crm_mon_curses.c pcmk__register_messages(out, fmt_functions); out 178 tools/crm_resource.c static pcmk__output_t *out = NULL; out 203 tools/crm_resource.c pcmk__output_and_clear_error(error, out); out 205 tools/crm_resource.c if (out != NULL) { out 206 tools/crm_resource.c out->finish(out, ec, true, NULL); out 207 tools/crm_resource.c pcmk__output_free(out); out 274 tools/crm_resource.c out->err(out, "Error: bad reply from controller: %s", out 281 tools/crm_resource.c out->info(out, "... got reply (done)"); out 286 tools/crm_resource.c out->info(out, "... got reply"); out 302 tools/crm_resource.c out->info(out, "Waiting for %u %s from the controller", out 946 tools/crm_resource.c ban_or_move(pcmk__output_t *out, pe_resource_t *rsc, const char *move_lifetime) out 957 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, out 976 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, out 1003 tools/crm_resource.c cleanup(pcmk__output_t *out, pe_resource_t *rsc) out 1016 tools/crm_resource.c if ((rc == pcmk_rc_ok) && !out->is_quiet(out)) { out 1018 tools/crm_resource.c cli_resource_check(out, cib_conn, rsc); out 1027 tools/crm_resource.c clear_constraints(pcmk__output_t *out, xmlNodePtr *cib_xml_copy) out 1036 tools/crm_resource.c if (!out->is_quiet(out)) { out 1049 tools/crm_resource.c if (!out->is_quiet(out)) { out 1062 tools/crm_resource.c if (!out->is_quiet(out)) { out 1082 tools/crm_resource.c out->info(out, "Removing constraint: %s", (char *) ele->data); out 1117 tools/crm_resource.c list_agents(pcmk__output_t *out, const char *agent_spec) out 1136 tools/crm_resource.c rc = out->message(out, "agents-list", list, agent_spec, provider); out 1158 tools/crm_resource.c list_providers(pcmk__output_t *out, const char *agent_spec) out 1175 tools/crm_resource.c rc = out->message(out, "alternatives-list", list, agent_spec); out 1186 tools/crm_resource.c rc = out->message(out, "standards-list", list); out 1197 tools/crm_resource.c rc = out->message(out, "providers-list", list, agent_spec); out 1250 tools/crm_resource.c data_set->priv = out; out 1266 tools/crm_resource.c refresh(pcmk__output_t *out) out 1290 tools/crm_resource.c out->info(out, "Dry run: skipping clean-up of %s due to CIB_file", out 1311 tools/crm_resource.c refresh_resource(pcmk__output_t *out, pe_resource_t *rsc) out 1324 tools/crm_resource.c if ((rc == pcmk_rc_ok) && !out->is_quiet(out)) { out 1326 tools/crm_resource.c cli_resource_check(out, cib_conn, rsc); out 1368 tools/crm_resource.c show_metadata(pcmk__output_t *out, const char *agent_spec) out 1395 tools/crm_resource.c out->output_xml(out, "metadata", metadata); out 1558 tools/crm_resource.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 1566 tools/crm_resource.c pe__register_messages(out); out 1567 tools/crm_resource.c crm_resource_register_messages(out); out 1568 tools/crm_resource.c lrmd__register_messages(out); out 1569 tools/crm_resource.c pcmk__register_lib_messages(out); out 1571 tools/crm_resource.c out->quiet = args->quiet; out 1674 tools/crm_resource.c out->version(out, false); out 1813 tools/crm_resource.c rc = out->message(out, "resource-list", data_set, out 1825 tools/crm_resource.c rc = out->message(out, "resource-names-list", data_set->resources); out 1836 tools/crm_resource.c rc = list_providers(out, options.agent_spec); out 1840 tools/crm_resource.c rc = list_agents(out, options.agent_spec); out 1844 tools/crm_resource.c rc = show_metadata(out, options.agent_spec); out 1853 tools/crm_resource.c rc = cli_resource_restart(out, rsc, node, options.move_lifetime, out 1860 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); out 1865 tools/crm_resource.c exit_code = cli_resource_execute_from_params(out, NULL, out 1883 tools/crm_resource.c rc = pcmk__resource_digests(out, rsc, node, out 1889 tools/crm_resource.c rc = out->message(out, "stacks-constraints", rsc, data_set, false); out 1893 tools/crm_resource.c rc = out->message(out, "stacks-constraints", rsc, data_set, true); out 1898 tools/crm_resource.c g_list_foreach(data_set->resources, (GFunc) cli_resource_print_cts, out); out 1924 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); out 1941 tools/crm_resource.c rc = out->message(out, "resource-reasons-list", cib_conn, out 1947 tools/crm_resource.c rc = clear_constraints(out, &cib_xml_copy); out 1952 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); out 1970 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); out 1974 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, out 1988 tools/crm_resource.c rc = out->message(out, "property-list", rsc, options.prop_name); out 2006 tools/crm_resource.c out->err(out, "%s is active on more than one node," out 2027 tools/crm_resource.c rc = out->message(out, "attribute-list", rsc, options.prop_name, params); out 2074 tools/crm_resource.c cleanup(out, rsc); out 2080 tools/crm_resource.c rc = refresh(out); out 2082 tools/crm_resource.c refresh_resource(out, rsc); out 46 tools/crm_resource.h int cli_resource_prefer(pcmk__output_t *out, const char *rsc_id, const char *host, out 49 tools/crm_resource.h int cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, out 58 tools/crm_resource.h void cli_resource_print_cts(pe_resource_t * rsc, pcmk__output_t *out); out 66 tools/crm_resource.h int cli_resource_check(pcmk__output_t *out, cib_t * cib, pe_resource_t *rsc); out 78 tools/crm_resource.h int cli_resource_restart(pcmk__output_t *out, pe_resource_t *rsc, pe_node_t *node, out 85 tools/crm_resource.h crm_exit_t cli_resource_execute_from_params(pcmk__output_t *out, const char *rsc_name, out 109 tools/crm_resource.h int wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib); out 113 tools/crm_resource.h void crm_resource_register_messages(pcmk__output_t *out); out 17 tools/crm_resource_ban.c parse_cli_lifetime(pcmk__output_t *out, const char *move_lifetime) out 30 tools/crm_resource_ban.c out->err(out, "Invalid duration specified: %s\n" out 39 tools/crm_resource_ban.c out->err(out, "Unable to add %s to current time\n" out 53 tools/crm_resource_ban.c out->info(out, "Migration will take effect until: %s", later_s); out 77 tools/crm_resource_ban.c cli_resource_ban(pcmk__output_t *out, const char *rsc_id, const char *host, out 91 tools/crm_resource_ban.c rc = cli_resource_ban(out, rsc_id, target->details->uname, move_lifetime, out 97 tools/crm_resource_ban.c later_s = parse_cli_lifetime(out, move_lifetime); out 107 tools/crm_resource_ban.c out->info(out, "WARNING: Creating rsc_location constraint '%s' with a " out 160 tools/crm_resource_ban.c cli_resource_prefer(pcmk__output_t *out,const char *rsc_id, const char *host, out 164 tools/crm_resource_ban.c char *later_s = parse_cli_lifetime(out, move_lifetime); out 23 tools/crm_resource_print.c pcmk__output_t *out = data_set->priv; out 47 tools/crm_resource_print.c out->info(out, "Constraint %s %s %s %s %s %s %s", out 59 tools/crm_resource_print.c cli_resource_print_cts(pe_resource_t * rsc, pcmk__output_t *out) out 78 tools/crm_resource_print.c out->info(out, "Resource: %s %s %s %s %s %s %s %s %d %lld %#.16llx", out 84 tools/crm_resource_print.c g_list_foreach(rsc->children, (GFunc) cli_resource_print_cts, out); out 92 tools/crm_resource_print.c pcmk__output_t *out = data_set->priv; out 100 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Operations"); out 105 tools/crm_resource_print.c out->message(out, "node-and-op", data_set, xml_op); out 108 tools/crm_resource_print.c out->end_list(out); out 116 tools/crm_resource_print.c pcmk__output_t *out = data_set->priv; out 122 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Config"); out 123 tools/crm_resource_print.c out->message(out, crm_map_element_name(rsc->xml), show_opts, rsc, all, all); out 124 tools/crm_resource_print.c out->message(out, "resource-config", rsc, !expanded); out 125 tools/crm_resource_print.c out->end_list(out); out 133 tools/crm_resource_print.c attribute_list_default(pcmk__output_t *out, va_list args) { out 144 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Attributes"); out 145 tools/crm_resource_print.c out->list_item(out, attr, "%s", value); out 146 tools/crm_resource_print.c out->end_list(out); out 148 tools/crm_resource_print.c out->err(out, "Attribute '%s' not found for '%s'", attr, rsc->id); out 157 tools/crm_resource_print.c agent_status_default(pcmk__output_t *out, va_list args) { out 171 tools/crm_resource_print.c out->info(out, "Operation %s%s%s (%s%s%s:%s) returned %d (%s%s%s)", out 184 tools/crm_resource_print.c out->err(out, out 202 tools/crm_resource_print.c agent_status_xml(pcmk__output_t *out, va_list args) { out 215 tools/crm_resource_print.c pcmk__output_create_xml_node(out, "agent-status", out 231 tools/crm_resource_print.c attribute_list_text(pcmk__output_t *out, va_list args) { out 242 tools/crm_resource_print.c pcmk__formatted_printf(out, "%s\n", value); out 244 tools/crm_resource_print.c out->err(out, "Attribute '%s' not found for '%s'", attr, rsc->id); out 252 tools/crm_resource_print.c override_default(pcmk__output_t *out, va_list args) { out 258 tools/crm_resource_print.c out->list_item(out, NULL, "Overriding the cluster configuration with '%s' = '%s'", out 261 tools/crm_resource_print.c out->list_item(out, NULL, "Overriding the cluster configuration for '%s' with '%s' = '%s'", out 270 tools/crm_resource_print.c override_xml(pcmk__output_t *out, va_list args) { out 275 tools/crm_resource_print.c xmlNodePtr node = pcmk__output_create_xml_node(out, "override", out 289 tools/crm_resource_print.c property_list_default(pcmk__output_t *out, va_list args) { out 296 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Properties"); out 297 tools/crm_resource_print.c out->list_item(out, attr, "%s", value); out 298 tools/crm_resource_print.c out->end_list(out); out 306 tools/crm_resource_print.c property_list_text(pcmk__output_t *out, va_list args) { out 313 tools/crm_resource_print.c pcmk__formatted_printf(out, "%s\n", value); out 323 tools/crm_resource_print.c resource_agent_action_default(pcmk__output_t *out, va_list args) { out 343 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "overrides"); out 347 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); out 350 tools/crm_resource_print.c out->end_list(out); out 353 tools/crm_resource_print.c out->message(out, "agent-status", status, action, rsc_name, class, provider, out 368 tools/crm_resource_print.c out->output_xml(out, "command", stdout_data); out 371 tools/crm_resource_print.c out->subprocess_output(out, rc, stdout_data, stderr_data); out 382 tools/crm_resource_print.c resource_agent_action_xml(pcmk__output_t *out, va_list args) { out 397 tools/crm_resource_print.c xmlNodePtr node = pcmk__output_xml_create_parent(out, "resource-agent-action", out 416 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "overrides"); out 420 tools/crm_resource_print.c out->message(out, "override", rsc_name, name, value); out 423 tools/crm_resource_print.c out->end_list(out); out 426 tools/crm_resource_print.c out->message(out, "agent-status", status, action, rsc_name, class, provider, out 436 tools/crm_resource_print.c out->output_xml(out, "command", stdout_data); out 439 tools/crm_resource_print.c out->subprocess_output(out, rc, stdout_data, stderr_data); out 443 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 449 tools/crm_resource_print.c resource_check_list_default(pcmk__output_t *out, va_list args) { out 458 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Checks"); out 462 tools/crm_resource_print.c out->list_item(out, "check", "Configuration specifies '%s' should remain stopped", out 467 tools/crm_resource_print.c out->list_item(out, "check", "Configuration specifies '%s' should not be promoted", out 472 tools/crm_resource_print.c out->list_item(out, "check", "Configuration prevents cluster from stopping or starting unmanaged '%s'", out 477 tools/crm_resource_print.c out->list_item(out, "check", "'%s' is locked to node %s due to shutdown", out 482 tools/crm_resource_print.c out->end_list(out); out 491 tools/crm_resource_print.c resource_check_list_xml(pcmk__output_t *out, va_list args) { out 496 tools/crm_resource_print.c xmlNodePtr node = pcmk__output_create_xml_node(out, "check", out 521 tools/crm_resource_print.c resource_search_list_default(pcmk__output_t *out, va_list args) out 529 tools/crm_resource_print.c if (!out->is_quiet(out) && nodes == NULL) { out 530 tools/crm_resource_print.c out->err(out, "resource %s is NOT running", requested_name); out 538 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Nodes"); out 543 tools/crm_resource_print.c if (out->is_quiet(out)) { out 544 tools/crm_resource_print.c out->list_item(out, "node", "%s", ni->node_name); out 555 tools/crm_resource_print.c out->list_item(out, "node", "resource %s is running on: %s%s", out 561 tools/crm_resource_print.c out->end_list(out); out 569 tools/crm_resource_print.c resource_search_list_xml(pcmk__output_t *out, va_list args) out 574 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "nodes", out 580 tools/crm_resource_print.c xmlNodePtr sub_node = pcmk__output_create_xml_text_node(out, "node", ni->node_name); out 593 tools/crm_resource_print.c resource_reasons_list_default(pcmk__output_t *out, va_list args) out 602 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Reasons"); out 613 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is not running", rsc->id); out 615 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is running", rsc->id); out 618 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 625 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is running on host %s", out 628 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is not running on host %s", out 632 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 643 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is running on host %s", out 645 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 650 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is assigned to host %s but not running", out 652 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 663 tools/crm_resource_print.c out->list_item(out, "reason", "Resource %s is %srunning", out 665 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 669 tools/crm_resource_print.c out->end_list(out); out 676 tools/crm_resource_print.c resource_reasons_list_xml(pcmk__output_t *out, va_list args) out 685 tools/crm_resource_print.c xmlNodePtr xml_node = pcmk__output_xml_create_parent(out, "reason", NULL); out 691 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resources", NULL); out 698 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resource", out 703 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 704 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 709 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 716 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 725 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resources", NULL); out 730 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resource", out 736 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 737 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 743 tools/crm_resource_print.c pcmk__output_xml_create_parent(out, "resource", out 749 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 750 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 753 tools/crm_resource_print.c pcmk__output_xml_pop_parent(out); out 763 tools/crm_resource_print.c cli_resource_check(out, cib_conn, rsc); out 771 tools/crm_resource_print.c add_resource_name(pe_resource_t *rsc, pcmk__output_t *out) { out 773 tools/crm_resource_print.c out->list_item(out, "resource", "%s", rsc->id); out 775 tools/crm_resource_print.c g_list_foreach(rsc->children, (GFunc) add_resource_name, out); out 781 tools/crm_resource_print.c resource_names(pcmk__output_t *out, va_list args) { out 785 tools/crm_resource_print.c out->err(out, "NO resources configured\n"); out 789 tools/crm_resource_print.c out->begin_list(out, NULL, NULL, "Resource Names"); out 790 tools/crm_resource_print.c g_list_foreach(resources, (GFunc) add_resource_name, out); out 791 tools/crm_resource_print.c out->end_list(out); out 818 tools/crm_resource_print.c crm_resource_register_messages(pcmk__output_t *out) { out 819 tools/crm_resource_print.c pcmk__register_messages(out, fmt_functions); out 105 tools/crm_resource_runtime.c find_resource_attr(pcmk__output_t *out, cib_t * the_cib, const char *attr, out 169 tools/crm_resource_runtime.c out->info(out, "Multiple attributes match name=%s", attr_name); out 173 tools/crm_resource_runtime.c out->info(out, " Value: %s \t(id=%s)", out 177 tools/crm_resource_runtime.c out->spacer(out); out 191 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(pcmk__output_t *out, GList/* <pe_resource_t*> */ ** result, out 203 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, result, (pe_resource_t*)gIter->data, out 212 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, out 228 tools/crm_resource_runtime.c find_matching_attr_resources(pcmk__output_t *out, pe_resource_t * rsc, out 247 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, rsc_id, attr_set_type, out 253 tools/crm_resource_runtime.c out->info(out, "Performing %s of '%s' on '%s', the parent of '%s'", out 262 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, out 267 tools/crm_resource_runtime.c out->info(out, "A value for '%s' already exists in child '%s', performing %s on that instead of '%s'", out 277 tools/crm_resource_runtime.c find_matching_attr_resources_recursive(out, &result, rsc, rsc_id, attr_set, out 292 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 303 tools/crm_resource_runtime.c find_resource_attr (out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, out 309 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id, out 312 tools/crm_resource_runtime.c if (rc == pcmk_rc_ok && !out->is_quiet(out)) { out 313 tools/crm_resource_runtime.c out->err(out, "WARNING: There is already a meta attribute for '%s' called '%s' (id=%s)", out 315 tools/crm_resource_runtime.c out->err(out, " Delete '%s' first or use the force option to override", out 326 tools/crm_resource_runtime.c resources = find_matching_attr_resources(out, rsc, requested_name, attr_set, attr_set_type, out 346 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, out 390 tools/crm_resource_runtime.c out->info(out, "Set '%s' option: id=%s%s%s%s%s value=%s", lookup_id, local_attr_id, out 443 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 448 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, out 453 tools/crm_resource_runtime.c resources = find_matching_attr_resources(out, rsc, requested_name, attr_set, attr_set_type, out 467 tools/crm_resource_runtime.c rc = find_resource_attr(out, cib, XML_ATTR_ID, lookup_id, attr_set_type, out 493 tools/crm_resource_runtime.c out->info(out, "Deleted '%s' option: id=%s%s%s%s%s", lookup_id, local_attr_id, out 511 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 522 tools/crm_resource_runtime.c out->err(out, "Resource %s not found", rsc_id); out 526 tools/crm_resource_runtime.c out->err(out, "We can only process primitive resources, not %s", rsc_id); out 534 tools/crm_resource_runtime.c out->err(out, "Resource %s does not have a class and type", rsc_id); out 542 tools/crm_resource_runtime.c out->err(out, "Node %s not found", host_uname); out 548 tools/crm_resource_runtime.c out->err(out, "Node %s is not online", host_uname); out 557 tools/crm_resource_runtime.c out->err(out, "No cluster connection to Pacemaker Remote node %s detected", out 627 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, out 732 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 797 tools/crm_resource_runtime.c out->err(out, "Unable to clean up %s because node %s not found", out 803 tools/crm_resource_runtime.c out->err(out, "Unable to clean up %s because resource discovery disabled on %s", out 809 tools/crm_resource_runtime.c out->err(out, "Dry run: skipping clean-up of %s on %s due to CIB_file", out 816 tools/crm_resource_runtime.c out->err(out, "Unable to clean up %s failures on %s: %s", out 822 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, host_uname, rsc->id, operation, out 828 tools/crm_resource_runtime.c out->err(out, "Cleaned %s failures on %s, but unable to clean history: %s", out 831 tools/crm_resource_runtime.c out->info(out, "Cleaned up %s on %s", rsc->id, host_uname); out 842 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 848 tools/crm_resource_runtime.c out->info(out, "Dry run: skipping clean-up of %s due to CIB_file", out 857 tools/crm_resource_runtime.c out->err(out, "Unknown node: %s", node_name); out 868 tools/crm_resource_runtime.c out->err(out, "Unable to clean up all failures on %s: %s", out 874 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node_name, NULL, out 877 tools/crm_resource_runtime.c out->err(out, "Cleaned all resource failures on %s, but unable to clean history: %s", out 885 tools/crm_resource_runtime.c rc = clear_rsc_failures(out, controld_api, node->details->uname, NULL, out 888 tools/crm_resource_runtime.c out->err(out, "Cleaned all resource failures on all nodes, but unable to clean history: %s", out 895 tools/crm_resource_runtime.c out->info(out, "Cleaned up all resources on %s", display_name); out 900 tools/crm_resource_runtime.c cli_resource_check(pcmk__output_t *out, cib_t * cib_conn, pe_resource_t *rsc) out 908 tools/crm_resource_runtime.c find_resource_attr(out, cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, out 911 tools/crm_resource_runtime.c find_resource_attr(out, cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, out 917 tools/crm_resource_runtime.c rc = out->message(out, "resource-check-list", checks); out 1048 tools/crm_resource_runtime.c static void display_list(pcmk__output_t *out, GList *items, const char *tag) out 1053 tools/crm_resource_runtime.c out->info(out, "%s%s", tag, (const char *)item->data); out 1096 tools/crm_resource_runtime.c update_working_set_from_cib(pcmk__output_t *out, pe_working_set_t * data_set, out 1106 tools/crm_resource_runtime.c out->err(out, "Could not obtain the current CIB: %s (%d)", pcmk_strerror(rc), rc); out 1111 tools/crm_resource_runtime.c out->err(out, "Could not upgrade the current CIB XML"); out 1128 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 1132 tools/crm_resource_runtime.c rc = update_working_set_from_cib(out, data_set, cib); out 1145 tools/crm_resource_runtime.c out->err(out, "Could not create shadow cib: '%s'", pid); out 1153 tools/crm_resource_runtime.c out->err(out, "Could not populate shadow cib: %s (%d)", pcmk_strerror(rc), rc); out 1161 tools/crm_resource_runtime.c out->err(out, "Could not connect to shadow cib: %s (%d)", pcmk_strerror(rc), rc); out 1168 tools/crm_resource_runtime.c prev_quiet = out->is_quiet(out); out 1169 tools/crm_resource_runtime.c out->quiet = true; out 1171 tools/crm_resource_runtime.c out->quiet = prev_quiet; out 1270 tools/crm_resource_runtime.c cli_resource_restart(pcmk__output_t *out, pe_resource_t *rsc, pe_node_t *node, out 1321 tools/crm_resource_runtime.c out->err(out, "%s is not running on %s and so cannot be restarted", id, host); out 1323 tools/crm_resource_runtime.c out->err(out, "%s is not running anywhere and so cannot be restarted", id); out 1371 tools/crm_resource_runtime.c data_set->priv = out; out 1375 tools/crm_resource_runtime.c out->err(out, "Could not get new resource list: %s (%d)", pcmk_strerror(rc), rc); out 1386 tools/crm_resource_runtime.c out->quiet = true; out 1387 tools/crm_resource_runtime.c rc = cli_resource_ban(out, lookup_id, host, move_lifetime, NULL, cib, out 1396 tools/crm_resource_runtime.c find_resource_attr(out, cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, out 1404 tools/crm_resource_runtime.c out->err(out, "Could not set target-role for %s: %s (%d)", rsc_id, pcmk_strerror(rc), rc); out 1418 tools/crm_resource_runtime.c out->err(out, "Could not determine which resources would be stopped"); out 1426 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to stop:", g_list_length(list_delta)); out 1427 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1445 tools/crm_resource_runtime.c out->err(out, "Could not determine which resources were stopped"); out 1464 tools/crm_resource_runtime.c out->err(out, "Could not complete shutdown of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); out 1465 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1489 tools/crm_resource_runtime.c out->err(out, "Could not unset target-role for %s: %s (%d)", rsc_id, pcmk_strerror(rc), rc); out 1499 tools/crm_resource_runtime.c out->info(out, "Waiting for %d resources to start again:", g_list_length(list_delta)); out 1500 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1520 tools/crm_resource_runtime.c out->err(out, "Could not determine which resources were started"); out 1541 tools/crm_resource_runtime.c out->err(out, "Could not complete restart of %s, %d resources remaining", rsc_id, g_list_length(list_delta)); out 1542 tools/crm_resource_runtime.c display_list(out, list_delta, " * "); out 1619 tools/crm_resource_runtime.c print_pending_actions(pcmk__output_t *out, GList *actions) out 1623 tools/crm_resource_runtime.c out->info(out, "Pending actions:"); out 1632 tools/crm_resource_runtime.c out->info(out, "\tAction %d: %s\ton %s", a->id, a->uuid, a->node->details->uname); out 1634 tools/crm_resource_runtime.c out->info(out, "\tAction %d: %s", a->id, a->uuid); out 1660 tools/crm_resource_runtime.c wait_till_stable(pcmk__output_t *out, int timeout_ms, cib_t * cib) out 1667 tools/crm_resource_runtime.c bool printed_version_warning = out->is_quiet(out); // i.e. don't print if quiet out 1681 tools/crm_resource_runtime.c print_pending_actions(out, data_set->actions); out 1691 tools/crm_resource_runtime.c rc = update_working_set_from_cib(out, data_set, cib); out 1712 tools/crm_resource_runtime.c out->info(out, "warning: wait option may not work properly in " out 1810 tools/crm_resource_runtime.c cli_resource_execute_from_params(pcmk__output_t *out, const char *rsc_name, out 1834 tools/crm_resource_runtime.c out->err(out, "Could not execute %s using %s%s%s:%s: %s", out 1867 tools/crm_resource_runtime.c out->message(out, "resource-agent-action", resource_verbose, rsc_class, out 1881 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 1894 tools/crm_resource_runtime.c out->err(out, "It is not safe to %s %s here: the cluster claims it is already active", out 1896 tools/crm_resource_runtime.c out->err(out, "Try setting target-role=Stopped first or specifying " out 1911 tools/crm_resource_runtime.c out->err(out, "Sorry, the %s option doesn't support group resources", rsc_action); out 1914 tools/crm_resource_runtime.c out->err(out, "Sorry, the %s option doesn't support bundled resources", rsc_action); out 1931 tools/crm_resource_runtime.c exit_code = cli_resource_execute_from_params(out, rid, rclass, rprov, rtype, rsc_action, out 1944 tools/crm_resource_runtime.c pcmk__output_t *out = data_set->priv; out 1959 tools/crm_resource_runtime.c out->info(out, "Using parent '%s' for move instead of '%s'.", rsc->id, rsc_id); out 1964 tools/crm_resource_runtime.c out->info(out, "Ignoring master option: %s is not promotable", rsc_id); out 2019 tools/crm_resource_runtime.c rc = cli_resource_prefer(out, rsc_id, dest->details->uname, move_lifetime, out 2032 tools/crm_resource_runtime.c (void)cli_resource_ban(out, rsc_id, current->details->uname, move_lifetime, out 2036 tools/crm_resource_runtime.c out->info(out, "Resource '%s' is currently %s in %d locations. " out 2040 tools/crm_resource_runtime.c out->info(out, "To prevent '%s' from being %s at a specific location, " out 49 tools/crm_rule.c static int crm_rule_check(pcmk__output_t *out, pe_working_set_t *data_set, out 117 tools/crm_rule.c rule_check_default(pcmk__output_t *out, va_list args) out 123 tools/crm_rule.c out->info(out, "Rule %s is still in effect", rule_id); out 125 tools/crm_rule.c out->info(out, "Rule %s satisfies conditions", rule_id); out 127 tools/crm_rule.c out->info(out, "Rule %s is expired", rule_id); out 129 tools/crm_rule.c out->info(out, "Rule %s has not yet taken effect", rule_id); out 131 tools/crm_rule.c out->info(out, "Rule %s does not satisfy conditions", rule_id); out 133 tools/crm_rule.c out->info(out, "Could not determine whether rule %s is expired", rule_id); out 141 tools/crm_rule.c rule_check_xml(pcmk__output_t *out, va_list args) out 148 tools/crm_rule.c pcmk__output_create_xml_node(out, "rule-check", out 166 tools/crm_rule.c crm_rule_check(pcmk__output_t *out, pe_working_set_t *data_set, const char *rule_id, out 251 tools/crm_rule.c out->message(out, "rule-check", rule_id, rc); out 285 tools/crm_rule.c pcmk__output_t *out = NULL; out 300 tools/crm_rule.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 308 tools/crm_rule.c pcmk__register_messages(out, fmt_functions); out 311 tools/crm_rule.c out->version(out, false); out 396 tools/crm_rule.c int last_rc = crm_rule_check(out, data_set, *s, rule_date); out 415 tools/crm_rule.c pcmk__output_and_clear_error(error, out); out 417 tools/crm_rule.c if (out != NULL) { out 418 tools/crm_rule.c out->finish(out, exit_code, true, NULL); out 419 tools/crm_rule.c pcmk__output_free(out); out 454 tools/crm_simulate.c pcmk__output_t *out = NULL; out 480 tools/crm_simulate.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 496 tools/crm_simulate.c pe__register_messages(out); out 497 tools/crm_simulate.c pcmk__register_lib_messages(out); out 499 tools/crm_simulate.c out->quiet = args->quiet; out 502 tools/crm_simulate.c out->version(out, false); out 532 tools/crm_simulate.c data_set->priv = out; out 543 tools/crm_simulate.c rc = pcmk__simulate(data_set, out, options.injections, options.flags, section_opts, out 578 tools/crm_simulate.c if (out != NULL) { out 579 tools/crm_simulate.c out->finish(out, exit_code, true, NULL); out 580 tools/crm_simulate.c pcmk__output_free(out); out 116 tools/crm_verify.c pcmk__output_t *out = NULL; out 131 tools/crm_verify.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 140 tools/crm_verify.c out->version(out, false); out 144 tools/crm_verify.c pcmk__register_lib_messages(out); out 213 tools/crm_verify.c out->err(out, "The cluster will NOT be able to use this configuration.\n" out 224 tools/crm_verify.c data_set->priv = out; out 278 tools/crm_verify.c if (out != NULL) { out 279 tools/crm_verify.c out->finish(out, exit_code, true, NULL); out 280 tools/crm_verify.c pcmk__output_free(out); out 181 tools/crmadmin.c pcmk__output_t *out = NULL; out 196 tools/crmadmin.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 204 tools/crmadmin.c pcmk__register_lib_messages(out); out 206 tools/crmadmin.c out->quiet = args->quiet; out 213 tools/crmadmin.c out->version(out, false); out 218 tools/crmadmin.c out->err(out, "Cluster-wide health option not supported"); out 223 tools/crmadmin.c out->err(out, "error: Must specify a command option"); out 230 tools/crmadmin.c out->err(out, "%s", help); out 238 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, options.timeout); out 241 tools/crmadmin.c rc = pcmk__pacemakerd_status(out, options.ipc_name, options.timeout); out 244 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.BASH_EXPORT); out 247 tools/crmadmin.c rc = pcmk__designated_controller(out, options.timeout); out 255 tools/crmadmin.c out->err(out, "error: Command failed: %s", pcmk_rc_str(rc)); out 264 tools/crmadmin.c pcmk__output_and_clear_error(error, out); out 266 tools/crmadmin.c if (out != NULL) { out 267 tools/crmadmin.c out->finish(out, exit_code, true, NULL); out 268 tools/crmadmin.c pcmk__output_free(out); out 380 tools/stonith_admin.c pcmk__output_t *out = NULL; out 399 tools/stonith_admin.c rc = pcmk__output_new(&out, args->output_ty, args->output_dest, argv); out 407 tools/stonith_admin.c stonith__register_messages(out); out 410 tools/stonith_admin.c out->version(out, false); out 511 tools/stonith_admin.c out->err(out, "%s", help); out 520 tools/stonith_admin.c out->err(out, "Please specify an agent to query using -a,--agent [value]"); out 521 tools/stonith_admin.c out->err(out, "%s", help); out 527 tools/stonith_admin.c out->quiet = args->quiet; out 536 tools/stonith_admin.c out->err(out, "Could not connect to fencer: %s", pcmk_strerror(rc)); out 543 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); out 545 tools/stonith_admin.c out->err(out, "Failed to list installed devices: %s", pcmk_strerror(rc)); out 551 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); out 553 tools/stonith_admin.c out->err(out, "Failed to list registered devices: %s", pcmk_strerror(rc)); out 567 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); out 569 tools/stonith_admin.c out->err(out, "Couldn't list targets: %s", pcmk_strerror(rc)); out 594 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); out 596 tools/stonith_admin.c out->err(out, "Can't get fence agent meta-data: %s", pcmk_strerror(rc)); out 619 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); out 623 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, out 629 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, out 641 tools/stonith_admin.c pcmk__output_and_clear_error(error, out); out 643 tools/stonith_admin.c if (out != NULL) { out 644 tools/stonith_admin.c out->finish(out, exit_code, true, NULL); out 645 tools/stonith_admin.c pcmk__output_free(out);