* xmlCatalogSetDebug: * @level: the debug level of catalogs required * * Used to set the debug level for catalog operation, 0 disable * debugging, 1 enable it * * Returns the previous value of the catalog debugging level */
| 3511 | * Returns the previous value of the catalog debugging level |
| 3512 | */ |
| 3513 | int |
| 3514 | xmlCatalogSetDebug(int level) { |
| 3515 | int ret = xmlDebugCatalogs; |
| 3516 | |
| 3517 | if (level <= 0) |
| 3518 | xmlDebugCatalogs = 0; |
| 3519 | else |
| 3520 | xmlDebugCatalogs = level; |
| 3521 | return(ret); |
| 3522 | } |
| 3523 | |
| 3524 | /************************************************************************ |
| 3525 | * * |