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

Function hash_delete_all

tests/ampctl_parse.c:264–274  ·  view source on GitHub ↗

Delete hash */

Source from the content-addressed store, hash-verified

262
263/* Delete hash */
264void hash_delete_all()
265{
266 struct mod_lst *current_model, *tmp;
267
268 HASH_ITER(hh, models, current_model, tmp)
269 {
270 /* delete it (models advances to next) */
271 HASH_DEL(models, current_model);
272 free(current_model); /* free it */
273 }
274}
275
276
277#ifdef HAVE_LIBREADLINE

Callers 1

list_modelsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected