Logo Search packages:      
Sourcecode: hamlib version File versions  Download package

const char* HAMLIB_API rig_strstatus ( enum rig_status_e  status  ) 

Convert enum RIG_STATUS_... to printable string.

Parameters:
status RIG_STATUS_??
Returns:
string

Definition at line 239 of file misc.c.

References RIG_STATUS_ALPHA, RIG_STATUS_BETA, RIG_STATUS_BUGGY, RIG_STATUS_STABLE, and RIG_STATUS_UNTESTED.

{
      switch (status) {
      case RIG_STATUS_ALPHA:
            return "Alpha";
      case RIG_STATUS_UNTESTED:
            return "Untested";
      case RIG_STATUS_BETA:
            return "Beta";
      case RIG_STATUS_STABLE:
            return "Stable";
      case RIG_STATUS_BUGGY:
            return "Buggy";
      }
      return "";
}


Generated by  Doxygen 1.6.0   Back to index