@cond Doxygen_Suppress
| 247 | |
| 248 | //! @cond Doxygen_Suppress |
| 249 | struct 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 | /* |
no outgoing calls
no test coverage detected