diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-09-23 17:15:56 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-09-23 17:15:56 +0000 |
commit | 1b37a4ffa6d3e3b3c851dec531e8b3260227d872 (patch) | |
tree | 96603f10103e2cdc46c842a78df209c787becb69 /libgpsmm.h | |
parent | 0037f332681ab2fa5daf3201fa86baf8ffe23beb (diff) | |
download | gpsd-1b37a4ffa6d3e3b3c851dec531e8b3260227d872.tar.gz |
Introduce gps_send() to the C API.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r-- | libgpsmm.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -18,7 +18,7 @@ class gpsmm { virtual ~gpsmm(); struct gps_data_t* open(const char *host,const char *port); //opens the connection with gpsd, MUST call this before any other method struct gps_data_t* open(void); //open() with default values - struct gps_data_t* query(const char *request); //put a command to gpsd and return the updated struct + struct gps_data_t* send(const char *request); //put a command to gpsd and return the updated struct struct gps_data_t* stream(int); //set watcher and policy flags struct gps_data_t* poll(void); //block until gpsd returns new data, then return the updated struct int set_callback(void (*hook)(struct gps_data_t *sentence, char *buf, size_t len)); //set a callback funcition, called each time new data arrives |