| 408 | AUTODATA(json_command, &dev_command); |
| 409 | |
| 410 | static struct json_command **get_cmdlist(size_t *num_cmdlist) |
| 411 | { |
| 412 | static struct json_command **cmdlist; |
| 413 | if (!cmdlist) |
| 414 | cmdlist = autodata_get(json_command, num_cmdlist); |
| 415 | |
| 416 | return cmdlist; |
| 417 | } |
| 418 | |
| 419 | struct json_help_info { |
| 420 | struct command *cmd; |