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

Function xmlInitializeCatalogData

ThirdParty/libxml2/vtklibxml2/catalog.c:3051–3061  ·  view source on GitHub ↗

* 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 */

Source from the content-addressed store, hash-verified

3049 * preferably be done once at startup
3050 */
3051static void
3052xmlInitializeCatalogData(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 *

Callers 3

xmlInitializeCatalogFunction · 0.85
xmlLoadCatalogFunction · 0.85
xmlCatalogAddFunction · 0.85

Calls 1

xmlNewRMutexFunction · 0.85

Tested by

no test coverage detected