1 /*
2  * xdx - GTK+ DX-cluster client for amateur radio
3  * Copyright (C) 2002-2006 Joop Stakenborg <pg4i@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 Library 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  *  text.h
22  */
23 
24 #include <gtk/gtk.h>
25 
26 typedef struct
27 {
28 	gchar *countryname;
29 	guchar cq;              /* guchar max=255 */
30 	guchar itu;
31 	gchar *continent;
32 	gint latitude;
33 	gint longitude;
34 	gshort timezone;
35 	gchar *px;
36 	gchar *exceptions;
37 	guint worked;
38 	guint confirmed;
39 }
40 dxcc_data;
41 
42 struct info
43 {
44 	gint country;
45 	gint cq;
46 	gint itu;
47 };
48 
49 void cleanup_dxcc (void);
50 gint readctydata (void);
51 struct info lookupcountry_by_callsign (gchar * callsign);
52 
53 void maintext_add (gchar * msg, gint len, gint messagetype);
54