summaryrefslogtreecommitdiff
path: root/sys/src/cmd/aux/gps/dat.h
blob: d09716d22b337a0b9d95897c88b17c2ee47f55b0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
typedef struct Place Place;

struct Place {
	double	lon;
	double 	lat;
};
#pragma	varargck	type	"L"	Place

enum {
	Undef		= 0x80000000,
	Baud=		4800,		/* 4800 is NMEA standard speed */
};

extern Place nowhere;
extern int debug;

int placeconv(Fmt*);
Place strtopos(char*, char**);
int strtolatlon(char*, char**, Place*);