Hamlib
4.6.1
Loading...
Searching...
No Matches
src
event.h
1
/*
2
* Hamlib Interface - event handling header
3
* Copyright (c) 2000-2003 by Stephane Fillod and Frank Singleton
4
*
5
*
6
* This library is free software; you can redistribute it and/or
7
* modify it under the terms of the GNU Lesser General Public
8
* License as published by the Free Software Foundation; either
9
* version 2.1 of the License, or (at your option) any later version.
10
*
11
* This library is distributed in the hope that it will be useful,
12
* but WITHOUT ANY WARRANTY; without even the implied warranty of
13
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14
* Lesser General Public License for more details.
15
*
16
* You should have received a copy of the GNU Lesser General Public
17
* License along with this library; if not, write to the Free Software
18
* Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
19
*
20
*/
21
22
#ifndef _EVENT_H
23
#define _EVENT_H 1
24
25
#include <
hamlib/rig.h
>
26
27
int
rig_poll_routine_start(
RIG
*rig);
28
int
rig_poll_routine_stop(
RIG
*rig);
29
30
int
rig_fire_freq_event(
RIG
*rig,
vfo_t
vfo,
freq_t
freq);
31
int
rig_fire_mode_event(
RIG
*rig,
vfo_t
vfo,
rmode_t
mode,
pbwidth_t
width);
32
int
rig_fire_vfo_event(
RIG
*rig,
vfo_t
vfo);
33
int
rig_fire_ptt_event(
RIG
*rig,
vfo_t
vfo,
ptt_t
ptt);
34
int
rig_fire_dcd_event(
RIG
*rig,
vfo_t
vfo, dcd_t dcd);
35
int
rig_fire_pltune_event(
RIG
*rig,
vfo_t
vfo,
freq_t
*freq,
rmode_t
*mode,
pbwidth_t
*width);
36
int
rig_fire_spectrum_event(
RIG
*rig,
struct
rig_spectrum_line
*line);
37
38
#endif
/* _EVENT_H */
39
vfo_t
unsigned int vfo_t
VFO definition.
Definition
rig.h:520
rmode_t
uint64_t rmode_t
Radio mode.
Definition
rig.h:1363
pbwidth_t
shortfreq_t pbwidth_t
Definition
rig.h:652
freq_t
double freq_t
Frequency type,.
Definition
rig.h:460
ptt_t
ptt_t
PTT status.
Definition
rig.h:683
rig.h
Hamlib rig data structures.
rig_spectrum_line
Represents a single line of rig spectrum scope FFT data.
Definition
rig.h:1851
s_rig
The Rig structure.
Definition
rig.h:3099
Generated by
1.9.8
Hamlib documentation for version 4.6.1
Project page:
http://www.hamlib.org
Hamlib on Sourceforge