diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-05 23:54:40 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-05 23:54:40 +0000 |
commit | 7eb06a950bbd30df099b5d0d08a84983b4c6b8c1 (patch) | |
tree | 32b8989444dd1af73dea769847e5156a69ba722d /libgpsmm.h | |
parent | 46452ebef361fde44d22e5b0d84e6270e594dbad (diff) | |
download | gpsd-7eb06a950bbd30df099b5d0d08a84983b4c6b8c1.tar.gz |
Add non-blocking check for data waiting from the daemon to the C and C++ APIs.
Diffstat (limited to 'libgpsmm.h')
-rw-r--r-- | libgpsmm.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -21,6 +21,7 @@ class gpsmm { 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 + bool waiting(void); //nonblocking check for data waitin void clear_fix(void); void enable_debug(int, FILE*); private: |