MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / get_schema_name

Function get_schema_name

lib/common/xml.c:2570–2576  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2568#endif
2569
2570const char *get_schema_name(int version)
2571{
2572 if(version < 0 || version >= all_schemas) {
2573 return "unknown";
2574 }
2575 return known_schemas[version].name;
2576}
2577
2578
2579int get_schema_version(const char *name)

Callers 2

readCibXmlFileFunction · 0.85
cli_config_updateFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected