]>
Commit | Line | Data |
---|---|---|
a553f267 | 1 | //----------------------------------------------------------------------------- |
2 | // Copyright (C) 2010 iZsh <izsh at fail0verflow.com> | |
3 | // | |
4 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
5 | // at your option, any later version. See the LICENSE.txt file for the text of | |
6 | // the license. | |
7 | //----------------------------------------------------------------------------- | |
8 | // Main command parser entry point | |
9 | //----------------------------------------------------------------------------- | |
10 | ||
7fe9b0b7 | 11 | #ifndef CMDMAIN_H__ |
12 | #define CMDMAIN_H__ | |
13 | ||
14 | #include "usb_cmd.h" | |
15 | ||
16 | void UsbCommandReceived(UsbCommand *UC); | |
17 | void CommandReceived(char *Cmd); | |
534983d7 | 18 | UsbCommand * WaitForResponseTimeout(uint32_t response_type, uint32_t ms_timeout); |
19 | UsbCommand * WaitForResponse(uint32_t response_type); | |
7fe9b0b7 | 20 | |
21 | #endif |