/usr/include/libzia/zloc.h is in libzia-dev 4.06-2+b1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 | /*
zloc.c - WWL functions
Copyright (C) 2011-2012 Ladislav Vaiz <ok1zia@nagano.cz>
This program is free software; you can redistribute it and/or
modify it under the terms of the GNU General Public License
version 2 as published by the Free Software Foundation.
*/
#ifndef __ZLOC_H
#define __ZLOC_H
#include <libziaint.h>
#define ZLOC_R_EARTH 6371.2907
double qth(char *qth,int width);
char *compute_wwl4(char *s, double h, double w);
char *mkwwl4(char *buf, int w, int h);
char *hw2loc(char *buf, double w, double h, int len);
char *x2gramin(char *buf, int size, double x, char *signs);
int qrbqtf(char *myqth,char *recqth,double *qrb,double *qtf,GString *gs_debug, int flags);
int hw2qrbqtf(double h1, double w1, double h2, double w2, double *qrb, double *qtf);
int qrbqtf2hw(double h1, double w1, double qrb, double qtf, double *h2, double *w2);
int qsopwr( char *myqth, char *recqth);
int qthwr(char *qth,int width);
void qrb_qtf_int(char *mywwl, char *wwl, int *qrb_int, int *qtf_int);
int iaru_round(double qrb);
void z_nearest_wwl(char *s, char *my);
#endif
|