MCPcopy Create free account
hub / github.com/Hamlib/Hamlib / hash_delete_all

Function hash_delete_all

tests/rigctl_parse.c:484–493  ·  view source on GitHub ↗

Delete hash */

Source from the content-addressed store, hash-verified

482
483/* Delete hash */
484void 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

Callers 1

list_modelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected