ao-tools: Add --wait option to ao-usbload
[fw/altos] / ao-tools / lib / cc-usb.h
index f11934560a917119a2b6a0d2377e23a412bf1cc5..9ed198cd290c9ecad29fa2b15717fdae042bd9d4 100644 (file)
@@ -23,6 +23,8 @@
 
 struct cc_usb;
 
+extern int cc_default_timeout;
+
 struct cc_usb *
 cc_usb_open(char *tty);
 
@@ -65,6 +67,9 @@ cc_usb_getline(struct cc_usb *cc, char *line, int max);
 void
 cc_usb_printf(struct cc_usb *cc, char *format, ...);
 
+int
+cc_usb_write(struct cc_usb *cc, void *buf, int c);
+
 void
 cc_usb_open_remote(struct cc_usb *cc, int freq, char *call);