]> cvs.zerfleddert.de Git - proxmark3-svn/blame - winsrc/prox.h
added eh_frame needed for gcc 4.4.1 or higher
[proxmark3-svn] / winsrc / prox.h
CommitLineData
6658905f 1#ifndef __PROX_H\r
2#define __PROX_H\r
3\r
4#include "../include/usb_cmd.h"\r
5\r
6// prox.cpp\r
7void ReceiveCommand(UsbCommand *c);\r
8BOOL ReceiveCommandPoll(UsbCommand *c);\r
9void SendCommand(UsbCommand *c, BOOL wantAck);\r
10\r
11// gui.cpp\r
9760414b 12void ShowGui();\r
6658905f 13void HideGraphWindow(void);\r
14void ShowGraphWindow(void);\r
15void RepaintGraphWindow(void);\r
16void PrintToScrollback(char *fmt, ...);\r
17#define MAX_GRAPH_TRACE_LEN (1024*128)\r
18extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];\r
19extern int GraphTraceLen;\r
20extern double CursorScaleFactor;\r
f4434ad2 21extern int PlotGridX, PlotGridY;\r
6658905f 22extern int CommandFinished;\r
9760414b 23extern int offline;\r
6658905f 24\r
25// command.cpp\r
f23e056d 26static void CmdBuffClear(char *str);\r
9760414b 27static void GetFromBigBuf(BYTE *dest, int bytes);\r
28static void CmdReset(char *str);\r
29static void CmdQuit(char *str);\r
30static void CmdEM410xread(char *str);\r
31static void CmdEM410xwatch(char *str);\r
32static void ChkBitstream(char *str);\r
33int GetClock(char *str, int peak);\r
34static void CmdHIDdemodFSK(char *str);\r
35static void Cmdmanchestermod(char *str);\r
36static void CmdTune(char *str);\r
37static void CmdHi15read(char *str);\r
38static void CmdHi14read(char *str);\r
39static void CmdSri512read(char *str);\r
40static void CmdHi14areader(char *str);\r
41static void CmdHi15reader(char *str);\r
42static void CmdHi15tag(char *str);\r
43static void CmdHi14read_sim(char *str);\r
44static void CmdHi14readt(char *str);\r
45static void CmdHisimlisten(char *str);\r
1dff8c42 46static void CmdReadmem(char *str);\r
9760414b 47static void CmdHi14sim(char *str);\r
48static void CmdHi14asim(char *str);\r
49static void CmdHi14snoop(char *str);\r
50static void CmdHi14asnoop(char *str);\r
51static void CmdFPGAOff(char *str);\r
52int CmdClearGraph(int redraw);\r
53static void CmdAppendGraph(int redraw, int clock, int bit);\r
54static void CmdEM410xsim(char *str);\r
55static void CmdLosim(char *str);\r
959baa89 56static void CmdLoCommandRead(char *str);\r
9760414b 57static void CmdLoread(char *str);\r
58static void CmdLosamples(char *str);\r
59static void CmdBitsamples(char *str);\r
60static void CmdHisamples(char *str);\r
61static int CmdHisamplest(char *str, int nrlow);\r
62static void CmdHexsamples(char *str);\r
63static void CmdHisampless(char *str);\r
64static WORD Iso15693Crc(BYTE *v, int n);\r
65static void CmdHi14bdemod(char *str);\r
66static void CmdHi14list(char *str);\r
67static void CmdHi14alist(char *str);\r
68static void CmdHi15demod(char *str);\r
69static void CmdTiread(char *str);\r
70static void CmdTibits(char *str);\r
71static void CmdTidemod(char *cmdline);\r
72static void CmdNorm(char *str);\r
73static void CmdDec(char *str);\r
74static void CmdHpf(char *str);\r
75static void CmdZerocrossings(char *str);\r
76static void CmdLtrim(char *str);\r
77static void CmdAutoCorr(char *str);\r
78static void CmdVchdemod(char *str);\r
79static void CmdIndalademod(char *str);\r
80static void CmdFlexdemod(char *str);\r
81static void Cmdaskdemod(char *str);\r
82static void Cmddetectclockrate(char *str);\r
83int detectclock(int peak);\r
84static void Cmdbitstream(char *str);\r
85static void Cmdmanchesterdemod(char *str);\r
86static void CmdHiddemod(char *str);\r
87static void CmdPlot(char *str);\r
88static void CmdHide(char *str);\r
89static void CmdScale(char *str);\r
90static void CmdSave(char *str);\r
91static void CmdLoad(char *str);\r
92static void CmdHIDsimTAG(char *str);\r
93static void CmdLcdReset(char *str);\r
94static void CmdLcd(char *str);\r
95static void CmdTest(char *str);\r
96static void CmdSetDivisor(char *str);\r
97static void CmdSweepLF(char *str);\r
6658905f 98void CommandReceived(char *cmd);\r
99void UsbCommandReceived(UsbCommand *c);\r
100\r
9760414b 101\r
6658905f 102// cmdline.cpp\r
103void ShowCommandline(void);\r
104void ExecCmd(char *cmd);\r
105//void PrintToScrollback(char *fmt, ...);\r
106\r
107#endif\r
Impressum, Datenschutz