summaryrefslogtreecommitdiff
path: root/libgpsmm.cpp
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.cpp
parent0037f332681ab2fa5daf3201fa86baf8ffe23beb (diff)
downloadgpsd-1b37a4ffa6d3e3b3c851dec531e8b3260227d872.tar.gz
Introduce gps_send() to the C API.
Diffstat (limited to 'libgpsmm.cpp')
-rw-r--r--libgpsmm.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/libgpsmm.cpp b/libgpsmm.cpp
index 8c2d90d9..7b2d7f92 100644
--- a/libgpsmm.cpp
+++ b/libgpsmm.cpp
@@ -34,8 +34,8 @@ struct gps_data_t* gpsmm::stream(int flags) {
}
}
-struct gps_data_t* gpsmm::query(const char *request) {
- if (gps_query(gps_data,request)==-1) {
+struct gps_data_t* gpsmm::send(const char *request) {
+ if (gps_send(gps_data,request)==-1) {
return NULL;
}
else {