diff options
author | Eric S. Raymond <esr@thyrsus.com> | 2009-12-09 17:40:21 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 2009-12-09 17:40:21 +0000 |
commit | ffc9a8211892180895015a5f16189138c0927368 (patch) | |
tree | af34ce2e7008781e5cc7cc3bbe9e08ce65267f79 /gps.h | |
parent | ac835718102d12c5849b612c293ca08bc27b5284 (diff) | |
download | gpsd-ffc9a8211892180895015a5f16189138c0927368.tar.gz |
Add POLL_NONBLOCK flag to the C API. Document all flags.
Diffstat (limited to 'gps.h')
-rw-r--r-- | gps.h | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -990,6 +990,7 @@ struct gps_data_t { #define WATCH_NEWSTYLE 0x0040u /* force JSON streaming */ #define WATCH_OLDSTYLE 0x0080u /* force old-style streaming */ #define WATCH_DEVICE 0x0100u /* watch specific device */ +#define POLL_NONBLOCK 0x1000u /* set non-blocking poll */ extern int gps_open_r(const char *host, const char *port, /*@out@*/struct gps_data_t *gpsdata); |