* xmlInitializeCatalogData: * * Do the catalog initialization only of global data, doesn't try to load * any catalog actually. * this function is not thread safe, catalog initialization should * preferably be done once at startup */
| 3049 | * preferably be done once at startup |
| 3050 | */ |
| 3051 | static void |
| 3052 | xmlInitializeCatalogData(void) { |
| 3053 | if (xmlCatalogInitialized != 0) |
| 3054 | return; |
| 3055 | |
| 3056 | if (getenv("XML_DEBUG_CATALOG")) |
| 3057 | xmlDebugCatalogs = 1; |
| 3058 | xmlCatalogMutex = xmlNewRMutex(); |
| 3059 | |
| 3060 | xmlCatalogInitialized = 1; |
| 3061 | } |
| 3062 | /** |
| 3063 | * xmlInitializeCatalog: |
| 3064 | * |
no test coverage detected