Add ao_usb_pollchar to ao.h
authorKeith Packard <keithp@keithp.com>
Mon, 2 Nov 2009 23:45:58 +0000 (15:45 -0800)
committerKeith Packard <keithp@keithp.com>
Mon, 2 Nov 2009 23:45:58 +0000 (15:45 -0800)
src/ao.h

index 65a594c0529ebd8413d1fd6592f3c878673cf6f2..4cceefe101a0306a57ae53c804ec5efe245b5e09 100644 (file)
--- 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);