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

int HAMLIB_API rig_get_ext_parm ( RIG rig,
token_t  token,
value_t val 

get the value of a parm extra parameter

rig The rig handle
token The parameter
val The location where to store the value of token
Retrieves the value of a parm extra paramter associated with token.

RIG_OK if the operation has been sucessful, otherwise a negative value if an error occured (in which case, cause is set appropriately).
See also:

Definition at line 600 of file settings.c.

References rig::caps, and rig_caps::get_ext_parm.

      if (CHECK_RIG_ARG(rig) || !val)
            return -RIG_EINVAL;

      if (rig->caps->get_ext_parm == NULL)
            return -RIG_ENAVAIL;

      return rig->caps->get_ext_parm(rig, token, val);

Generated by  Doxygen 1.6.0   Back to index