summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-09-23 17:15:56 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-09-23 17:15:56 +0000
commit1b37a4ffa6d3e3b3c851dec531e8b3260227d872 (patch)
tree96603f10103e2cdc46c842a78df209c787becb69 /libgpsmm.h
parent0037f332681ab2fa5daf3201fa86baf8ffe23beb (diff)
downloadgpsd-1b37a4ffa6d3e3b3c851dec531e8b3260227d872.tar.gz
Introduce gps_send() to the C API.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r--libgpsmm.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libgpsmm.h b/libgpsmm.h
index 6ccaa9fc..b90ee619 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -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