diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-24 03:42:03 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-24 03:42:03 +0000 |
commit | 513076a18269f4cdc20b6a532614f0c69b62f126 (patch) | |
tree | 20221204ceca55e7da23c0d3b306618019089b1f /gps.h | |
parent | 92eee28ad490fd851f554b8b5d0722273961e283 (diff) | |
download | gpsd-513076a18269f4cdc20b6a532614f0c69b62f126.tar.gz |
gps_stream() gets a third argument for future expansion.
We shouldn't try to explain the transition schedule in two different
places.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -996,7 +996,7 @@ extern /*@null@*/struct gps_data_t *gps_open(const char *host,const char *port); extern int gps_close(struct gps_data_t *); extern int gps_send(struct gps_data_t *gpsdata, const char *fmt, ... ); extern int gps_poll(struct gps_data_t *gpsdata); -extern int gps_stream(struct gps_data_t *gpsdata, unsigned int flags); +extern int gps_stream(struct gps_data_t *gpsdata, unsigned int flags, void *); extern void gps_set_raw_hook(struct gps_data_t *gpsdata, void (*hook)(struct gps_data_t *sentence, char *buf, size_t len)); extern int gps_set_callback(struct gps_data_t *gpsdata, void (*callback)(struct gps_data_t *sentence, char *buf, size_t len), pthread_t *handler); extern int gps_del_callback(struct gps_data_t *gpsdata, pthread_t *handler); |