ao-tools: Add cc_usb_write function
[fw/altos] / ao-tools / lib / cc-usb.h
index e90e1195b100f34a5858bb8b6e2500609e66fe95..e08a956b25868747861597bb185ee16c0b066841 100644 (file)
@@ -53,6 +53,9 @@ cc_usb_sync(struct cc_usb *cc);
 void
 cc_queue_read(struct cc_usb *cc, uint8_t *buf, int len);
 
+int
+cc_usb_getchar_timeout(struct cc_usb *cc, int timeout);
+
 int
 cc_usb_getchar(struct cc_usb *cc);
 
@@ -62,6 +65,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);