| 1042 | struct db_query *dbq); |
| 1043 | |
| 1044 | static struct command_result *listchannels_one_done(struct command *cmd, |
| 1045 | const char *method, |
| 1046 | const char *buf, |
| 1047 | const jsmntok_t *result, |
| 1048 | struct db_query *dbq) |
| 1049 | { |
| 1050 | struct table_desc *td = dbq->tables[0]; |
| 1051 | struct command_result *ret; |
| 1052 | |
| 1053 | ret = process_json_result(cmd, buf, result, td, false, |
| 1054 | &td->last_created_index, &td->last_updated_index, NULL); |
| 1055 | if (ret) |
| 1056 | return ret; |
| 1057 | |
| 1058 | /* Continue to refresh more channels */ |
| 1059 | return channels_refresh(cmd, td, dbq); |
| 1060 | } |
| 1061 | |
| 1062 | static struct command_result *channels_refresh(struct command *cmd, |
| 1063 | struct table_desc *td, |
nothing calls this directly
no test coverage detected