]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/ui.h
CHG: removed some commented code.
[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__
13
7bd30f12 14#include <math.h>
15#include <complex.h>
f38a1528 16#include "util.h"
17
7fe9b0b7 18void ShowGui(void);
19void HideGraphWindow(void);
20void ShowGraphWindow(void);
21void RepaintGraphWindow(void);
22void PrintAndLog(char *fmt, ...);
23void SetLogFilename(char *fn);
24
25extern double CursorScaleFactor;
7ddb9900 26extern int PlotGridX, PlotGridY, PlotGridXdefault, PlotGridYdefault;
7fe9b0b7 27extern int offline;
ed77aabe 28extern int flushAfterWrite; //buzzy
7fe9b0b7 29
c6be64da 30int manchester_decode( int * data, const size_t len, uint8_t * dataout, size_t dataoutlen);
b44e5233 31int GetT55x7Clock( const int * data, const size_t len, int high );
f6c18637 32int DetectFirstTransition(const int * data, const size_t len, int low);
f38a1528 33void PrintPaddedManchester( uint8_t * bitStream, size_t len, size_t blocksize);
b44e5233 34void ManchesterDiffDecodedString( const uint8_t *bitStream, size_t len, uint8_t invert );
c6be64da 35int ManchesterConvertFrom255(const int * data, const size_t len, uint8_t * dataout,int dataoutlen, int high, int low, int clock, int startIndex);
36int ManchesterConvertFrom1(const int * data, const size_t len, uint8_t * dataout, int dataoutlen, int clock, int startIndex);
7bd30f12 37void iceFsk2(int * data, const size_t len);
38void iceFsk3(int * data, const size_t len);
7fe9b0b7 39#endif
Impressum, Datenschutz