diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2005-07-27 18:06:11 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2005-07-27 18:06:11 +0000 |
commit | da38a6caf4bd1b21d792334e7afa5b138799d176 (patch) | |
tree | 579a1ed4df8f1d015d0c338fb0552b309976ede8 /gpsd.h | |
parent | 12e1524d54406d4a02c860c24e5521baf2181ee1 (diff) | |
download | gpsd-da38a6caf4bd1b21d792334e7afa5b138799d176.tar.gz |
First cut at RTCM undumper, and some splint cleanup.
Diffstat (limited to 'gpsd.h')
-rw-r--r-- | gpsd.h | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -4,6 +4,7 @@ /* gpsd.h -- fundamental types and structures for the GPS daemon */ #include <stdbool.h> +#include <stdio.h> #include <termios.h> #include "config.h" #include "gps.h" @@ -267,6 +268,7 @@ extern unsigned bitreverse(unsigned x, unsigned w); extern enum isgpsstat_t rtcm_decode(struct gps_device_t *, unsigned int); extern void rtcm_dump(struct gps_device_t *, /*@out@*/char[], size_t); +extern int rtcm_undump(FILE *fp, /*@out@*/struct rtcm_t *rtcmp); extern void ecef_to_wgs84fix(struct gps_data_t *, double, double, double, |