* xmlXIncludeSetFlags: * @ctxt: an XInclude processing context * @flags: a set of xmlParserOption used for parsing XML includes * * Set the flags used for further processing of XML resources. * * Returns 0 in case of success and -1 in case of error. */
| 2267 | * Returns 0 in case of success and -1 in case of error. |
| 2268 | */ |
| 2269 | int |
| 2270 | xmlXIncludeSetFlags(xmlXIncludeCtxtPtr ctxt, int flags) { |
| 2271 | if (ctxt == NULL) |
| 2272 | return(-1); |
| 2273 | ctxt->parseFlags = flags; |
| 2274 | return(0); |
| 2275 | } |
| 2276 | |
| 2277 | /** |
| 2278 | * xmlXIncludeSetStreamingMode: |
no outgoing calls