]> git.zerfleddert.de Git - proxmark3-svn/blame - client/graph.h
Merge pull request #1 from bforbort/master
[proxmark3-svn] / client / graph.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// Graph utilities
9//-----------------------------------------------------------------------------
10
7fe9b0b7 11#ifndef GRAPH_H__
12#define GRAPH_H__
13
14void AppendGraph(int redraw, int clock, int bit);
15int ClearGraph(int redraw);
6ff6ade2 16//int DetectClock(int peak);
17int getFromGraphBuf(uint8_t *buff);
7fe9b0b7 18int GetClock(const char *str, int peak, int verbose);
6ff6ade2 19void setGraphBuf(uint8_t *buff,int size);
c6be64da 20bool HasGraphData();
7fe9b0b7 21
22#define MAX_GRAPH_TRACE_LEN (1024*128)
23extern int GraphBuffer[MAX_GRAPH_TRACE_LEN];
24extern int GraphTraceLen;
7fe9b0b7 25#endif
Impressum, Datenschutz