| 120 | }; |
| 121 | |
| 122 | static char *get_schema_path(const char *file) |
| 123 | { |
| 124 | static const char *base = NULL; |
| 125 | if(base == NULL) { |
| 126 | base = getenv("PCMK_schema_directory"); |
| 127 | } |
| 128 | if(base == NULL || strlen(base) == 0) { |
| 129 | base = CRM_DTD_DIRECTORY; |
| 130 | } |
| 131 | return crm_concat(base, file, '/'); |
| 132 | } |
| 133 | |
| 134 | int print_spaces(char *buffer, int spaces, int max); |
| 135 |
no test coverage detected