1 /*
2  * Tlf - contest logging program for amateur radio operators
3  * Copyright (C) 2001-2002-2003 Rein Couperus <pa0rct@amsat.org>
4  *
5  * This program is free software; you can redistribute it and/or modify
6  * it under the terms of the GNU General Public License as published by
7  * the Free Software Foundation; either version 2 of the License, or
8  * (at your option) any later version.
9  *
10  * This program is distributed in the hope that it will be useful,
11  * but WITHOUT ANY WARRANTY; without even the implied warranty of
12  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13  * GNU General Public License for more details.
14  *
15  * You should have received a copy of the GNU General Public License
16  * along with this program; if not, write to the Free Software
17  * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA
18  */
19 
20 
21 #ifndef LANCODE_H
22 #define LANCODE_H
23 
24 #define MAXNODES 8
25 
26 #define LOGENTRY 49
27 #define CLUSTERMSG 50
28 #define TLFSPOT 51
29 #define TLFMSG 52
30 #define FREQMSG 53
31 #define INCQSONUM 54
32 #define TIMESYNC 55
33 #define QTCRENTRY 56
34 #define QTCSENTRY 57
35 #define QTCFLAG 58
36 
37 #include <hamlib/rig.h>
38 
39 int lanrecv_init(void);
40 int lan_recv_close(void);
41 int lan_recv(void);
42 int lan_send_init(void);
43 int lan_send_close(void);
44 int lan_send(char *lanbuffer) ;
45 int send_lan_message(int opcode, char *message);
46 void talk(void);
47 int send_freq(freq_t freq);
48 int send_time(void) ;
49 
50 #endif /* LANCODE_H */
51