forcing device into host mode requires a full config - which we will do in opendevice...
[AROS.git] / rom / usb / classes / dfu / dfu.class.h
blob97b73d3e2478e6f852ac75a7ca934240c6cf8b4b
1 #ifndef DFU_CLASS_H
2 #define DFU_CLASS_H
4 /*
5 *----------------------------------------------------------------------------
6 * Includes for DFU class
7 *----------------------------------------------------------------------------
8 * By Chris Hodges <chrisly@platon42.de>
9 */
11 #include "common.h"
13 #include <libraries/gadtools.h>
14 #include <libraries/asl.h>
16 #include <devices/usb_dfu.h>
18 #include <string.h>
19 #include <stddef.h>
20 #include <stdio.h>
22 #include "dfu.h"
24 /* Protos */
26 struct NepClassDFU * usbAttemptInterfaceBinding(struct NepDFUBase *nh, struct PsdInterface *pif);
27 struct NepClassDFU * usbForceInterfaceBinding(struct NepDFUBase *nh, struct PsdInterface *pif);
28 void usbReleaseInterfaceBinding(struct NepDFUBase *nh, struct NepClassDFU *nch);
30 LONG nOpenBindingCfgWindow(struct NepDFUBase *nh, struct NepClassDFU *nch);
32 void nFWDownload(struct NepClassDFU *nch);
33 void nFWUpload(struct NepClassDFU *nch);
34 void nDetach(struct NepClassDFU *nch);
36 STRPTR nGetStatus(struct NepClassDFU *nch);
38 void nGUITaskCleanup(struct NepClassDFU *nch);
40 AROS_UFP0(void, nGUITask);
42 #endif /* DFU_CLASS_H */