diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-08-22 07:34:36 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-08-22 07:34:36 +0000 |
commit | 81c568c70c304662f69407db82fff84501386dc3 (patch) | |
tree | 609f1887fda15a2dc8c8f0a173e595ceec75ba85 /gps.h | |
parent | f47d402b83590a4703aa70bb81e9404e4ab59fe3 (diff) | |
download | gpsd-81c568c70c304662f69407db82fff84501386dc3.tar.gz |
Introduce gps_stream() in the client API...
...and start on a document explaining how to do the protocol
transition in client-side code.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -960,6 +960,7 @@ extern /*@null@*/ struct gps_data_t *gps_open(const char *host, const char *port int gps_close(struct gps_data_t *); int gps_query(struct gps_data_t *gpsdata, const char *fmt, ... ); int gps_poll(struct gps_data_t *gpsdata); +int gps_stream(struct gps_data_t *gpsdata); void gps_set_raw_hook(struct gps_data_t *gpsdata, void (*hook)(struct gps_data_t *sentence, char *buf, size_t len, int level)); int gps_set_callback(struct gps_data_t *gpsdata, void (*callback)(struct gps_data_t *sentence, char *buf, size_t len, int level), pthread_t *handler); int gps_del_callback(struct gps_data_t *gpsdata, pthread_t *handler); |