| 615 | } |
| 616 | |
| 617 | static int handle_compress_model(const char *val, const char **error_string) |
| 618 | { |
| 619 | |
| 620 | if (util_is_valid_knet_compress_model(val, NULL, 0, |
| 621 | "Invalid compression model. Should be ", error_string) == 1) { |
| 622 | return (0); |
| 623 | } else { |
| 624 | return (-1); |
| 625 | } |
| 626 | } |
| 627 | |
| 628 | static int main_config_parser_cb(const char *path, |
| 629 | char *key, |
no test coverage detected