]>
cvs.zerfleddert.de Git - proxmark3-svn/blob - client/ui.h
823dccc2e1db1041344f202ebfb624e1d6b22925
1 //-----------------------------------------------------------------------------
2 // Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
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
7 //-----------------------------------------------------------------------------
9 //-----------------------------------------------------------------------------
17 void HideGraphWindow(void);
18 void ShowGraphWindow(void);
19 void RepaintGraphWindow(void);
20 void PrintAndLog(char *fmt
, ...);
21 void SetLogFilename(char *fn
);
23 extern double CursorScaleFactor
;
24 extern int PlotGridX
, PlotGridY
, PlotGridXdefault
, PlotGridYdefault
;
26 extern int flushAfterWrite
; //buzzy
28 int manchester_decode( int * data
, const size_t len
, uint8_t * dataout
);
29 int GetT55x7Clock( const int * data
, const size_t len
, int high
);
30 int DetectFirstTransition(const int * data
, const size_t len
, int low
);
31 void PrintPaddedManchester( uint8_t * bitStream
, size_t len
, size_t blocksize
);
32 void ManchesterDiffDecodedString( const uint8_t *bitStream
, size_t len
, uint8_t invert
);
33 int ManchesterConvertFrom255(const int * data
, const size_t len
, uint8_t * dataout
, int high
, int low
, int clock
, int startIndex
);
34 int ManchesterConvertFrom1(const int * data
, const size_t len
, uint8_t * dataout
, int clock
, int startIndex
);