]> cvs.zerfleddert.de Git - proxmark3-svn/blob - winsrc/prox.h
fix windows compile error and remove linux compile warnings
[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();
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 extern int offline;
23
24 // command.cpp
25 static void CmdBuffClear(char *str);
26 static void GetFromBigBuf(BYTE *dest, int bytes);
27 static void CmdReset(char *str);
28 static void CmdQuit(char *str);
29 static void CmdEM410xread(char *str);
30 static void CmdEM410xwatch(char *str);
31 static void ChkBitstream(char *str);
32 int GetClock(char *str, int peak);
33 static void CmdHIDdemodFSK(char *str);
34 static void Cmdmanchestermod(char *str);
35 static void CmdTune(char *str);
36 static void CmdHi15read(char *str);
37 static void CmdHi14read(char *str);
38 static void CmdSri512read(char *str);
39 static void CmdHi14areader(char *str);
40 static void CmdHi15reader(char *str);
41 static void CmdHi15tag(char *str);
42 static void CmdHi14read_sim(char *str);
43 static void CmdHi14readt(char *str);
44 static void CmdHisimlisten(char *str);
45 static void CmdHi14sim(char *str);
46 static void CmdHi14asim(char *str);
47 static void CmdHi14snoop(char *str);
48 static void CmdHi14asnoop(char *str);
49 static void CmdFPGAOff(char *str);
50 int CmdClearGraph(int redraw);
51 static void CmdAppendGraph(int redraw, int clock, int bit);
52 static void CmdEM410xsim(char *str);
53 static void CmdLosim(char *str);
54 static void CmdLoCommandRead(char *str);
55 static void CmdLoread(char *str);
56 static void CmdLosamples(char *str);
57 static void CmdBitsamples(char *str);
58 static void CmdHisamples(char *str);
59 static int CmdHisamplest(char *str, int nrlow);
60 static void CmdHexsamples(char *str);
61 static void CmdHisampless(char *str);
62 static WORD Iso15693Crc(BYTE *v, int n);
63 static void CmdHi14bdemod(char *str);
64 static void CmdHi14list(char *str);
65 static void CmdHi14alist(char *str);
66 static void CmdHi15demod(char *str);
67 static void CmdTiread(char *str);
68 static void CmdTibits(char *str);
69 static void CmdTidemod(char *cmdline);
70 static void CmdNorm(char *str);
71 static void CmdDec(char *str);
72 static void CmdHpf(char *str);
73 static void CmdZerocrossings(char *str);
74 static void CmdLtrim(char *str);
75 static void CmdAutoCorr(char *str);
76 static void CmdVchdemod(char *str);
77 static void CmdIndalademod(char *str);
78 static void CmdFlexdemod(char *str);
79 static void Cmdaskdemod(char *str);
80 static void Cmddetectclockrate(char *str);
81 int detectclock(int peak);
82 static void Cmdbitstream(char *str);
83 static void Cmdmanchesterdemod(char *str);
84 static void CmdHiddemod(char *str);
85 static void CmdPlot(char *str);
86 static void CmdHide(char *str);
87 static void CmdScale(char *str);
88 static void CmdSave(char *str);
89 static void CmdLoad(char *str);
90 static void CmdHIDsimTAG(char *str);
91 static void CmdLcdReset(char *str);
92 static void CmdLcd(char *str);
93 static void CmdTest(char *str);
94 static void CmdSetDivisor(char *str);
95 static void CmdSweepLF(char *str);
96 void CommandReceived(char *cmd);
97 void UsbCommandReceived(UsbCommand *c);
98
99
100 // cmdline.cpp
101 void ShowCommandline(void);
102 void ExecCmd(char *cmd);
103 //void PrintToScrollback(char *fmt, ...);
104
105 #endif
Impressum, Datenschutz