-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwsprd.h
46 lines (31 loc) · 1.44 KB
/
wsprd.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
/*
This file is part of program wsprd, a detector/demodulator/decoder
for the Weak Signal Propagation Reporter (WSPR) mode.
File name: wsprd.c
Copyright 2001-2015, Joe Taylor, K1JT
Much of the present code is based on work by Steven Franke, K9AN,
which in turn was based on earlier work by K1JT.
Copyright 2014-2015, Steven Franke, K9AN
License: GNU GPL v3
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 3 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, see <http://www.gnu.org/licenses/>.
*/
#pragma once
typedef struct {
time_t t ;
char call[13] ;
} hashtelt_t;
extern void wspr_decode(float *idat, float *qdat, uint32_t npoints, uint32_t fr, uint32_t chn, char * p_date, char * p_uttime);
extern void initwsprd(uint32_t nbc);
extern void loadHashtable(uint32_t n , uint32_t fr);
extern void saveHashtable(uint32_t n , uint32_t fr);
extern void insHashtable(hashtelt_t *hashtab,char *call);
extern char *getHashtable(hashtelt_t *hashtab,uint32_t ihash);