summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-04-12 12:38:58 -0700
committerKeith Packard <keithp@keithp.com>2009-04-12 12:38:58 -0700
commit5221dc63cf3a059a32aca2bfa7828c215be814a1 (patch)
treef90895a39dc8197bc275ce2023aca2d40968d0bd /lib
parentee110425fb814780476d1d3d8a257af126f41763 (diff)
Add ccdump
Diffstat (limited to 'lib')
-rw-r--r--lib/cc-usb.c4
-rw-r--r--lib/cc-usb.h6
2 files changed, 8 insertions, 2 deletions
diff --git a/lib/cc-usb.c b/lib/cc-usb.c
index 5da36fe9..09b06bb5 100644
--- a/lib/cc-usb.c
+++ b/lib/cc-usb.c
@@ -201,7 +201,7 @@ cc_usb_sync(struct cc_usb *cc)
}
}
-static void
+void
cc_usb_printf(struct cc_usb *cc, char *format, ...)
{
char buf[1024], *b;
@@ -251,7 +251,7 @@ cc_usb_send_bytes(struct cc_usb *cc, uint8_t *bytes, int len)
return ret;
}
-static void
+void
cc_queue_read(struct cc_usb *cc, uint8_t *buf, int len)
{
struct cc_read *read_buf;
diff --git a/lib/cc-usb.h b/lib/cc-usb.h
index 235e9918..2adccb93 100644
--- a/lib/cc-usb.h
+++ b/lib/cc-usb.h
@@ -50,4 +50,10 @@ cc_usb_reset(struct cc_usb *cc);
void
cc_usb_sync(struct cc_usb *cc);
+void
+cc_queue_read(struct cc_usb *cc, uint8_t *buf, int len);
+
+void
+cc_usb_printf(struct cc_usb *cc, char *format, ...);
+
#endif /* _CC_USB_H_ */