summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2005-07-27 18:06:11 +0000
committerEric S. Raymond <esr@thyrsus.com>2005-07-27 18:06:11 +0000
commitda38a6caf4bd1b21d792334e7afa5b138799d176 (patch)
tree579a1ed4df8f1d015d0c338fb0552b309976ede8 /gpsd.h
parent12e1524d54406d4a02c860c24e5521baf2181ee1 (diff)
downloadgpsd-da38a6caf4bd1b21d792334e7afa5b138799d176.tar.gz
First cut at RTCM undumper, and some splint cleanup.
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/gpsd.h b/gpsd.h
index 1166ad38..a25594cc 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -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,