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

token_t HAMLIB_API rot_token_lookup ( ROT rot,
const char *  name 
)

Simple lookup returning token id associated with name.

Parameters:
rot
name
Returns:
token enum

Definition at line 390 of file rot_conf.c.

References rot_confparam_lookup(), and confparams::token.

{
      const struct confparams *cfp;

      cfp = rot_confparam_lookup(rot, name);
      if (!cfp)
            return RIG_CONF_END;

      return cfp->token;
}

Here is the call graph for this function:


Generated by  Doxygen 1.6.0   Back to index