diff options
| author | hibby <d@vehibberd.com> | 2018-02-16 15:18:44 +0000 |
|---|---|---|
| committer | hibby <d@vehibberd.com> | 2018-02-16 15:18:44 +0000 |
| commit | 368f5331a7641772aa7e0cd1feea57d09a394a36 (patch) | |
| tree | b421ac60cc6eb726896ea268ea24e47fc4ce7c88 /lib/wsprd/wsprd_utils.h | |
| parent | 71c717edc92fa771c857b3c2e5ed65f523f68f90 (diff) | |
| parent | 37f727ac0746fd85504aa46c1f023c09b3eff33a (diff) | |
Update upstream source from tag 'upstream/1.8.0+repack'
Update to upstream version '1.8.0+repack'
with Debian dir a83ef78cb70a32d1211871fdc08f3ffa295e45a8
Diffstat (limited to 'lib/wsprd/wsprd_utils.h')
| -rw-r--r-- | lib/wsprd/wsprd_utils.h | 29 |
1 files changed, 29 insertions, 0 deletions
diff --git a/lib/wsprd/wsprd_utils.h b/lib/wsprd/wsprd_utils.h new file mode 100644 index 00000000..d6708363 --- /dev/null +++ b/lib/wsprd/wsprd_utils.h @@ -0,0 +1,29 @@ +#ifndef WSPRD_UTILS_H +#define WSPRD_UTILS_H + +#include <stdio.h> +#include <unistd.h> +#include <stdlib.h> +#include <ctype.h> +#include <string.h> +#include <stdint.h> +#include <time.h> +#include "nhash.h" + +void unpack50( signed char *dat, int32_t *n1, int32_t *n2 ); + +int unpackcall( int32_t ncall, char *call ); + +int unpackgrid( int32_t ngrid, char *grid); + +int unpackpfx( int32_t nprefix, char *call); + +void deinterleave(unsigned char *sym); + +// used by qsort +int doublecomp(const void* elem1, const void* elem2); +int floatcomp(const void* elem1, const void* elem2); + +int unpk_( signed char *message, char* hashtab, char *call_loc_pow, char *callsign); + +#endif |
