summaryrefslogtreecommitdiff
path: root/gpsd.h-tail
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2008-07-14 04:12:07 +0000
committerEric S. Raymond <esr@thyrsus.com>2008-07-14 04:12:07 +0000
commit82a5e991a57431c94b3b4dd6b4c596240e51d97f (patch)
tree37ada5408ccf24d82c00c2205aa513ab3da086ac /gpsd.h-tail
parentbc4190e04953260715b7f47ae639920365e31334 (diff)
downloadgpsd-82a5e991a57431c94b3b4dd6b4c596240e51d97f.tar.gz
Revert previous EOF_PACKET change, it was a bad idea.
Diffstat (limited to 'gpsd.h-tail')
-rw-r--r--gpsd.h-tail3
1 files changed, 2 insertions, 1 deletions
diff --git a/gpsd.h-tail b/gpsd.h-tail
index bce96046..21d57bab 100644
--- a/gpsd.h-tail
+++ b/gpsd.h-tail
@@ -52,7 +52,7 @@ struct gps_packet_t {
/* packet-getter internals */
int type;
#define BAD_PACKET -2
-#define EOF_PACKET -1
+#define EMPTY_PACKET -1
#define COMMENT_PACKET 0
#define NMEA_PACKET 1
#define SIRF_PACKET 2
@@ -116,6 +116,7 @@ extern bool rtcm2_repack(struct rtcm2_t *, isgps30bits_t *);
extern void rtcm2_output_magnavox(isgps30bits_t *, FILE *);
extern void rtcm3_unpack(/*@out@*/struct rtcm3_t *, char *);
+extern void rtcm3_dump(struct rtcm3_t *rtcm, /*@out@*/char buf[], size_t buflen);
/* Next, declarations for the core library... */