Hamlib 4.7~git
 
Loading...
Searching...
No Matches
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
29
30int rig_fire_freq_event(RIG *rig, vfo_t vfo, freq_t freq);
31int rig_fire_mode_event(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
32int rig_fire_vfo_event(RIG *rig, vfo_t vfo);
33int rig_fire_ptt_event(RIG *rig, vfo_t vfo, ptt_t ptt);
34int rig_fire_dcd_event(RIG *rig, vfo_t vfo, dcd_t dcd);
35int rig_fire_pltune_event(RIG *rig, vfo_t vfo, freq_t *freq, rmode_t *mode, pbwidth_t *width);
36int rig_fire_spectrum_event(RIG *rig, struct rig_spectrum_line *line);
37
38#endif /* _EVENT_H */
39
unsigned int vfo_t
VFO definition.
Definition rig.h:516
uint64_t rmode_t
Radio mode.
Definition rig.h:1359
shortfreq_t pbwidth_t
Definition rig.h:648
int rig_poll_routine_stop(RIG *rig)
Stop rig poll routine.
Definition event.c:322
int rig_poll_routine_start(RIG *rig)
Start rig poll routine.
Definition event.c:267
double freq_t
Frequency type,.
Definition rig.h:456
ptt_t
PTT status.
Definition rig.h:679
struct s_rig RIG
Rig structure definition (see rig for details).
Definition rig.h:262
Hamlib rig data structures.
Represents a single line of rig spectrum scope FFT data.
Definition rig.h:1847