Dont smash aoview_monitor_parse input buffer
[fw/altos] / aoview / aoview.h
index d49bd6f4968e656d45a5ecc4194f0773a605cf27..5c118a111d64d8f2a3eb59c4ce13c12d702ee565 100644 (file)
@@ -111,6 +111,7 @@ struct aostate {
 
        double  distance;
        double  bearing;
+       int     gps_height;
 };
 
 /* GPS is 'stable' when we've seen at least this many samples */
@@ -123,7 +124,10 @@ gboolean
 aoview_monitor_connect(char *tty);
 
 gboolean
-aoview_monitor_parse(char *line);
+aoview_monitor_parse(const char *line);
+
+void
+aoview_monitor_reset(void);
 
 struct aoview_serial *
 aoview_serial_open(const char *tty);
@@ -270,4 +274,12 @@ void aoview_label_init(GladeXML *xml);
 void
 aoview_label_show(struct aostate *state);
 
+/* aoview_flite.c */
+
+FILE *
+aoview_flite_start(void);
+
+void
+aoview_flite_stop(void);
+
 #endif /* _AOVIEW_H_ */