| 1191 | } |
| 1192 | |
| 1193 | void reload_timer(unsigned int ticks, void *param) |
| 1194 | { |
| 1195 | db_handlers_t *db_hdls; |
| 1196 | |
| 1197 | for (db_hdls = db_hdls_list; db_hdls; db_hdls = db_hdls->next) { |
| 1198 | if (db_hdls->c_entry->on_demand) |
| 1199 | continue; |
| 1200 | |
| 1201 | if (load_entire_table(db_hdls->c_entry, db_hdls, 1) < 0) |
| 1202 | LM_ERR("Failed to reload table %.*s\n", db_hdls->c_entry->table.len, |
| 1203 | db_hdls->c_entry->table.s); |
| 1204 | } |
| 1205 | } |
| 1206 | |
| 1207 | static mi_item_t *mi_reload(const mi_params_t *params, str *key) |
| 1208 | { |
nothing calls this directly
no test coverage detected