| 
									
										
										
										
											2015-06-14 15:05:07 +00:00
										 |  |  | #ifndef WSPRD_UTILS_H
 | 
					
						
							|  |  |  | #define WSPRD_UTILS_H
 | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-05-27 13:08:28 +00: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 15:05:07 +00:00
										 |  |  | #include "nhash.h"
 | 
					
						
							| 
									
										
										
										
											2015-05-27 13:08:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | void unpack50( signed char *dat, int32_t *n1, int32_t *n2 ); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-18 02:24:06 +00:00
										 |  |  | int unpackcall( int32_t ncall, char *call ); | 
					
						
							| 
									
										
										
										
											2015-05-27 13:08:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-18 02:24:06 +00:00
										 |  |  | int unpackgrid( int32_t ngrid, char *grid); | 
					
						
							| 
									
										
										
										
											2015-05-27 13:08:28 +00:00
										 |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-06-16 02:47:51 +00:00
										 |  |  | int unpackpfx( int32_t nprefix, char *call); | 
					
						
							| 
									
										
										
										
											2015-05-27 13:08:28 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | void deinterleave(unsigned char *sym); | 
					
						
							|  |  |  | 
 | 
					
						
							|  |  |  | // used by qsort
 | 
					
						
							| 
									
										
										
										
											2015-07-25 23:48:53 +00:00
										 |  |  | int doublecomp(const void* elem1, const void* elem2); | 
					
						
							| 
									
										
										
										
											2015-05-27 13:08:28 +00:00
										 |  |  | int floatcomp(const void* elem1, const void* elem2); | 
					
						
							|  |  |  | 
 | 
					
						
							| 
									
										
										
										
											2015-07-25 23:48:53 +00:00
										 |  |  | int unpk_( signed char *message, char* hashtab, char *call_loc_pow, char *callsign); | 
					
						
							| 
									
										
										
										
											2015-06-14 15:05:07 +00:00
										 |  |  | 
 | 
					
						
							|  |  |  | #endif
 |