* xmlCatalogRemove: * @value: the value to remove * * Remove an entry from the catalog * * Returns the number of entries removed if successful, -1 otherwise */
| 3383 | * Returns the number of entries removed if successful, -1 otherwise |
| 3384 | */ |
| 3385 | int |
| 3386 | xmlCatalogRemove(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: |
no test coverage detected