diff options
| author | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2026-10-06 21:24:40 +0100 |
| commit | c25cbdf6fb6d946175f4335fab77bfea601b56db (patch) | |
| tree | 6f7a94b7b81f999e434f61b73d47e337dfd26bf2 /lib/wsprd/wsprd_utils.h | |
| parent | 71f5689252c9f13e70e1c24856904475b2307809 (diff) | |
| parent | 0685fcada9f95fe90f70b387cd7d757da8209624 (diff) | |
Merge tag 'debian/3.2.0_rc1+dfsg-2' into debian/trixie-backportsdebian/trixie-backports
tagging wsjtx 3.2.0~rc1+dfsg-2
Diffstat (limited to 'lib/wsprd/wsprd_utils.h')
| -rw-r--r-- | lib/wsprd/wsprd_utils.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/lib/wsprd/wsprd_utils.h b/lib/wsprd/wsprd_utils.h index db6ba946..62c653e8 100644 --- a/lib/wsprd/wsprd_utils.h +++ b/lib/wsprd/wsprd_utils.h @@ -10,6 +10,14 @@ #include <time.h> #include "nhash.h" +enum { + WSPRD_CALLSIGN_SIZE = 13, + WSPRD_GRID4_SIZE = 5, + WSPRD_GRID6_SIZE = 7, + WSPRD_MESSAGE_SIZE = 23, + WSPRD_HASH_COUNT = 32768 +}; + void unpack50( signed char *dat, int32_t *n1, int32_t *n2 ); int unpackcall( int32_t ncall, char *call ); @@ -26,4 +34,6 @@ int floatcomp(const void* elem1, const void* elem2); int unpk_( signed char *message, char* hashtab, char* loctab, char *call_loc_pow, char *callsign); +int wsprd_load_hash_line(char const *line, char *hashtab, char *loctab); + #endif |
