call a function against each configuration token of a rig
Definition at line 395 of file conf.c. References caps, rig_caps::cfgparams, confparams::name, RIG_EINVAL, and RIG_OK. { const struct confparams *cfp; if (!rig || !rig->caps || !cfunc) return -RIG_EINVAL; for (cfp = rig->caps->cfgparams; cfp && cfp->name; cfp++) if ((*cfunc)(cfp, data) == 0) return RIG_OK; for (cfp = frontend_cfg_params; cfp->name; cfp++) if ((*cfunc)(cfp, data) == 0) return RIG_OK; return RIG_OK; }
|