summaryrefslogtreecommitdiff
path: root/libgpsmm.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-03-09 01:50:53 -0500
committerEric S. Raymond <esr@thyrsus.com>2011-03-09 01:50:53 -0500
commit2663033714a98a9c9ea1165c330371b949faec0d (patch)
tree0090a6f172564371681b899f2a8663b2b78cf752 /libgpsmm.h
parent9d6dc2f1f95d0179c6175955c3dae0c5299e9a78 (diff)
downloadgpsd-2663033714a98a9c9ea1165c330371b949faec0d.tar.gz
Give gps_waiting() a timeout argument. Use it systematically in test clients.
cgps and gpxlogger are live-tested and work. All regression tests pass.
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 3c77a403..93258df2 100644
--- a/libgpsmm.h
+++ b/libgpsmm.h
@@ -32,7 +32,7 @@ class LIBQGPSMMSHARED_EXPORT gpsmm {
struct gps_data_t* stream(int); //set watcher and policy flags
struct gps_data_t* read(void); //block until gpsd returns new data, then return the updated struct
int close(void); // close the GPS
- bool waiting(void); //nonblocking check for data waitin
+ bool waiting(int); // blocking check for data waiting
void clear_fix(void);
void enable_debug(int, FILE*);
private: