summaryrefslogtreecommitdiff
path: root/gpsd.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2006-12-04 04:19:04 +0000
committerEric S. Raymond <esr@thyrsus.com>2006-12-04 04:19:04 +0000
commit69f0986d6597b1f2d922c3169e76596f63fffcc0 (patch)
tree3acffee3b1ded5afc1f643cb55f3d1fa8ef09dcb /gpsd.h
parentf5d0f0ef600b561347f80fde2bd396ac00cf1c35 (diff)
downloadgpsd-69f0986d6597b1f2d922c3169e76596f63fffcc0.tar.gz
Change the way the RTCM decoding is layered...
...so the packet sniffer no longer needs to take an argument that is an rtcm structure. This is a step towards a new and better gpsfake. No logic or protocol changes. All regression tests pass,
Diffstat (limited to 'gpsd.h')
-rw-r--r--gpsd.h8
1 files changed, 3 insertions, 5 deletions
diff --git a/gpsd.h b/gpsd.h
index 24f4e7ba..db287b00 100644
--- a/gpsd.h
+++ b/gpsd.h
@@ -98,8 +98,8 @@ struct gps_packet_t {
extern void packet_reset(struct gps_packet_t *);
extern void packet_pushback(struct gps_packet_t *);
-extern ssize_t packet_parse(struct gps_packet_t *, struct rtcm_t *, size_t);
-extern ssize_t packet_get(int, struct rtcm_t *, struct gps_packet_t *);
+extern ssize_t packet_parse(struct gps_packet_t *, size_t);
+extern ssize_t packet_get(int, struct gps_packet_t *);
extern int packet_sniff(struct gps_packet_t *);
extern void isgps_init(/*@out@*/struct gps_packet_t *);
@@ -110,9 +110,7 @@ enum isgpsstat_t isgps_decode(struct gps_packet_t *,
unsigned int);
extern unsigned int isgps_parity(isgps30bits_t);
-extern enum isgpsstat_t rtcm_decode(struct gps_packet_t *,
- /*@out@*/struct rtcm_t *,
- unsigned int);
+extern enum isgpsstat_t rtcm_decode(struct gps_packet_t *, unsigned int);
extern void rtcm_dump(struct rtcm_t *, /*@out@*/char[], size_t);
extern int rtcm_undump(/*@out@*/struct rtcm_t *, char *);
extern void rtcm_unpack(/*@out@*/struct rtcm_t *, char *);