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

const char* HAMLIB_API rig_strparm ( setting_t  parm  ) 

Convert enum RIG_PARM_... to alpha string.

Parameters:
parm RIG_PARM_...
Returns:
alpha string
See also:
rig_parm_e

Definition at line 568 of file misc.c.

References RIG_PARM_NONE.

{
      int i;

      if (parm == RIG_PARM_NONE)
            return "";

      for (i=0; parm_str[i].str[0] != '\0'; i++)
            if (parm == parm_str[i].parm)
                  return parm_str[i].str;

      return "";
}


Generated by  Doxygen 1.6.0   Back to index