Hamlib 4.7~git
 
Loading...
Searching...
No Matches
cache.h
1/*
2 * Hamlib Interface - rig state cache routines
3 * Copyright (c) 2000-2012 by Stephane Fillod
4 * Copyright (c) 2000-2003 by Frank Singleton
5 *
6 *
7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Lesser General Public
9 * License as published by the Free Software Foundation; either
10 * version 2.1 of the License, or (at your option) any later version.
11 *
12 * This library is distributed in the hope that it will be useful,
13 * but WITHOUT ANY WARRANTY; without even the implied warranty of
14 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
15 * Lesser General Public License for more details.
16 *
17 * You should have received a copy of the GNU Lesser General Public
18 * License along with this library; if not, write to the Free Software
19 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
20 *
21 */
22
23#ifndef _CACHE_H
24#define _CACHE_H
25
26#include <hamlib/rig.h>
27
28int rig_set_cache_mode(RIG *rig, vfo_t vfo, rmode_t mode, pbwidth_t width);
29int rig_set_cache_freq(RIG *rig, vfo_t vfo, freq_t freq);
30void rig_cache_show(RIG *rig, const char *func, int line);
31
32#endif
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
double freq_t
Frequency type,.
Definition rig.h:456
struct s_rig RIG
Rig structure definition (see rig for details).
Definition rig.h:262
Hamlib rig data structures.