summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2009-11-02 15:45:58 -0800
committerKeith Packard <keithp@keithp.com>2009-11-02 15:45:58 -0800
commitb219801fb0e5eaff7778d21701da977104522da3 (patch)
tree390f716c458a9b052cd431a20112386a8dffb731
parentb92333ff5e75bf96804359e9fbf464d3b518bd95 (diff)
Add ao_usb_pollchar to ao.h
-rw-r--r--src/ao.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/ao.h b/src/ao.h
index 65a594c0..4cceefe1 100644
--- a/src/ao.h
+++ b/src/ao.h
@@ -291,6 +291,12 @@ ao_usb_putchar(char c);
char
ao_usb_getchar(void);
+/* Poll for a charcter on the USB input queue.
+ * returns AO_READ_AGAIN if none are available
+ */
+char
+ao_usb_pollchar(void);
+
/* Flush the USB output queue */
void
ao_usb_flush(void);