[Hamlib-cvs-digest] CVS: hamlib/src rig.c,1.5,1.6
Library to control radio transceivers and receivers
Brought to you by:
n0nb
From: Stephane F. <f4...@us...> - 2000-10-22 16:35:05
|
Update of /cvsroot/hamlib/hamlib/src In directory slayer.i.sourceforge.net:/tmp/cvs-serv12565/src Modified Files: rig.c Log Message: * Added "hamlib-doc" source comments, ala kernel-doc,gnome-doc. See doc/ subdirectory for more info. The work is still in progress, the current comments are pretty shallow rigth now, they're still lacking the valuable information like semantics, side effects, special cases, error definitions, etc. that makes a good API documention. Please help commenting, fixing typos and mispellings! * renamed rig_*_rpt_* functions to rig_*_rptr_* to be more uniform * made use of setting_t type in *_has_* functions * removed set_volume, get_volume, set_squelch, get_squelch, get_squelch_status, set_ant, get_ant, int et_att, get_att, set_preamp, get_preamp, set_power, and get_power in favor of set_level/get_level. * set_func takes one more arg for the status (activate or desactivate) Index: rig.c =================================================================== RCS file: /cvsroot/hamlib/hamlib/src/rig.c,v retrieving revision 1.5 retrieving revision 1.6 diff -C2 -r1.5 -r1.6 *** rig.c 2000/10/16 22:08:51 1.5 --- rig.c 2000/10/22 16:08:23 1.6 *************** *** 67,72 **** }; ! /* ! * TODO: check table bounds, use gettext */ const char *rigerror(int errnum) --- 67,82 ---- }; ! /** [...1760 lines suppressed...] ! * if the operation has been sucessful, or a negative value ! * if an error occured (in which case, cause is set appropriately). ! * ! * SEE ALSO: rig_set_trn() */ int rig_get_trn(RIG *rig, int *trn) { *************** *** 1325,1328 **** --- 1557,1566 ---- return rig->caps->get_trn(rig, trn); } + + + /* + * more rig_* to come -- FS + * + */ |