summaryrefslogtreecommitdiff
path: root/gps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-12-09 17:40:21 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-12-09 17:40:21 +0000
commitffc9a8211892180895015a5f16189138c0927368 (patch)
treeaf34ce2e7008781e5cc7cc3bbe9e08ce65267f79 /gps.h
parentac835718102d12c5849b612c293ca08bc27b5284 (diff)
downloadgpsd-ffc9a8211892180895015a5f16189138c0927368.tar.gz
Add POLL_NONBLOCK flag to the C API. Document all flags.
Diffstat (limited to 'gps.h')
-rw-r--r--gps.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/gps.h b/gps.h
index 2a8feb8d..d4b93e32 100644
--- a/gps.h
+++ b/gps.h
@@ -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);