]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/ui.h
Comms refactor (prerequisite of libproxmark work) (#371)
[proxmark3-svn] / client / ui.h
index 4e03bfabbe95f108717c3b42f2e733fefbb266c2..2986efafdaa12dd5052b57d0761202edb679acc6 100644 (file)
 #ifndef UI_H__
 #define UI_H__
 
+#include <stdbool.h>
+#include <stdint.h>
+#include <pthread.h>
+
+// a global mutex to prevent interlaced printing from different threads
+pthread_mutex_t print_lock;
+extern uint8_t g_debugMode;
+
 void ShowGui(void);
 void HideGraphWindow(void);
 void ShowGraphWindow(void);
@@ -19,8 +27,9 @@ void PrintAndLog(char *fmt, ...);
 void SetLogFilename(char *fn);
 
 extern double CursorScaleFactor;
-extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos;
-extern int offline;
-extern int flushAfterWrite;   //buzzy
+extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault, CursorCPos, CursorDPos, GridOffset;
+extern bool flushAfterWrite;   //buzzy
+extern bool GridLocked;
+extern bool showDemod;
 
 #endif
Impressum, Datenschutz