stream            137 attrd/legacy.c     FILE *stream;
stream            139 attrd/legacy.c     stream = exit_status ? stderr : stdout;
stream            141 attrd/legacy.c     fprintf(stream, "usage: %s [-srkh] [-c configure file]\n", cmd);
stream            147 attrd/legacy.c     fflush(stream);
stream            179 cib/cibmon.c       FILE *stream;
stream            181 cib/cibmon.c       stream = exit_status != 0 ? stderr : stdout;
stream            182 cib/cibmon.c       fflush(stream);
stream            125 crmd/throttle.c     FILE *stream = NULL;
stream            147 crmd/throttle.c     stream = fopen(loadfile, "r");
stream            148 crmd/throttle.c     if(stream == NULL) {
stream            156 crmd/throttle.c     if(fgets(buffer, sizeof(buffer), stream)) {
stream            170 crmd/throttle.c             fclose(stream);
stream            195 crmd/throttle.c         fclose(stream);
stream            199 crmd/throttle.c     fclose(stream);
stream            207 crmd/throttle.c     FILE *stream = NULL;
stream            214 crmd/throttle.c     stream = fopen(loadfile, "r");
stream            215 crmd/throttle.c     if(stream == NULL) {
stream            221 crmd/throttle.c     if(fgets(buffer, sizeof(buffer), stream)) {
stream            228 crmd/throttle.c         fclose(stream);
stream            232 crmd/throttle.c     fclose(stream);
stream            155 lib/common/procfs.c     FILE *stream = NULL;
stream            158 lib/common/procfs.c     stream = fopen("/proc/stat", "r");
stream            159 lib/common/procfs.c     if (stream == NULL) {
stream            164 lib/common/procfs.c         while (fgets(buffer, sizeof(buffer), stream)) {
stream            169 lib/common/procfs.c         fclose(stream);
stream           1107 lib/common/utils.c     FILE *stream = (exit_code ? stderr : stdout);
stream           1110 lib/common/utils.c         fprintf(stream, "Pacemaker %s\n", PACEMAKER_VERSION);
stream           1111 lib/common/utils.c         fprintf(stream, "Written by Andrew Beekhof\n");
stream           1116 lib/common/utils.c         fprintf(stream, "Pacemaker %s (Build: %s): %s\n", PACEMAKER_VERSION, BUILD_VERSION, CRM_FEATURES);
stream           1120 lib/common/utils.c     fprintf(stream, "%s - %s\n", crm_system_name, crm_app_description);
stream           1123 lib/common/utils.c         fprintf(stream, "Usage: %s %s\n", crm_system_name, crm_app_usage);
stream           1127 lib/common/utils.c         fprintf(stream, "Options:\n");
stream           1132 lib/common/utils.c                 fprintf(stream, "%s\n\n", crm_long_options[i].desc);
stream           1135 lib/common/utils.c                 fprintf(stream, "\t#%s\n\n", crm_long_options[i].desc);
stream           1138 lib/common/utils.c                 fprintf(stream, "%s\n", crm_long_options[i].desc);
stream           1143 lib/common/utils.c                     fprintf(stream, " -%c,", crm_long_options[i].val);
stream           1145 lib/common/utils.c                     fputs("    ", stream);
stream           1147 lib/common/utils.c                 fprintf(stream, " --%s%s\t%s\n", crm_long_options[i].name,
stream           1155 lib/common/utils.c         fprintf(stream, "Usage: %s - %s\n", crm_system_name, crm_app_description);
stream           1166 lib/common/utils.c             fprintf(stream, " -%c %s\n", crm_short_options[i],
stream           1173 lib/common/utils.c     fprintf(stream, "\nReport bugs to %s\n", PACKAGE_BUGREPORT);
stream           3061 lib/common/xml.c write_xml_stream(xmlNode * xml_node, const char *filename, FILE * stream, gboolean compress)
stream           3067 lib/common/xml.c     CRM_CHECK(stream != NULL, return -1);
stream           3072 lib/common/xml.c         fclose(stream);
stream           3089 lib/common/xml.c         bz_file = BZ2_bzWriteOpen(&rc, stream, 5, 0, 30);
stream           3114 lib/common/xml.c         res = fprintf(stream, "%s", buffer);
stream           3123 lib/common/xml.c     if (fflush(stream) != 0) {
stream           3129 lib/common/xml.c     if (fsync(fileno(stream)) < 0 && errno != EROFS  && errno != EINVAL) {
stream           3134 lib/common/xml.c     fclose(stream);
stream           3145 lib/common/xml.c     FILE *stream = NULL;
stream           3148 lib/common/xml.c     stream = fdopen(fd, "w");
stream           3149 lib/common/xml.c     return write_xml_stream(xml_node, filename, stream, compress);
stream           3155 lib/common/xml.c     FILE *stream = NULL;
stream           3157 lib/common/xml.c     stream = fopen(filename, "w");
stream           3159 lib/common/xml.c     return write_xml_stream(xml_node, filename, stream, compress);
stream            136 lib/gnu/md5.c  md5_stream (FILE *stream, void *resblock)
stream            160 lib/gnu/md5.c            n = fread (buffer + sum, 1, BLOCKSIZE - sum, stream);
stream            172 lib/gnu/md5.c                if (ferror (stream))
stream            183 lib/gnu/md5.c            if (feof (stream))
stream            112 lib/gnu/md5.h  extern int __md5_stream (FILE *stream, void *resblock) __THROW;
stream            996 lib/lrmd/lrmd_client.c     FILE *stream;
stream           1027 lib/lrmd/lrmd_client.c     stream = fopen(location, "r");
stream           1028 lib/lrmd/lrmd_client.c     if (!stream) {
stream           1033 lib/lrmd/lrmd_client.c     while (!feof(stream)) {
stream           1040 lib/lrmd/lrmd_client.c         next = fgetc(stream);
stream           1041 lib/lrmd/lrmd_client.c         if (next == EOF && feof(stream)) {
stream           1048 lib/lrmd/lrmd_client.c     fclose(stream);
stream             81 lib/pengine/unpack.h 		FILE *stream = print_data;		\
stream             82 lib/pengine/unpack.h 		fprintf(stream, fmt, ##args);		\
stream             86 lib/pengine/unpack.h 		FILE *stream = print_data;		\
stream             87 lib/pengine/unpack.h 		fprintf(stream, fmt, ##args);		\
stream             89 lib/pengine/unpack.h 		FILE *stream = print_data;		\
stream             90 lib/pengine/unpack.h 		fprintf(stream, fmt, ##args);		\
stream            936 tools/crm_mon.c print_nvpair(FILE *stream, const char *name, const char *value,
stream            949 tools/crm_mon.c             fprintf(stream, " %s=", name);
stream            966 tools/crm_mon.c                 fprintf(stream, "%s%s", value, (units? units : ""));
stream            970 tools/crm_mon.c                 fprintf(stream, "\"%s%s\"", value, (units? units : ""));
stream            997 tools/crm_mon.c                 fprintf(stream, "\"%s\"", date_str);
stream           1014 tools/crm_mon.c print_node_start(FILE *stream, node_t *node)
stream           1029 tools/crm_mon.c             fprintf(stream, "  <h3>Node: %s</h3>\n  <ul>\n", node_name);
stream           1034 tools/crm_mon.c             fprintf(stream, "        <node name=\"%s\">\n", node->details->uname);
stream           1049 tools/crm_mon.c print_node_end(FILE *stream)
stream           1054 tools/crm_mon.c             fprintf(stream, "  </ul>\n");
stream           1058 tools/crm_mon.c             fprintf(stream, "        </node>\n");
stream           1073 tools/crm_mon.c print_resources_heading(FILE *stream)
stream           1098 tools/crm_mon.c             fprintf(stream, " <hr />\n <h2>%s</h2>\n", heading);
stream           1102 tools/crm_mon.c             fprintf(stream, "    <resources>\n");
stream           1118 tools/crm_mon.c print_resources_closing(FILE *stream, gboolean printed_heading)
stream           1142 tools/crm_mon.c                 fprintf(stream, " <hr />\n <h2>No %sresources</h2>\n", heading);
stream           1147 tools/crm_mon.c             fprintf(stream, "    %s\n",
stream           1165 tools/crm_mon.c print_resources(FILE *stream, pe_working_set_t *data_set, int print_opts)
stream           1188 tools/crm_mon.c         print_resources_heading(stream);
stream           1190 tools/crm_mon.c         print_rscs_brief(data_set->resources, NULL, print_opts, stream,
stream           1225 tools/crm_mon.c             print_resources_heading(stream);
stream           1228 tools/crm_mon.c         rsc->fns->print(rsc, prefix, print_opts, stream);
stream           1231 tools/crm_mon.c     print_resources_closing(stream, printed_heading);
stream           1246 tools/crm_mon.c print_rsc_history_start(FILE *stream, pe_working_set_t *data_set, node_t *node,
stream           1268 tools/crm_mon.c             fprintf(stream, "   <li>%s:", rsc_id);
stream           1272 tools/crm_mon.c             fprintf(stream, "            <resource_history id=\"%s\"", rsc_id);
stream           1289 tools/crm_mon.c                 fprintf(stream, " orphan");
stream           1293 tools/crm_mon.c                 fprintf(stream, " orphan=\"true\"");
stream           1312 tools/crm_mon.c                 fprintf(stream, " migration-threshold=%d", rsc->migration_threshold);
stream           1316 tools/crm_mon.c                 fprintf(stream, " orphan=\"false\" migration-threshold=\"%d\"",
stream           1334 tools/crm_mon.c                     fprintf(stream, " " CRM_FAIL_COUNT_PREFIX "=%d", failcount);
stream           1338 tools/crm_mon.c                     fprintf(stream, " " CRM_FAIL_COUNT_PREFIX "=\"%d\"",
stream           1349 tools/crm_mon.c             print_nvpair(stream, CRM_LAST_FAILURE_PREFIX, NULL, NULL,
stream           1363 tools/crm_mon.c             fprintf(stream, "\n    <ul>\n");
stream           1367 tools/crm_mon.c             fprintf(stream, ">\n");
stream           1382 tools/crm_mon.c print_rsc_history_end(FILE *stream)
stream           1387 tools/crm_mon.c             fprintf(stream, "    </ul>\n   </li>\n");
stream           1391 tools/crm_mon.c             fprintf(stream, "            </resource_history>\n");
stream           1412 tools/crm_mon.c print_op_history(FILE *stream, pe_working_set_t *data_set, node_t *node,
stream           1427 tools/crm_mon.c             fprintf(stream, "     <li>(%s) %s:", call, task);
stream           1431 tools/crm_mon.c             fprintf(stream, "                <operation_history call=\"%s\" task=\"%s\"",
stream           1441 tools/crm_mon.c         print_nvpair(stream, "interval", interval, "ms", 0);
stream           1452 tools/crm_mon.c                 print_nvpair(stream, attr, NULL, NULL, int_value);
stream           1461 tools/crm_mon.c                 print_nvpair(stream, attr, NULL, NULL, int_value);
stream           1468 tools/crm_mon.c             print_nvpair(stream, attr, value, "ms", 0);
stream           1474 tools/crm_mon.c             print_nvpair(stream, attr, value, "ms", 0);
stream           1487 tools/crm_mon.c             fprintf(stream, " rc=%d (%s)</li>\n", rc, services_ocf_exitcode_str(rc));
stream           1491 tools/crm_mon.c             fprintf(stream, " rc=\"%d\" rc_text=\"%s\" />\n", rc, services_ocf_exitcode_str(rc));
stream           1510 tools/crm_mon.c print_rsc_history(FILE *stream, pe_working_set_t *data_set, node_t *node,
stream           1522 tools/crm_mon.c         print_rsc_history_start(stream, data_set, node, rsc, rsc_id, FALSE);
stream           1523 tools/crm_mon.c         print_rsc_history_end(stream);
stream           1556 tools/crm_mon.c             print_rsc_history_start(stream, data_set, node, rsc, rsc_id, TRUE);
stream           1560 tools/crm_mon.c         print_op_history(stream, data_set, node, xml_op, task, interval, rc);
stream           1568 tools/crm_mon.c         print_rsc_history_end(stream);
stream           1582 tools/crm_mon.c print_node_history(FILE *stream, pe_working_set_t *data_set,
stream           1590 tools/crm_mon.c         print_node_start(stream, node);
stream           1600 tools/crm_mon.c                 print_rsc_history(stream, data_set, node, rsc_entry, operations);
stream           1604 tools/crm_mon.c         print_node_end(stream);
stream           1620 tools/crm_mon.c print_attr_msg(FILE *stream, node_t * node, GListPtr rsc_list, const char *attrname, const char *attrvalue)
stream           1629 tools/crm_mon.c             if (print_attr_msg(stream, node, rsc->children, attrname, attrvalue)) {
stream           1671 tools/crm_mon.c                             fprintf(stream, " <b>(connectivity is lost)</b>");
stream           1673 tools/crm_mon.c                             fprintf(stream, " <b>(connectivity is degraded -- expected %d)</b>",
stream           1679 tools/crm_mon.c                         fprintf(stream, " expected=\"%d\"", expected_score);
stream           1722 tools/crm_mon.c     FILE *stream;
stream           1743 tools/crm_mon.c             fprintf(data->stream, "   <li>%s: %s",
stream           1748 tools/crm_mon.c             fprintf(data->stream,
stream           1758 tools/crm_mon.c     print_attr_msg(data->stream, data->node, data->node->details->running_rsc,
stream           1770 tools/crm_mon.c             fprintf(data->stream, "</li>\n");
stream           1774 tools/crm_mon.c             fprintf(data->stream, " />\n");
stream           1783 tools/crm_mon.c print_node_summary(FILE *stream, pe_working_set_t * data_set, gboolean operations)
stream           1802 tools/crm_mon.c                 fprintf(stream, " <hr />\n <h2>Operations</h2>\n");
stream           1804 tools/crm_mon.c                 fprintf(stream, " <hr />\n <h2>Migration Summary</h2>\n");
stream           1809 tools/crm_mon.c             fprintf(stream, "    <node_history>\n");
stream           1820 tools/crm_mon.c             print_node_history(stream, data_set, node_state, operations);
stream           1827 tools/crm_mon.c             fprintf(stream, "    </node_history>\n");
stream           1839 tools/crm_mon.c     FILE *stream = (FILE *) data;
stream           1851 tools/crm_mon.c             fprintf(stream, "  <li>%s: %s%s", ticket->id,
stream           1857 tools/crm_mon.c             fprintf(stream, "        <ticket id=\"%s\" status=\"%s\" standby=\"%s\"",
stream           1876 tools/crm_mon.c             fprintf(stream, "</li>\n");
stream           1880 tools/crm_mon.c             fprintf(stream, " />\n");
stream           1889 tools/crm_mon.c print_cluster_tickets(FILE *stream, pe_working_set_t * data_set)
stream           1900 tools/crm_mon.c             fprintf(stream, " <hr />\n <h2>Tickets</h2>\n <ul>\n");
stream           1904 tools/crm_mon.c             fprintf(stream, "    <tickets>\n");
stream           1912 tools/crm_mon.c     g_hash_table_foreach(data_set->tickets, print_ticket, stream);
stream           1918 tools/crm_mon.c             fprintf(stream, " </ul>\n");
stream           1922 tools/crm_mon.c             fprintf(stream, "    </tickets>\n");
stream           2010 tools/crm_mon.c static void print_ban(FILE *stream, node_t *node, rsc_to_node_t *location)
stream           2027 tools/crm_mon.c             fprintf(stream, "  <li>%s prevents %s from running %son %s</li>\n",
stream           2034 tools/crm_mon.c             fprintf(stream,
stream           2053 tools/crm_mon.c static void print_neg_locations(FILE *stream, pe_working_set_t *data_set)
stream           2066 tools/crm_mon.c             fprintf(stream, " <hr />\n <h2>Negative Location Constraints</h2>\n <ul>\n");
stream           2070 tools/crm_mon.c             fprintf(stream, "    <bans>\n");
stream           2086 tools/crm_mon.c                 print_ban(stream, node, location);
stream           2095 tools/crm_mon.c             fprintf(stream, " </ul>\n");
stream           2099 tools/crm_mon.c             fprintf(stream, "    </bans>\n");
stream           2129 tools/crm_mon.c print_node_attributes(FILE *stream, pe_working_set_t *data_set)
stream           2142 tools/crm_mon.c             fprintf(stream, " <hr />\n <h2>Node Attributes</h2>\n");
stream           2146 tools/crm_mon.c             fprintf(stream, "    <node_attributes>\n");
stream           2164 tools/crm_mon.c         data.stream = stream;
stream           2168 tools/crm_mon.c             print_node_start(stream, data.node);
stream           2173 tools/crm_mon.c             print_node_end(stream);
stream           2180 tools/crm_mon.c             fprintf(stream, "    </node_attributes>\n");
stream           2261 tools/crm_mon.c print_cluster_summary_header(FILE *stream)
stream           2266 tools/crm_mon.c             fprintf(stream, " <h2>Cluster Summary</h2>\n <p>\n");
stream           2270 tools/crm_mon.c             fprintf(stream, "    <summary>\n");
stream           2285 tools/crm_mon.c print_cluster_summary_footer(FILE *stream)
stream           2290 tools/crm_mon.c             fprintf(stream, " </p>\n");
stream           2294 tools/crm_mon.c             fprintf(stream, "    </summary>\n");
stream           2310 tools/crm_mon.c print_cluster_times(FILE *stream, pe_working_set_t *data_set)
stream           2337 tools/crm_mon.c             fprintf(stream, " <b>Last updated:</b> %s<br/>\n", crm_now_string());
stream           2338 tools/crm_mon.c             fprintf(stream, " <b>Last change:</b> %s", last_written ? last_written : "");
stream           2340 tools/crm_mon.c                 fprintf(stream, " by %s", user);
stream           2343 tools/crm_mon.c                 fprintf(stream, " via %s", client);
stream           2346 tools/crm_mon.c                 fprintf(stream, " on %s", origin);
stream           2348 tools/crm_mon.c             fprintf(stream, "<br/>\n");
stream           2352 tools/crm_mon.c             fprintf(stream, "        <last_update time=\"%s\" />\n", crm_now_string());
stream           2353 tools/crm_mon.c             fprintf(stream, "        <last_change time=\"%s\" user=\"%s\" client=\"%s\" origin=\"%s\" />\n",
stream           2371 tools/crm_mon.c print_cluster_stack(FILE *stream, const char *stack_s)
stream           2381 tools/crm_mon.c             fprintf(stream, " <b>Stack:</b> %s<br/>\n", stack_s);
stream           2385 tools/crm_mon.c             fprintf(stream, "        <stack type=\"%s\" />\n", stack_s);
stream           2401 tools/crm_mon.c print_cluster_dc(FILE *stream, pe_working_set_t *data_set)
stream           2427 tools/crm_mon.c             fprintf(stream, " <b>Current DC:</b> ");
stream           2429 tools/crm_mon.c                 fprintf(stream, "%s (version %s) - partition %s quorum",
stream           2433 tools/crm_mon.c                 fprintf(stream, "<font color=\"red\"><b>NONE</b></font>");
stream           2435 tools/crm_mon.c             fprintf(stream, "<br/>\n");
stream           2439 tools/crm_mon.c             fprintf(stream,  "        <current_dc ");
stream           2441 tools/crm_mon.c                 fprintf(stream,
stream           2446 tools/crm_mon.c                 fprintf(stream, "present=\"false\"");
stream           2448 tools/crm_mon.c             fprintf(stream, " />\n");
stream           2466 tools/crm_mon.c print_cluster_counts(FILE *stream, pe_working_set_t *data_set, const char *stack_s)
stream           2509 tools/crm_mon.c             fprintf(stream, " %d node%s configured", nnodes, s_if_plural(nnodes));
stream           2511 tools/crm_mon.c                 fprintf(stream, " (%s expected votes)", quorum_votes);
stream           2513 tools/crm_mon.c             fprintf(stream, "<br/>\n");
stream           2515 tools/crm_mon.c             fprintf(stream, " %d resource%s configured",
stream           2518 tools/crm_mon.c                 fprintf(stream, " (");
stream           2520 tools/crm_mon.c                     fprintf(stream, "%d <strong>DISABLED</strong>",
stream           2524 tools/crm_mon.c                     fprintf(stream, ", ");
stream           2527 tools/crm_mon.c                     fprintf(stream,
stream           2531 tools/crm_mon.c                 fprintf(stream, ")");
stream           2533 tools/crm_mon.c             fprintf(stream, "<br/>\n");
stream           2537 tools/crm_mon.c             fprintf(stream,
stream           2540 tools/crm_mon.c             fprintf(stream,
stream           2562 tools/crm_mon.c print_cluster_options(FILE *stream, pe_working_set_t *data_set)
stream           2575 tools/crm_mon.c             fprintf(stream, " </p>\n <h3>Config Options</h3>\n");
stream           2576 tools/crm_mon.c             fprintf(stream, " <table>\n");
stream           2577 tools/crm_mon.c             fprintf(stream, "  <tr><th>STONITH of failed nodes</th><td>%s</td></tr>\n",
stream           2580 tools/crm_mon.c             fprintf(stream, "  <tr><th>Cluster is</th><td>%ssymmetric</td></tr>\n",
stream           2583 tools/crm_mon.c             fprintf(stream, "  <tr><th>No Quorum Policy</th><td>");
stream           2586 tools/crm_mon.c                     fprintf(stream, "Freeze resources");
stream           2589 tools/crm_mon.c                     fprintf(stream, "Stop ALL resources");
stream           2592 tools/crm_mon.c                     fprintf(stream, "Ignore");
stream           2595 tools/crm_mon.c                     fprintf(stream, "Suicide");
stream           2598 tools/crm_mon.c             fprintf(stream, "</td></tr>\n");
stream           2600 tools/crm_mon.c             fprintf(stream, "  <tr><th>Resource management</th><td>");
stream           2602 tools/crm_mon.c                 fprintf(stream, "<strong>DISABLED</strong> (the cluster will "
stream           2605 tools/crm_mon.c                 fprintf(stream, "enabled");
stream           2607 tools/crm_mon.c             fprintf(stream, "</td></tr>\n");
stream           2609 tools/crm_mon.c             fprintf(stream, "</table>\n <p>\n");
stream           2613 tools/crm_mon.c             fprintf(stream, "        <cluster_options");
stream           2614 tools/crm_mon.c             fprintf(stream, " stonith-enabled=\"%s\"",
stream           2617 tools/crm_mon.c             fprintf(stream, " symmetric-cluster=\"%s\"",
stream           2620 tools/crm_mon.c             fprintf(stream, " no-quorum-policy=\"");
stream           2623 tools/crm_mon.c                     fprintf(stream, "freeze");
stream           2626 tools/crm_mon.c                     fprintf(stream, "stop");
stream           2629 tools/crm_mon.c                     fprintf(stream, "ignore");
stream           2632 tools/crm_mon.c                     fprintf(stream, "suicide");
stream           2635 tools/crm_mon.c             fprintf(stream, "\"");
stream           2636 tools/crm_mon.c             fprintf(stream, " maintenance-mode=\"%s\"",
stream           2639 tools/crm_mon.c             fprintf(stream, " />\n");
stream           2671 tools/crm_mon.c print_cluster_summary(FILE *stream, pe_working_set_t *data_set)
stream           2678 tools/crm_mon.c             print_cluster_summary_header(stream);
stream           2681 tools/crm_mon.c         print_cluster_stack(stream, stack_s);
stream           2687 tools/crm_mon.c             print_cluster_summary_header(stream);
stream           2690 tools/crm_mon.c         print_cluster_dc(stream, data_set);
stream           2695 tools/crm_mon.c             print_cluster_summary_header(stream);
stream           2698 tools/crm_mon.c         print_cluster_times(stream, data_set);
stream           2706 tools/crm_mon.c             print_cluster_summary_header(stream);
stream           2709 tools/crm_mon.c         print_cluster_counts(stream, data_set, stack_s);
stream           2716 tools/crm_mon.c         print_cluster_options(stream, data_set);
stream           2720 tools/crm_mon.c         print_cluster_summary_footer(stream);
stream           2732 tools/crm_mon.c print_failed_action(FILE *stream, xmlNode *xml_op)
stream           2766 tools/crm_mon.c             fprintf(stream, "  <li>%s on %s '%s' (%d): call=%s, status=%s, exitreason='%s'",
stream           2773 tools/crm_mon.c             fprintf(stream, "        <failure %s=\"%s\" node=\"%s\"",
stream           2775 tools/crm_mon.c             fprintf(stream, " exitstatus=\"%s\" exitreason=\"%s\" exitcode=\"%d\"",
stream           2777 tools/crm_mon.c             fprintf(stream, " call=\"%s\" status=\"%s\"",
stream           2806 tools/crm_mon.c                 fprintf(stream, " last-rc-change='%s', queued=%sms, exec=%sms",
stream           2813 tools/crm_mon.c                 fprintf(stream,
stream           2836 tools/crm_mon.c             fprintf(stream, "</li>\n");
stream           2840 tools/crm_mon.c             fprintf(stream, " />\n");
stream           2856 tools/crm_mon.c print_failed_actions(FILE *stream, pe_working_set_t *data_set)
stream           2869 tools/crm_mon.c             fprintf(stream, " <hr />\n <h2>Failed Actions</h2>\n <ul>\n");
stream           2873 tools/crm_mon.c             fprintf(stream, "    <failures>\n");
stream           2883 tools/crm_mon.c         print_failed_action(stream, xml_op);
stream           2895 tools/crm_mon.c             fprintf(stream, " </ul>\n");
stream           2899 tools/crm_mon.c             fprintf(stream, "    </failures>\n");
stream           3098 tools/crm_mon.c     FILE *stream = stdout;
stream           3102 tools/crm_mon.c     fprintf(stream, "<?xml version=\"1.0\"?>\n");
stream           3103 tools/crm_mon.c     fprintf(stream, "<crm_mon version=\"%s\">\n", VERSION);
stream           3105 tools/crm_mon.c     print_cluster_summary(stream, data_set);
stream           3108 tools/crm_mon.c     fprintf(stream, "    <nodes>\n");
stream           3125 tools/crm_mon.c         fprintf(stream, "        <node name=\"%s\" ", node->details->uname);
stream           3126 tools/crm_mon.c         fprintf(stream, "id=\"%s\" ", node->details->id);
stream           3127 tools/crm_mon.c         fprintf(stream, "online=\"%s\" ", node->details->online ? "true" : "false");
stream           3128 tools/crm_mon.c         fprintf(stream, "standby=\"%s\" ", node->details->standby ? "true" : "false");
stream           3129 tools/crm_mon.c         fprintf(stream, "standby_onfail=\"%s\" ", node->details->standby_onfail ? "true" : "false");
stream           3130 tools/crm_mon.c         fprintf(stream, "maintenance=\"%s\" ", node->details->maintenance ? "true" : "false");
stream           3131 tools/crm_mon.c         fprintf(stream, "pending=\"%s\" ", node->details->pending ? "true" : "false");
stream           3132 tools/crm_mon.c         fprintf(stream, "unclean=\"%s\" ", node->details->unclean ? "true" : "false");
stream           3133 tools/crm_mon.c         fprintf(stream, "shutdown=\"%s\" ", node->details->shutdown ? "true" : "false");
stream           3134 tools/crm_mon.c         fprintf(stream, "expected_up=\"%s\" ", node->details->expected_up ? "true" : "false");
stream           3135 tools/crm_mon.c         fprintf(stream, "is_dc=\"%s\" ", node->details->is_dc ? "true" : "false");
stream           3136 tools/crm_mon.c         fprintf(stream, "resources_running=\"%d\" ", g_list_length(node->details->running_rsc));
stream           3137 tools/crm_mon.c         fprintf(stream, "type=\"%s\" ", node_type);
stream           3139 tools/crm_mon.c             fprintf(stream, "id_as_resource=\"%s\" ", node->details->remote_rsc->container->id);
stream           3145 tools/crm_mon.c             fprintf(stream, ">\n");
stream           3149 tools/crm_mon.c                 rsc->fns->print(rsc, "            ", print_opts | pe_print_rsconly, stream);
stream           3151 tools/crm_mon.c             fprintf(stream, "        </node>\n");
stream           3153 tools/crm_mon.c             fprintf(stream, "/>\n");
stream           3156 tools/crm_mon.c     fprintf(stream, "    </nodes>\n");
stream           3159 tools/crm_mon.c     print_resources(stream, data_set, print_opts);
stream           3163 tools/crm_mon.c         print_node_attributes(stream, data_set);
stream           3170 tools/crm_mon.c         print_node_summary(stream, data_set,
stream           3176 tools/crm_mon.c         print_failed_actions(stream, data_set);
stream           3181 tools/crm_mon.c         print_cluster_tickets(stream, data_set);
stream           3186 tools/crm_mon.c         print_neg_locations(stream, data_set);
stream           3189 tools/crm_mon.c     fprintf(stream, "</crm_mon>\n");
stream           3190 tools/crm_mon.c     fflush(stream);
stream           3191 tools/crm_mon.c     fclose(stream);
stream           3206 tools/crm_mon.c     FILE *stream;
stream           3212 tools/crm_mon.c         stream = stdout;
stream           3213 tools/crm_mon.c         fprintf(stream, "Content-Type: text/html\n\n");
stream           3217 tools/crm_mon.c         stream = fopen(filename_tmp, "w");
stream           3218 tools/crm_mon.c         if (stream == NULL) {
stream           3225 tools/crm_mon.c     fprintf(stream, "<html>\n");
stream           3226 tools/crm_mon.c     fprintf(stream, " <head>\n");
stream           3227 tools/crm_mon.c     fprintf(stream, "  <title>Cluster status</title>\n");
stream           3228 tools/crm_mon.c     fprintf(stream, "  <meta http-equiv=\"refresh\" content=\"%d\">\n", reconnect_msec / 1000);
stream           3229 tools/crm_mon.c     fprintf(stream, " </head>\n");
stream           3230 tools/crm_mon.c     fprintf(stream, "<body>\n");
stream           3232 tools/crm_mon.c     print_cluster_summary(stream, data_set);
stream           3236 tools/crm_mon.c     fprintf(stream, " <hr />\n <h2>Node List</h2>\n");
stream           3237 tools/crm_mon.c     fprintf(stream, "<ul>\n");
stream           3242 tools/crm_mon.c         fprintf(stream, "<li>Node: %s: ", node_name);
stream           3244 tools/crm_mon.c             fprintf(stream, "<font color=\"orange\">standby (on-fail)</font>\n");
stream           3246 tools/crm_mon.c             fprintf(stream, "<font color=\"orange\">standby</font>\n");
stream           3248 tools/crm_mon.c             fprintf(stream, "<font color=\"red\">OFFLINE (standby)</font>\n");
stream           3250 tools/crm_mon.c             fprintf(stream, "<font color=\"blue\">maintenance</font>\n");
stream           3252 tools/crm_mon.c             fprintf(stream, "<font color=\"red\">OFFLINE (maintenance)</font>\n");
stream           3254 tools/crm_mon.c             fprintf(stream, "<font color=\"green\">online</font>\n");
stream           3256 tools/crm_mon.c             fprintf(stream, "<font color=\"red\">OFFLINE</font>\n");
stream           3259 tools/crm_mon.c             fprintf(stream, "<ul>\n");
stream           3261 tools/crm_mon.c                              stream, FALSE);
stream           3262 tools/crm_mon.c             fprintf(stream, "</ul>\n");
stream           3267 tools/crm_mon.c             fprintf(stream, "<ul>\n");
stream           3271 tools/crm_mon.c                 fprintf(stream, "<li>");
stream           3272 tools/crm_mon.c                 rsc->fns->print(rsc, NULL, print_opts | pe_print_rsconly, stream);
stream           3273 tools/crm_mon.c                 fprintf(stream, "</li>\n");
stream           3275 tools/crm_mon.c             fprintf(stream, "</ul>\n");
stream           3277 tools/crm_mon.c         fprintf(stream, "</li>\n");
stream           3280 tools/crm_mon.c     fprintf(stream, "</ul>\n");
stream           3283 tools/crm_mon.c     print_resources(stream, data_set, print_opts);
stream           3287 tools/crm_mon.c         print_node_attributes(stream, data_set);
stream           3294 tools/crm_mon.c         print_node_summary(stream, data_set,
stream           3300 tools/crm_mon.c         print_failed_actions(stream, data_set);
stream           3305 tools/crm_mon.c         print_cluster_tickets(stream, data_set);
stream           3310 tools/crm_mon.c         print_neg_locations(stream, data_set);
stream           3313 tools/crm_mon.c     fprintf(stream, "</body>\n");
stream           3314 tools/crm_mon.c     fprintf(stream, "</html>\n");
stream           3315 tools/crm_mon.c     fflush(stream);
stream           3316 tools/crm_mon.c     fclose(stream);