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

Function hash_delete_all

tests/rotctl_parse.c:324–334  ·  view source on GitHub ↗

Delete hash */

Source from the content-addressed store, hash-verified

322
323/* Delete hash */
324static void hash_delete_all()
325{
326 struct mod_lst *current_model, *tmp = NULL;
327
328 HASH_ITER(hh, models, current_model, tmp)
329 {
330 /* delete it (models advances to next) */
331 HASH_DEL(models, current_model);
332 free(current_model); /* free it */
333 }
334}
335
336
337#ifdef HAVE_LIBREADLINE

Callers 1

list_modelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected