* xmlParserInputBufferCreateFilename: * @URI: a C string containing the URI or filename * @enc: the charset encoding if known * * Create a buffered parser input for the progressive parsing of a file * If filename is "-' then we use stdin as the input. * Automatic support for ZLIB/Compress compressed document is provided * by default if found at compile-time. * Do an encoding check if enc
| 2439 | * Returns the new parser input or NULL |
| 2440 | */ |
| 2441 | xmlParserInputBufferPtr |
| 2442 | xmlParserInputBufferCreateFilename(const char *URI, xmlCharEncoding enc) { |
| 2443 | if ((xmlParserInputBufferCreateFilenameValue)) { |
| 2444 | return xmlParserInputBufferCreateFilenameValue(URI, enc); |
| 2445 | } |
| 2446 | return __xmlParserInputBufferCreateFilename(URI, enc); |
| 2447 | } |
| 2448 | |
| 2449 | #ifdef LIBXML_OUTPUT_ENABLED |
| 2450 | xmlOutputBufferPtr |