[Hamlib-cvs-digest] CVS: hamlib/src rig.c,1.10,1.11
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Stephane F. <f4...@us...> - 2000-12-05 22:01:06
|
Update of /cvsroot/hamlib/hamlib/src In directory slayer.i.sourceforge.net:/tmp/cvs-serv3805/src Modified Files: rig.c Log Message: * all the API functions are now targetted to a particular VFO. This is a major change in the library interface, and the implementation is not complete yet (especially in the backends), but the API should be fine. Anyway, at this stage of developement, interface design experimenting matters more than completeness. * added new shortfreq_t type for frequencies on 31bits (up to 2GHz) for use by offset/shifts/etc. Index: rig.c =================================================================== RCS file: /cvsroot/hamlib/hamlib/src/rig.c,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -r1.10 -r1.11 *** rig.c 2000/12/04 23:39:18 1.10 --- rig.c 2000/12/05 22:01:02 1.11 *************** *** 338,341 **** --- 338,342 ---- * rig_set_freq - set the frequency of the current VFO * @rig: The rig handle + * @vfo: The target VFO * @freq: The frequency to set to * *************** *** 349,353 **** */ [...1219 lines suppressed...] if (!rig || !rig->caps || !trn) --- 1746,1750 ---- * SEE ALSO: rig_set_trn() */ ! int rig_get_trn(RIG *rig, vfo_t vfo, int *trn) { if (!rig || !rig->caps || !trn) *************** *** 1718,1722 **** return -RIG_ENAVAIL; else ! return rig->caps->get_trn(rig, trn); } --- 1754,1758 ---- return -RIG_ENAVAIL; else ! return rig->caps->get_trn(rig, vfo, trn); } |