]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxgui.h
fix compile errors in newer environment
[proxmark3-svn] / client / proxgui.h
index 32121e5860c12a972a072b25d4dc22600c42c157..b8c4f6c45dc56fb063bed2e2afdbcb2e3388c454 100644 (file)
@@ -1,11 +1,14 @@
 //-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+//
 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
 // at your option, any later version. See the LICENSE.txt file for the text of
 // the license.
 //-----------------------------------------------------------------------------
 // GUI functions
 //-----------------------------------------------------------------------------
-
+#include <string.h>
+#include <stdint.h>
 #ifdef __cplusplus
 extern "C" {
 #endif
@@ -17,14 +20,21 @@ void MainGraphics(void);
 void InitGraphics(int argc, char **argv);
 void ExitGraphics(void);
 
-#define MAX_GRAPH_TRACE_LEN (1024*128)
+#define MAX_GRAPH_TRACE_LEN (40000 * 8 )
 extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
 extern int GraphTraceLen;
+extern int s_Buff[MAX_GRAPH_TRACE_LEN];
+
 extern double CursorScaleFactor;
-extern int PlotGridX, PlotGridY;
+extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
 extern int CommandFinished;
 extern int offline;
 
+//Operations defined in data_operations
+extern int autoCorr(const int* in, int *out, size_t len, int window);
+extern int directionalThreshold(const int* in, int *out, size_t len, int8_t up, int8_t down);
+
+
 #ifdef __cplusplus
 }
 #endif
Impressum, Datenschutz