| 2577 | |
| 2578 | |
| 2579 | int get_schema_version(const char *name) |
| 2580 | { |
| 2581 | int lpc = 0; |
| 2582 | for(; lpc < all_schemas; lpc++) { |
| 2583 | if(safe_str_eq(name, known_schemas[lpc].name)) { |
| 2584 | return lpc; |
| 2585 | } |
| 2586 | } |
| 2587 | return -1; |
| 2588 | } |
| 2589 | |
| 2590 | /* set which validation to use */ |
| 2591 | #include <crm/cib.h> |
no outgoing calls
no test coverage detected