Debian Codegraph @

src/include/xml_io.h

raw
1 // ----------------------------------------------------------------------------
2 // Copyright (C) 2014
3 // David Freese, W1HKJ
4 //
5 // This file is part of flmsg
6 //
7 // flrig is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License as published by
9 // the Free Software Foundation; either version 3 of the License, or
10 // (at your option) any later version.
11 //
12 // flrig 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
15 // GNU General Public License for more details.
16 //
17 // You should have received a copy of the GNU General Public License
18 // along with this program. If not, see <http://www.gnu.org/licenses/>.
19 // ----------------------------------------------------------------------------
20
21 #ifndef XML_IO_H
22 #define XML_IO_H
23
24 #include <string>
25
26 extern std::string get_io_mode(void);
27 extern void enable_arq(void);
28 extern void open_xmlrpc();
29 extern void close_xmlrpc();
30 extern void send_new_modem();
31 extern void *xmlrpc_loop(void *d);
32 extern pthread_t *xmlrpc_thread;
33 extern pthread_mutex_t mutex_xmlrpc;
34
35 extern std::string xml_get_rx_chars();
36 extern void xml_send_tx_chars(std::string s);
37 extern std::string xml_fldigi_trx();
38 extern void xfr_via_xmlrpc(std::string s);
39 extern bool fldigi_OK_to_transmit();
40
41 extern void set_fldigi_txid(bool on_off);
42 extern void set_fldigi_rxid(bool on_off);
43 extern void get_fldigi_txid();
44 extern void get_fldigi_rxid();
45 extern void restore_id();
46
47 #endif