ocs_textbuf_printf
ocs_textbuf_printf(textbuf, "No history available\n");
ocs_textbuf_printf(textbuf, "<history>\n");
ocs_textbuf_printf(textbuf, "(newest first):\n");
ocs_textbuf_printf(textbuf, "%s:\n",
ocs_textbuf_printf(textbuf, " t: %" PRIu64 "\n", tsc_value);
ocs_textbuf_printf(textbuf, " qid=0x%x idx=0x%x\n",
ocs_textbuf_printf(textbuf, " [%d]=%x\n",
ocs_textbuf_printf(textbuf, "</history>\n");
ocs_textbuf_printf(textbuf, "<rpi_ref>");
ocs_textbuf_printf(textbuf, "[%d] att=%d cnt=%d\n", i,
ocs_textbuf_printf(textbuf, "</rpi_ref>");
ocs_textbuf_printf(textbuf, "<history>\n");
ocs_textbuf_printf(textbuf, "No history available\n");
ocs_textbuf_printf(textbuf, "</history>\n");
ocs_textbuf_printf(textbuf, "<%s instance=\"%d\">\n", name, index);
ocs_textbuf_printf(textbuf, "<%s>\n", name);
ocs_textbuf_printf(textbuf, "</%s>\n", name);
ocs_textbuf_printf(textbuf, "</%s>\n", name);
ocs_textbuf_printf(textbuf, "<%s mode=\"%s\"/>\n", name, mode_string(mode));
ocs_textbuf_printf(textbuf, "<%s mode=\"%s\">%s</%s>\n", name, mode_string(mode), value, name);
ocs_textbuf_printf(textbuf, "<%s mode=\"%s\">%s</%s>\n", name, mode_string(mode), valuebuf, name);
ocs_textbuf_printf(textbuf, "<%s mode=\"%s\">%s</%s>\n", name, mode_string(mode), valuebuf, name);
ocs_textbuf_printf(&txtbuf, "cdb%d: ", cdb_len);
ocs_textbuf_printf(&txtbuf, "%02X%s", cdb[i], (i == (cdb_len-1)) ? "" : " ");
ocs_textbuf_printf(textbuf, "<?xml version=\"1.0\" encoding=\"ISO-8859-1\" ?>\n");
ocs_textbuf_printf(textbuf, "<%s type=\"section\" instance=\"%d\">\n", name, instance);
ocs_textbuf_printf(textbuf, "</%s>\n", name);
ocs_textbuf_printf(textbuf, "<%s>%s</%s>\n", name, valuebuf, name);
ocs_textbuf_printf(textbuf, "<%s type=\"buffer\" instance=\"%d\">\n", name, instance);
ocs_textbuf_printf(textbuf, "%08x ", *dword++);
ocs_textbuf_printf(textbuf, "\n");
ocs_textbuf_printf(textbuf, "</%s>\n", name);
ocs_textbuf_printf(textbuf, "<qentries>\n");
ocs_textbuf_printf(textbuf, "[%04x] ", index);
ocs_textbuf_printf(textbuf, "%08x ", *dword++);
ocs_textbuf_printf(textbuf, "\n");
ocs_textbuf_printf(textbuf, " ");
ocs_textbuf_printf(textbuf, "</qentries>\n");
extern void ocs_textbuf_printf(ocs_textbuf_t *textbuf, const char *fmt, ...) __printflike(2, 3);