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

Function xmlIOHTTPMatch

ThirdParty/libxml2/vtklibxml2/xmlIO.c:1003–1008  ·  view source on GitHub ↗

* xmlIOHTTPMatch: * @filename: the URI for matching * * DEPRECATED: Internal function, don't use. * * check if the URI matches an HTTP one * * Returns 1 if matches, 0 otherwise */

Source from the content-addressed store, hash-verified

1001 * Returns 1 if matches, 0 otherwise
1002 */
1003int
1004xmlIOHTTPMatch (const char *filename) {
1005 if (!xmlStrncasecmp(BAD_CAST filename, BAD_CAST "http://", 7))
1006 return(1);
1007 return(0);
1008}
1009
1010/**
1011 * xmlIOHTTPOpen:

Callers 1

xmlInputDefaultOpenFunction · 0.85

Calls 1

xmlStrncasecmpFunction · 0.85

Tested by

no test coverage detected