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
|
|
|
|
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
|