* xmlCatalogConvert: * * Convert all the SGML catalog entries as XML ones * * Returns the number of entries converted if successful, -1 otherwise */
| 3403 | * Returns the number of entries converted if successful, -1 otherwise |
| 3404 | */ |
| 3405 | int |
| 3406 | xmlCatalogConvert(void) { |
| 3407 | int res = -1; |
| 3408 | |
| 3409 | if (!xmlCatalogInitialized) |
| 3410 | xmlInitializeCatalog(); |
| 3411 | |
| 3412 | xmlRMutexLock(xmlCatalogMutex); |
| 3413 | res = xmlConvertSGMLCatalog(xmlDefaultCatalog); |
| 3414 | xmlRMutexUnlock(xmlCatalogMutex); |
| 3415 | return(res); |
| 3416 | } |
| 3417 | |
| 3418 | /************************************************************************ |
| 3419 | * * |
no test coverage detected