| 748 | } |
| 749 | |
| 750 | static struct command_result *json_autoclean_status(struct command *cmd, |
| 751 | const char *buffer, |
| 752 | const jsmntok_t *params) |
| 753 | { |
| 754 | struct subsystem_and_variant *sv; |
| 755 | |
| 756 | if (!param(cmd, buffer, params, |
| 757 | p_opt("subsystem", param_subsystem, &sv), |
| 758 | NULL)) |
| 759 | return command_param_failed(); |
| 760 | |
| 761 | return json_success_subsystems(cmd, sv); |
| 762 | } |
| 763 | |
| 764 | static struct command_result *param_u64_nonzero(struct command *cmd, |
| 765 | const char *name, |
nothing calls this directly
no test coverage detected