]> git.zerfleddert.de Git - proxmark3-svn/blob - client/proxgui.h
fix compile errors in newer environment
[proxmark3-svn] / client / proxgui.h
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
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 // GUI functions
9 //-----------------------------------------------------------------------------
10 #include <string.h>
11 #include <stdint.h>
12 #ifdef __cplusplus
13 extern "C" {
14 #endif
15
16 void ShowGraphWindow(void);
17 void HideGraphWindow(void);
18 void RepaintGraphWindow(void);
19 void MainGraphics(void);
20 void InitGraphics(int argc, char **argv);
21 void ExitGraphics(void);
22
23 #define MAX_GRAPH_TRACE_LEN (40000 * 8 )
24 extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
25 extern int GraphTraceLen;
26 extern int s_Buff[MAX_GRAPH_TRACE_LEN];
27
28 extern double CursorScaleFactor;
29 extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
30 extern int CommandFinished;
31 extern int offline;
32
33 //Operations defined in data_operations
34 extern int autoCorr(const int* in, int *out, size_t len, int window);
35 extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down);
36
37
38 #ifdef __cplusplus
39 }
40 #endif
Impressum, Datenschutz