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