35 |
|
|
36 |
#include "logfile.h" |
#include "logfile.h" |
37 |
#include "types.h" |
#include "types.h" |
38 |
|
#include "wwl.h" |
39 |
|
|
40 |
extern preferencestype preferences; |
extern preferencestype preferences; |
41 |
|
|
139 |
fclose (fp); |
fclose (fp); |
140 |
} |
} |
141 |
|
|
|
extern gdouble wwl_dist(gchar *my, gchar *dx); |
|
142 |
|
|
|
/* |
|
|
*/ |
|
143 |
gint |
gint |
144 |
edi_qso_append (LOGDB * handle, const qso_t * q) |
edi_qso_append (LOGDB * handle, const qso_t * q) |
145 |
{ |
{ |
148 |
gchar date[16]; |
gchar date[16]; |
149 |
gchar *p; |
gchar *p; |
150 |
gint rst_len; |
gint rst_len; |
151 |
gint mode, kms; |
gint mode, kms, result, l; |
152 |
|
|
153 |
/* |
/* |
154 |
* there's no exchange fields in xlog. However, the exchange information |
* there's no exchange fields in xlog. However, the exchange information |
190 |
} |
} |
191 |
|
|
192 |
if (q[LOCATOR]) |
if (q[LOCATOR]) |
193 |
kms = wwl_dist (preferences.locator, q[LOCATOR]); |
result = wwl (preferences.locator, q[LOCATOR], &kms, &l); |
194 |
else |
else |
195 |
kms = 0; |
kms = 0; |
196 |
|
|