|
|
| version 1.63, 2002/01/15 16:02:42 | version 1.64, 2002/01/16 09:27:00 |
|---|---|
| Line 32 extern "C" { | Line 32 extern "C" { |
| #define XDOC_OUTPUT_METHOD_OPTION_VALUE_XML "xml" | #define XDOC_OUTPUT_METHOD_OPTION_VALUE_XML "xml" |
| #define XDOC_OUTPUT_METHOD_OPTION_VALUE_HTML "html" | #define XDOC_OUTPUT_METHOD_OPTION_VALUE_HTML "html" |
| #define XDOC_OUTPUT_METHOD_OPTION_VALUE_TEXT "text" | #define XDOC_OUTPUT_METHOD_OPTION_VALUE_TEXT "text" |
| #define XDOC_OUTPUT_DEFAULT_INDENT 4 | |
| // class | // class |
| Line 560 static void _file(Request& r, const Stri | Line 559 static void _file(Request& r, const Stri |
| char *buf; size_t buf_size; | char *buf; size_t buf_size; |
| xdoc2buf(pool, vdoc, method_name, params, 0, | xdoc2buf(pool, vdoc, method_name, params, 0, |
| oo, | oo, |
| 0/*memory*/, | 0/*not to file, to memory*/, |
| &buf, &buf_size); | &buf, &buf_size); |
| // write out result | // write out result |
| r.write_no_lang(*new(pool) String(pool, buf, buf_size)); | r.write_no_lang(*new(pool) String(pool, buf, buf_size)); |
| Line 601 static void _string(Request& r, const St | Line 600 static void _string(Request& r, const St |
| char *buf; size_t buf_size; | char *buf; size_t buf_size; |
| xdoc2buf(pool, vdoc, method_name, params, 0, | xdoc2buf(pool, vdoc, method_name, params, 0, |
| oo, | oo, |
| 0/*to memory*/, | 0/*not to file, to memory*/, |
| &buf, &buf_size); | &buf, &buf_size); |
| // write out result | // write out result |
| r.write_no_lang(*new(pool) String(pool, buf, buf_size)); | r.write_no_lang(*new(pool) String(pool, buf, buf_size)); |