MCPcopy Create free account
hub / github.com/Kitware/VTK / xmlXIncludeSetStreamingMode

Function xmlXIncludeSetStreamingMode

ThirdParty/libxml2/vtklibxml2/xinclude.c:2286–2292  ·  view source on GitHub ↗

* xmlXIncludeSetStreamingMode: * @ctxt: an XInclude processing context * @mode: whether streaming mode should be enabled * * In streaming mode, XPointer expressions aren't allowed. * * Returns 0 in case of success and -1 in case of error. */

Source from the content-addressed store, hash-verified

2284 * Returns 0 in case of success and -1 in case of error.
2285 */
2286int
2287xmlXIncludeSetStreamingMode(xmlXIncludeCtxtPtr ctxt, int mode) {
2288 if (ctxt == NULL)
2289 return(-1);
2290 ctxt->isStream = !!mode;
2291 return(0);
2292}
2293
2294/**
2295 * xmlXIncludeProcessTreeFlagsData:

Callers 1

xmlTextReaderReadFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected