diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2011-03-09 01:50:53 -0500 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2011-03-09 01:50:53 -0500 |
commit | 2663033714a98a9c9ea1165c330371b949faec0d (patch) | |
tree | 0090a6f172564371681b899f2a8663b2b78cf752 /libgpsmm.h | |
parent | 9d6dc2f1f95d0179c6175955c3dae0c5299e9a78 (diff) | |
download | gpsd-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.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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: |