| 1144 | struct db_query *dbq); |
| 1145 | |
| 1146 | static struct command_result *listnodes_one_done(struct command *cmd, |
| 1147 | const char *method, |
| 1148 | const char *buf, |
| 1149 | const jsmntok_t *result, |
| 1150 | struct db_query *dbq) |
| 1151 | { |
| 1152 | struct table_desc *td = dbq->tables[0]; |
| 1153 | struct command_result *ret; |
| 1154 | |
| 1155 | ret = process_json_result(cmd, buf, result, td, false, |
| 1156 | &td->last_created_index, &td->last_updated_index, NULL); |
| 1157 | if (ret) |
| 1158 | return ret; |
| 1159 | |
| 1160 | /* Continue to refresh more nodes */ |
| 1161 | return nodes_refresh(cmd, td, dbq); |
| 1162 | } |
| 1163 | |
| 1164 | static void delete_node_from_db(struct command *cmd, |
| 1165 | const struct node_id *id) |
nothing calls this directly
no test coverage detected