/* * hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com) * * yaesu.c - (C) Stephane Fillod 2001 * * This shared library provides an API for communicating * via serial interface to a Yaesu rig * * * $Id: yaesu.c,v 1.3 2001-06-20 06:08:22 f4cfe Exp $ * * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License * as published by the Free Software Foundation; either version 2 * of the License, or (at your option) any later version. * * This program 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 General Public License for more details. * * You should have received a copy of the GNU General Public License * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. * */ #include #include /* Standard input/output definitions */ #include /* String function definitions */ #include /* UNIX standard function definitions */ #include /* File control definitions */ #include /* Error number definitions */ #include /* POSIX terminal control definitions */ #include #if defined(__CYGWIN__) # undef HAMLIB_DLL # include # include "serial.h" # include "misc.h" # define HAMLIB_DLL # include #else # include # include "serial.h" # include "misc.h" #endif #include "yaesu.h" #include "ft747.h" /* * init_yaesu is called by rig_backend_load */ int init_yaesu(void *be_handle) { rig_debug(RIG_DEBUG_VERBOSE, "yaesu: _init called\n"); rig_register(&ft747_caps); rig_register(&ft847_caps); return RIG_OK; }