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