summaryrefslogtreecommitdiff
path: root/libgps.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2011-09-28 05:20:07 -0400
committerEric S. Raymond <esr@thyrsus.com>2011-09-28 05:20:07 -0400
commite88b9f8d24d1a816f0b59977d6807abba18763f6 (patch)
treeaec204c4617280b0bc2e1ec55dd759af2f2af64b /libgps.h
parenta6bda11c404fb7ffed0b79e9bc09a844588bb1e1 (diff)
downloadgpsd-e88b9f8d24d1a816f0b59977d6807abba18763f6.tar.gz
Canned mainloop function for socket export...
...also, dispatch to open for the DBUS transport.
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 900e25e2..91748e84 100644
--- a/libgps.h
+++ b/libgps.h
@@ -32,9 +32,9 @@ extern int gps_sock_read(/*@out@*/struct gps_data_t *);
extern bool gps_sock_waiting(const struct gps_data_t *, int);
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 timeout,
+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 timeout,
+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 *);
@@ -42,7 +42,7 @@ extern void gps_shm_close(struct gps_data_t *);
extern int gps_shm_read(struct gps_data_t *);
extern int gps_dbus_open(struct gps_data_t *);
-extern int gps_dbus_mainloop(struct gps_data_t *, int timeout,
+extern int gps_dbus_mainloop(struct gps_data_t *, int,
void (*)(struct gps_data_t *));