]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/ui.h
FIX: the #define M_PI is now optional. Moved a bunch of header invocations into...
[proxmark3-svn] / client / ui.h
... / ...
CommitLineData
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
11#ifndef UI_H__
12#define UI_H__
13#define _USE_MATH_DEFINES
14#include <stdarg.h>
15#include <stdlib.h>
16#include <stdio.h>
17#include <stdbool.h>
18#include <time.h>
19#include <readline/readline.h>
20#include <pthread.h>
21#include <math.h>
22#include <complex.h>
23#include "loclass/cipherutils.h"
24#include "util.h"
25#include "cmdmain.h"
26#include "cmddata.h"
27#include "graph.h"
28
29#ifndef M_PI
30#define M_PI 3.14159265358979323846264338327
31#endif
32void ShowGui(void);
33void HideGraphWindow(void);
34void ShowGraphWindow(void);
35void RepaintGraphWindow(void);
36void PrintAndLog(char *fmt, ...);
37void SetLogFilename(char *fn);
38
39extern double CursorScaleFactor;
40extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
41extern int offline;
42extern int flushAfterWrite; //buzzy
43
44void iceFsk3(int * data, const size_t len);
45#endif
Impressum, Datenschutz