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

Function xmlCatalogRemove

ThirdParty/libxml2/vtklibxml2/catalog.c:3385–3396  ·  view source on GitHub ↗

* xmlCatalogRemove: * @value: the value to remove * * Remove an entry from the catalog * * Returns the number of entries removed if successful, -1 otherwise */

Source from the content-addressed store, hash-verified

3383 * Returns the number of entries removed if successful, -1 otherwise
3384 */
3385int
3386xmlCatalogRemove(const xmlChar *value) {
3387 int res;
3388
3389 if (!xmlCatalogInitialized)
3390 xmlInitializeCatalog();
3391
3392 xmlRMutexLock(xmlCatalogMutex);
3393 res = xmlACatalogRemove(xmlDefaultCatalog, value);
3394 xmlRMutexUnlock(xmlCatalogMutex);
3395 return(res);
3396}
3397
3398/**
3399 * xmlCatalogConvert:

Callers 2

usershellFunction · 0.85
mainFunction · 0.85

Calls 4

xmlInitializeCatalogFunction · 0.85
xmlRMutexLockFunction · 0.85
xmlACatalogRemoveFunction · 0.85
xmlRMutexUnlockFunction · 0.85

Tested by

no test coverage detected