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 );
|
|
|
|
|
|
|
|
void unpackcall( int32_t ncall, char *call );
|
|
|
|
|
|
|
|
void unpackgrid( int32_t ngrid, char *grid);
|
|
|
|
|
|
|
|
void unpackpfx( int32_t nprefix, char *call);
|
|
|
|
|
|
|
|
void deinterleave(unsigned char *sym);
|
|
|
|
|
|
|
|
// used by qsort
|
|
|
|
int floatcomp(const void* elem1, const void* elem2);
|
|
|
|
|
2015-06-10 10:48:26 -04:00
|
|
|
int unpk_( signed char *message, char hashtab[32768][13], char *call_loc_pow, char *callsign);
|
2015-06-14 11:05:07 -04:00
|
|
|
|
|
|
|
#endif
|