-
Notifications
You must be signed in to change notification settings - Fork 73
/
ext.h
146 lines (126 loc) · 4.83 KB
/
ext.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
/* Copyright (C)
* 2017 - John Melton, G0ORX/N6LYT
*
* 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.
*
*/
#ifdef CLIENT_SERVER
#include "client_server.h"
#endif
//
// The following calls functions can be called usig g_idle_add
// Use these calls from within the rigclt daemon, or the GPIO or MIDI stuff
//
#ifdef CLIENT_SERVER
extern int ext_remote_command(void *data);
extern int ext_receiver_remote_update_display(void *data);
#endif
extern int ext_menu_filter(void *data);
extern int ext_menu_mode(void *data);
extern int ext_num_pad(void *data);
extern void local_set_frequency(int v,long long f);
extern int ext_discovery(void *data);
extern int ext_vfo_update(void *data);
extern int ext_set_frequency(void *data);
extern int ext_vfo_filter_changed(void *data);
extern int ext_band_update(void *data);
extern int ext_bandstack_update(void *data);
extern int ext_mox_update(void *data);
extern int ext_tune_update(void *data);
extern int ext_linein_changed(void *data);
extern int ext_vox_changed(void *data);
extern int ext_sliders_mode_changed(void *data);
extern int ext_update_agc_gain(void *data);
extern int ext_update_af_gain(void *data);
extern int ext_calc_drive_level(void *data);
extern int ext_vfo_band_changed(void *data);
extern int ext_radio_change_sample_rate(void *data);
extern int ext_ps_update(void *data);
extern int ext_two_tone(void *data);
extern int ext_nr_update(void *data);
extern int ext_nb_update(void *data);
extern int ext_snb_update(void *data);
extern int ext_anf_update(void *data);
extern int ext_band_select(void *data);
extern void band_plus(int id);
extern int ext_band_plus(void *data);
extern void band_minus(int id);
extern int ext_band_minus(void *data);
extern int ext_bandstack_plus(void *data);
extern int ext_bandstack_minus(void *data);
extern int ext_a_to_b(void *data);
extern int ext_lock_update(void *data);
extern int ext_rit_update(void *data);
extern int ext_rit_clear(void *data);
extern int ext_xit_update(void *data);
extern int ext_xit_clear(void *data);
extern int ext_filter_plus(void *data);
extern int ext_filter_minus(void *data);
extern int ext_mode_plus(void *data);
extern int ext_mode_minus(void *data);
extern int ext_b_to_a(void *data);
extern int ext_a_swap_b(void *data);
extern void ctun_update(int id,int state);
extern int ext_ctun_update(void *data);
extern int ext_agc_update(void *data);
extern int ext_split_toggle(void *data);
extern int ext_cw_setup();
extern int ext_cw_key(void *data);
extern int ext_update_squelch(void *data);
extern int ext_sliders_update(void *data);
extern int ext_mode_update(void *data);
extern int ext_filter_update(void *data);
extern int ext_noise_update(void *data);
extern int ext_frequency_update(void *data);
extern int ext_memory_update(void *data);
extern int ext_function_update(void *data);
#ifdef PURESIGNAL
extern int ext_tx_set_ps(void *data);
#endif
extern int ext_update_vfo_step(void *data);
extern int ext_vfo_step(void *data);
extern int ext_vfo_id_step(void *data);
extern int ext_vfo_mode_changed(void *data);
extern int ext_set_af_gain(void *data);
extern int ext_set_mic_gain(void *data);
extern int ext_set_agc_gain(void *data);
extern int ext_set_drive(void *data);
extern int ext_vfo_a_swap_b(void *data);
extern int ext_vfo_a_to_b(void *data);
extern int ext_vfo_b_to_a(void *data);
extern int ext_update_att_preamp(void *data);
extern int ext_set_alex_attenuation(void *data);
extern int ext_set_attenuation_value(void *data);
extern int ext_set_compression(void *data);
extern int ext_start_rx(void *data);
extern int ext_start_tx(void *data);
extern int ext_diversity_update(void *data);
extern int ext_diversity_change_gain(void *data);
extern int ext_diversity_change_phase(void *data);
extern int ext_sat_update(void *data);
extern int ext_set_rf_gain(void *data);
extern int ext_set_duplex(void *data);
extern int ext_update_noise(void *data);
#ifdef PURESIGNAL
extern int ext_start_ps(void *data);
#endif
extern int ext_mute_update(void *data);
extern int ext_zoom_update(void *data);
extern int ext_zoom_set(void *data);
extern int ext_pan_update(void *data);
extern int ext_pan_set(void *data);
extern int ext_remote_set_zoom(void *data);
extern int ext_remote_set_pan(void *data);
extern int ext_set_title(void *data);