| 503 | } |
| 504 | |
| 505 | static struct command_result *json_autoclean_status(struct command *cmd, |
| 506 | const char *buffer, |
| 507 | const jsmntok_t *params) |
| 508 | { |
| 509 | enum subsystem *subsystem; |
| 510 | |
| 511 | if (!param(cmd, buffer, params, |
| 512 | p_opt("subsystem", param_subsystem, &subsystem), |
| 513 | NULL)) |
| 514 | return command_param_failed(); |
| 515 | |
| 516 | return json_success_subsystems(cmd, subsystem); |
| 517 | } |
| 518 | |
| 519 | static struct command_result *param_u64_nonzero(struct command *cmd, |
| 520 | const char *name, |
nothing calls this directly
no test coverage detected