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

setting_t HAMLIB_API rig_parse_parm ( const char *  s  ) 

Convert alpha string to RIG_PARM_...

Parameters:
s input alpha string
Returns:
RIG_PARM_...
See also:
rig_parm_e

Definition at line 550 of file misc.c.

References RIG_PARM_NONE.

{
      int i;

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

      return RIG_PARM_NONE;
}


Generated by  Doxygen 1.6.0   Back to index