summaryrefslogtreecommitdiff
path: root/firmware/usbstack/usb_storage.h
diff options
context:
space:
mode:
authorFrank Gevaerts <frank@gevaerts.be>2008-03-06 21:25:09 +0000
committerFrank Gevaerts <frank@gevaerts.be>2008-03-06 21:25:09 +0000
commitf0b4a32d6f983b1bece0b8cb2f2da1fdd23b012e (patch)
tree90f36c9f421c174d0385268ea47f0013b0c8cd8c /firmware/usbstack/usb_storage.h
parent5f83f0e4d2aaad77bda682cfd81a7ebb111a6024 (diff)
reorganise the usb stack to provide a clean separation between core and class drivers
git-svn-id: svn://svn.rockbox.org/rockbox/trunk@16541 a1c6a512-1295-4272-9138-f99709370657
Diffstat (limited to 'firmware/usbstack/usb_storage.h')
-rw-r--r--firmware/usbstack/usb_storage.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/firmware/usbstack/usb_storage.h b/firmware/usbstack/usb_storage.h
index 23903a855a..34bc0144dd 100644
--- a/firmware/usbstack/usb_storage.h
+++ b/firmware/usbstack/usb_storage.h
@@ -21,6 +21,9 @@
#include "usb_ch9.h"
+int usb_storage_get_config_descriptor(unsigned char *dest,int max_packet_size,
+ int interface_number,int endpoint);
+void usb_storage_init_connection(int interface,int endpoint);
void usb_storage_init(void);
void usb_storage_transfer_complete(bool in,int state,int length);
bool usb_storage_control_request(struct usb_ctrlrequest* req);