Delete hash */
| 482 | |
| 483 | /* Delete hash */ |
| 484 | void hash_delete_all() |
| 485 | { |
| 486 | struct mod_lst *current_model, *tmp; |
| 487 | |
| 488 | HASH_ITER(hh, models, current_model, tmp) |
| 489 | { |
| 490 | HASH_DEL(models, current_model); /* delete it (models advances to next) */ |
| 491 | free(current_model); /* free it */ |
| 492 | } |
| 493 | } |
| 494 | |
| 495 | |
| 496 | // modifies s to remove quotes |