summaryrefslogtreecommitdiff
path: root/libgps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-10-03 10:45:29 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-10-03 10:45:29 -0400
commitdb993006c341f476e80cf7f1aba59081d2947ab3 (patch)
tree0b8c0a8d324819cd810c8ef4317a91a213e45909 /libgps.h
parentecf1b666629bd74e4b5e28ec0edd1f787c737476 (diff)
downloadgpsd-db993006c341f476e80cf7f1aba59081d2947ab3.tar.gz
First cut at implementing waiting test for shm export.
Timeout argument is presently ignored.
Diffstat (limited to 'libgps.h')
-rw-r--r--libgps.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/libgps.h b/libgps.h
index 5901ea89..cc5b5e70 100644
--- a/libgps.h
+++ b/libgps.h
@@ -37,12 +37,12 @@ extern int gps_sock_stream(struct gps_data_t *, unsigned int, /*@null@*/void *);
extern const char /*@observer@*/ *gps_sock_data(const struct gps_data_t *);
extern int gps_sock_mainloop(struct gps_data_t *, int,
void (*)(struct gps_data_t *));
-extern int gps_shm_mainloop(struct gps_data_t *, int,
- void (*)(struct gps_data_t *));
-
extern int gps_shm_open(/*@out@*/struct gps_data_t *);
extern void gps_shm_close(struct gps_data_t *);
+extern bool gps_shm_waiting(const struct gps_data_t *, int);
extern int gps_shm_read(struct gps_data_t *);
+extern int gps_shm_mainloop(struct gps_data_t *, int,
+ void (*)(struct gps_data_t *));
extern int gps_dbus_open(struct gps_data_t *);
extern int gps_dbus_mainloop(struct gps_data_t *, int,