]> git.zerfleddert.de Git - proxmark3-svn/blame - client/cmdmain.h
Merge pull request #438 from pwpiwi/fpga_14b
[proxmark3-svn] / client / cmdmain.h
CommitLineData
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
7cb8516c 14#include <stdint.h>
15#include <stddef.h>
7fe9b0b7 16#include "usb_cmd.h"
57c69556 17#include "cmdparser.h"
7cb8516c 18
19extern void UsbCommandReceived(UsbCommand *UC);
20extern int CommandReceived(char *Cmd);
275d9e61 21extern bool WaitForResponseTimeoutW(uint32_t cmd, UsbCommand* response, size_t ms_timeout, bool show_warning);
7cb8516c 22extern bool WaitForResponseTimeout(uint32_t cmd, UsbCommand* response, size_t ms_timeout);
23extern bool WaitForResponse(uint32_t cmd, UsbCommand* response);
24extern void clearCommandBuffer();
25extern command_t* getTopLevelCommandTable();
26
7fe9b0b7 27#endif
Impressum, Datenschutz