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

Function rig_set_cache_timeout_ms

src/cache.c:582–590  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

580}
581
582int HAMLIB_API rig_set_cache_timeout_ms(RIG *rig, hamlib_cache_t selection,
583 int ms)
584{
585 rig_debug(RIG_DEBUG_TRACE, "%s: called selection=%d, ms=%d\n", __func__,
586 selection, ms);
587 if (!rig) {return -RIG_EINVAL;}
588 CACHE(rig)->timeout_ms = ms;
589 return RIG_OK;
590}
591
592void rig_cache_show(RIG *rig, const char *func, int line)
593{

Callers 7

rig_poll_routineFunction · 0.85
frontend_set_confFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
mainFunction · 0.85
rigctl_parse.cFile · 0.85

Calls 1

rig_debugFunction · 0.85

Tested by 3

mainFunction · 0.68
mainFunction · 0.68
mainFunction · 0.68