| 495 | } |
| 496 | |
| 497 | struct command_result *param_invstring(struct command *cmd, const char *name, |
| 498 | const char * buffer, const jsmntok_t *tok, |
| 499 | const char **str) |
| 500 | { |
| 501 | const char *strtmp = json_strdup(cmd, buffer, tok); |
| 502 | *str = to_canonical_invstr(cmd, strtmp); |
| 503 | return NULL; |
| 504 | } |
| 505 | |
| 506 | struct command_result *param_ignore(struct command *cmd, const char *name, |
| 507 | const char *buffer, const jsmntok_t *tok, |
nothing calls this directly
no test coverage detected