Merge remote branch 'origin/master' into new-packet-format
[fw/altos] / ao-tools / lib / cc-usb.h
index d7acfbd2be1b70a1e59283b2af582e868c0db701..d3539281f83aa4001c22a696a8eb15c90e69160f 100644 (file)
@@ -53,7 +53,19 @@ cc_usb_sync(struct cc_usb *cc);
 void
 cc_queue_read(struct cc_usb *cc, uint8_t *buf, int len);
 
+int
+cc_usb_getchar(struct cc_usb *cc);
+
+void
+cc_usb_getline(struct cc_usb *cc, char *line, int max);
+
 void
 cc_usb_printf(struct cc_usb *cc, char *format, ...);
 
+void
+cc_usb_open_remote(struct cc_usb *cc, int channel);
+
+void
+cc_usb_close_remote(struct cc_usb *cc);
+
 #endif /* _CC_USB_H_ */