* \brief Convert enum RIG_STATUS_... to printable string * \param status RIG_STATUS_?? * \return string */
| 427 | * \return string |
| 428 | */ |
| 429 | const char *HAMLIB_API rig_strstatus(enum rig_status_e status) |
| 430 | { |
| 431 | switch (status) |
| 432 | { |
| 433 | case RIG_STATUS_ALPHA: |
| 434 | return "Alpha"; |
| 435 | |
| 436 | case RIG_STATUS_UNTESTED: |
| 437 | return "Untested"; |
| 438 | |
| 439 | case RIG_STATUS_BETA: |
| 440 | return "Beta"; |
| 441 | |
| 442 | case RIG_STATUS_STABLE: |
| 443 | return "Stable"; |
| 444 | |
| 445 | case RIG_STATUS_BUGGY: |
| 446 | return "Buggy"; |
| 447 | } |
| 448 | |
| 449 | return ""; |
| 450 | } |
| 451 | |
| 452 | |
| 453 | static const struct |
no outgoing calls
no test coverage detected