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

Function rig_get_caps

src/register.c:249–262  ·  view source on GitHub ↗

@cond Doxygen_Suppress

Source from the content-addressed store, hash-verified

247
248//! @cond Doxygen_Suppress
249struct rig_caps *HAMLIB_API rig_get_caps(rig_model_t rig_model)
250{
251 struct rig_list *p;
252
253 for (p = rig_hash_table[HASH_FUNC(rig_model)]; p; p = p->next)
254 {
255 if (p->caps->rig_model == rig_model)
256 {
257 return p->caps;
258 }
259 }
260
261 return NULL; /* sorry, caps not registered! */
262}
263//! @endcond
264
265/*

Callers 5

rig_check_backendFunction · 0.85
rig.cFile · 0.85
rig_get_function_ptrFunction · 0.85
rig_get_caps_intFunction · 0.85
rig_get_caps_cptrFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected