Logo Search packages:      
Sourcecode: hamlib version File versions

token_t HAMLIB_API rig_ext_token_lookup ( RIG rig,
const char *  name 
)

Simple lookup returning token id assicated with name.

Parameters:
rig 
name 

Definition at line 150 of file ext.c.

References rig_ext_lookup(), and confparams::token.

{
      const struct confparams *cfp;

      cfp = rig_ext_lookup(rig, name);
      if (!cfp)
            return RIG_CONF_END;

      return cfp->token;
}


Generated by  Doxygen 1.6.0   Back to index