2015-06-14 11:05:07 -04:00
|
|
|
#ifndef WSPRD_UTILS_H
|
|
|
|
#define WSPRD_UTILS_H
|
|
|
|
|
2015-05-27 09:08:28 -04:00
|
|
|
#include <stdio.h>
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <ctype.h>
|
|
|
|
#include <string.h>
|
|
|
|
#include <stdint.h>
|
|
|
|
#include <time.h>
|
2015-06-14 11:05:07 -04:00
|
|
|
#include "nhash.h"
|
2015-05-27 09:08:28 -04:00
|
|
|
|
|
|
|
void unpack50( signed char *dat, int32_t *n1, int32_t *n2 );
|
|
|
|
|
2015-06-17 22:24:06 -04:00
|
|
|
int unpackcall( int32_t ncall, char *call );
|
2015-05-27 09:08:28 -04:00
|
|
|
|
2015-06-17 22:24:06 -04:00
|
|
|
int unpackgrid( int32_t ngrid, char *grid);
|
2015-05-27 09:08:28 -04:00
|
|
|
|
2015-06-15 22:47:51 -04:00
|
|
|
int unpackpfx( int32_t nprefix, char *call);
|
2015-05-27 09:08:28 -04:00
|
|
|
|
|
|
|
void deinterleave(unsigned char *sym);
|
|
|
|
|
|
|
|
// used by qsort
|
2015-07-25 19:48:53 -04:00
|
|
|
int doublecomp(const void* elem1, const void* elem2);
|
2015-05-27 09:08:28 -04:00
|
|
|
int floatcomp(const void* elem1, const void* elem2);
|
|
|
|
|
2020-02-25 11:48:38 -05:00
|
|
|
int unpk_( signed char *message, char* hashtab, char* loctab, char *call_loc_pow, char *callsign);
|
2015-06-14 11:05:07 -04:00
|
|
|
|
|
|
|
#endif
|