Initial commit for the firmware. Used the 20090306_ela version as baseline.
[proxmark3-svn] / winsrc / prox.h
1 #ifndef __PROX_H
2 #define __PROX_H
3
4 #include "../include/usb_cmd.h"
5
6 // prox.cpp
7 void ReceiveCommand(UsbCommand *c);
8 BOOL ReceiveCommandPoll(UsbCommand *c);
9 void SendCommand(UsbCommand *c, BOOL wantAck);
10
11 // gui.cpp
12 void ShowGui(void);
13 void HideGraphWindow(void);
14 void ShowGraphWindow(void);
15 void RepaintGraphWindow(void);
16 void PrintToScrollback(char *fmt, ...);
17 #define MAX_GRAPH_TRACE_LEN (1024*128)
18 extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
19 extern int GraphTraceLen;
20 extern double CursorScaleFactor;
21 extern int CommandFinished;
22
23 // command.cpp
24 void CommandReceived(char *cmd);
25 void UsbCommandReceived(UsbCommand *c);
26
27 // cmdline.cpp
28 void ShowCommandline(void);
29 void ExecCmd(char *cmd);
30 //void PrintToScrollback(char *fmt, ...);
31
32 #endif
Impressum, Datenschutz