Hamlib/yaesu/yaesu.c

67 wiersze
1.8 KiB
C

/*
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
*
* yaesu.c - (C) Stephane Fillod 2001-2003
*
* This shared library provides an API for communicating
* via serial interface to a Yaesu rig
*
*
* $Id: yaesu.c,v 1.16 2003-10-12 18:04:02 fillods Exp $
*
*
* This library is free software; you can redistribute it and/or
* modify it under the terms of the GNU Lesser General Public
* License as published by the Free Software Foundation; either
* version 2 of the License, or (at your option) any later version.
*
* This library is distributed in the hope that it will be useful,
* but WITHOUT ANY WARRANTY; without even the implied warranty of
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
* Lesser General Public License for more details.
*
* You should have received a copy of the GNU Lesser General Public
* License along with this library; if not, write to the Free Software
* Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*
*/
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif
#include <stdlib.h>
#include <string.h> /* String function definitions */
#include <unistd.h> /* UNIX standard function definitions */
#include "hamlib/rig.h"
#include "serial.h"
#include "misc.h"
#include "register.h"
#include "yaesu.h"
/*
* initrigs_yaesu is called by rig_backend_load
*/
DECLARE_INITRIG_BACKEND(yaesu)
{
rig_debug(RIG_DEBUG_VERBOSE, "yaesu: %s called\n", __func__);
rig_register(&ft100_caps);
rig_register(&ft747_caps);
rig_register(&ft817_caps);
rig_register(&ft847_caps);
rig_register(&ft857_caps);
rig_register(&ft890_caps);
rig_register(&ft900_caps);
rig_register(&ft920_caps);
rig_register(&ft990_caps);
rig_register(&ft1000mp_caps);
return RIG_OK;
}