libaltos: Delay freeing serial device until not busy
[fw/altos] / libaltos / libaltos_private.h
index f8e5231bf26b488d901b617e385d168d8f77607a..45e141f9a0126b559c37ceac89817c9a967d9eff 100644 (file)
@@ -35,6 +35,7 @@ struct altos_file {
        unsigned char                   in_data[USB_BUF_SIZE];
        int                             in_used;
        int                             in_read;
+       int                             busy;
 };
 
 #ifdef LINUX
@@ -61,4 +62,7 @@ altos_flush(struct altos_file *file);
 int
 altos_fill(struct altos_file *file, int timeout);
 
+int
+altos_bt_port(struct altos_bt_device *device);
+
 #endif /* _LIBALTOS_PRIVATE_H_ */