kopia lustrzana https://github.com/Hamlib/Hamlib
added new rigs, fix optional backend
git-svn-id: https://hamlib.svn.sourceforge.net/svnroot/hamlib/trunk@514 7ae35d74-ebe9-4afe-98af-79ac388436b8Hamlib-1.1.2
rodzic
20c8e10b1f
commit
122d049f96
|
@ -1,6 +1,15 @@
|
|||
WRSRCLIST = wr1000.c wr1500.c wr1550.c wr3100.c wr3150.c wr3500.c wr3700.c
|
||||
|
||||
LDFLAGS = -avoid-version # -module
|
||||
if WINRADIO
|
||||
#lib_LTLIBRARIES = @LTLIBWINRADIO@
|
||||
lib_LTLIBRARIES = libhamlib-winradio.la
|
||||
libhamlib_winradio_la_SOURCES = winradio.c wr1500.c
|
||||
libhamlib_winradio_la_LDFLAGS = -avoid-version # -module
|
||||
lib_LIBRARIES = libhamlib-winradio.a
|
||||
libhamlib_winradio_a_SOURCES = winradio.c wr1500.c
|
||||
libhamlib_winradio_la_SOURCES = winradio.c $(WRSRCLIST)
|
||||
#EXTRA_LTLIBRARIES = libhamlib-winradio.la
|
||||
endif
|
||||
|
||||
lib_LIBRARIES = @LIBWINRADIO@
|
||||
libhamlib_winradio_a_SOURCES = winradio.c $(WRSRCLIST)
|
||||
EXTRA_LIBRARIES = libhamlib-winradio.a
|
||||
|
||||
noinst_HEADERS = winradio.h
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
* hamlib - (C) Frank Singleton 2000 (vk3fcs@ix.netcom.com)
|
||||
*
|
||||
* winradio.h - Copyright (C) 2001 pab@users.sourceforge.net
|
||||
* Derived from hamlib code (C) 2000 Stephane Fillod.
|
||||
* Derived from hamlib code (C) 2000,2001 Stephane Fillod.
|
||||
*
|
||||
* This shared library supports winradio receivers through the
|
||||
* /dev/winradio API.
|
||||
*
|
||||
*
|
||||
* $Id: winradio.h,v 1.2 2001-03-02 18:37:17 f4cfe Exp $
|
||||
* $Id: winradio.h,v 1.3 2001-06-02 18:07:45 f4cfe Exp $
|
||||
*
|
||||
*
|
||||
* This program is free software; you can redistribute it and/or
|
||||
|
@ -39,11 +39,19 @@ int wr_set_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
|
|||
int wr_get_mode(RIG *rig, vfo_t vfo, rmode_t *mode, pbwidth_t *width);
|
||||
int wr_set_powerstat(RIG *rig, powerstat_t status);
|
||||
int wr_get_powerstat(RIG *rig, powerstat_t *status);
|
||||
int wr_set_func(RIG *rig, vfo_t vfo, setting_t func, int status);
|
||||
int wr_get_func(RIG *rig, vfo_t vfo, setting_t func, int *status);
|
||||
int wr_set_level(RIG *rig, vfo_t vfo, setting_t level, value_t val);
|
||||
int wr_get_level(RIG *rig, vfo_t vfo, setting_t level, value_t *val);
|
||||
unsigned char *wr_get_info(RIG *rig);
|
||||
const char *wr_get_info(RIG *rig);
|
||||
|
||||
extern const struct rig_caps wr1000_caps;
|
||||
extern const struct rig_caps wr1500_caps;
|
||||
extern const struct rig_caps wr1550_caps;
|
||||
extern const struct rig_caps wr3100_caps;
|
||||
extern const struct rig_caps wr3150_caps;
|
||||
extern const struct rig_caps wr3500_caps;
|
||||
extern const struct rig_caps wr3700_caps;
|
||||
|
||||
extern int init_winradio(void *be_handle);
|
||||
|
||||
|
|
Ładowanie…
Reference in New Issue