summaryrefslogtreecommitdiff
path: root/gpsmon.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>2009-02-19 09:39:25 +0000
committerEric S. Raymond <esr@thyrsus.com>2009-02-19 09:39:25 +0000
commit532a13085e216418dcb11d95c155a3690aa5e0dc (patch)
tree050b1f09c2a58e5a02fbe064006d2ebaa89abd7f /gpsmon.h
parent9ae53e370187ecee0a91e6ddea363ead23fe0b22 (diff)
downloadgpsd-532a13085e216418dcb11d95c155a3690aa5e0dc.tar.gz
Create monitor_proto.c as a prototype for monitor objects.
Diffstat (limited to 'gpsmon.h')
-rw-r--r--gpsmon.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/gpsmon.h b/gpsmon.h
index 9fe14117..d7ac826b 100644
--- a/gpsmon.h
+++ b/gpsmon.h
@@ -4,7 +4,7 @@
#define COMMAND_MATCH 1
#define COMMAND_UNKNOWN 0
-struct mdevice_t {
+struct monitor_object_t {
/* a device-specific capability table for the monitor */
bool (*initialize)(void); /* paint legends on windows */
void (*update)(size_t); /* now paint the data */
@@ -20,7 +20,7 @@ extern void fixframe(WINDOW *win);
#define BUFLEN 2048
-extern WINDOW *devicewin, *debugwin;
+extern WINDOW *devicewin, *packetwin;
extern struct gps_device_t session;
extern int gmt_offset;