]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/ui.h
Merge pull request #81 from mdp/fixguard
[proxmark3-svn] / client / ui.h
CommitLineData
a553f267 1//-----------------------------------------------------------------------------
2// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
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// UI utilities
9//-----------------------------------------------------------------------------
10
7fe9b0b7 11#ifndef UI_H__
12#define UI_H__
be6e909c 13
45293f10 14#define _USE_MATH_DEFINES
15#include <stdarg.h>
16#include <stdlib.h>
17#include <stdio.h>
18#include <stdbool.h>
45293f10 19#include <readline/readline.h>
20#include <pthread.h>
7bd30f12 21#include <math.h>
22#include <complex.h>
b403c300 23
24// Handle platform specific includes
25#ifndef _WIN32
26 #include <sys/time.h>
27#else
28 #include <time.h>
29 #include <windows.h>
30#endif
31
45293f10 32#include "loclass/cipherutils.h"
f38a1528 33#include "util.h"
45293f10 34#include "cmdmain.h"
35#include "cmddata.h"
f38a1528 36
45293f10 37#ifndef M_PI
38#define M_PI 3.14159265358979323846264338327
39#endif
7fe9b0b7 40void ShowGui(void);
41void HideGraphWindow(void);
42void ShowGraphWindow(void);
43void RepaintGraphWindow(void);
44void PrintAndLog(char *fmt, ...);
45void SetLogFilename(char *fn);
46
47extern double CursorScaleFactor;
7ddb9900 48extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
7fe9b0b7 49extern int offline;
ed77aabe 50extern int flushAfterWrite; //buzzy
7fe9b0b7 51
9e43f09a 52void iceIIR_Butterworth(int * data, const size_t len);
4c543dbd 53void iceSimple_Filter(int *data, const size_t len, uint8_t k);
7fe9b0b7 54#endif
Impressum, Datenschutz