]> cvs.zerfleddert.de Git - proxmark3-svn/blame - client/data.h
SUGGESTED FIX:
[proxmark3-svn] / client / data.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// Data utilities
9//-----------------------------------------------------------------------------
10
7fe9b0b7 11#ifndef DATA_H__
12#define DATA_H__
13
14#include <stdint.h>
15
52ab55ab 16//trace buffer size as defined in armsrc/apps.h TRACE_SIZE
17#define TRACE_BUFFER_SIZE 4096
18#define FILE_PATH_SIZE 1000
7fe9b0b7 19#define SAMPLE_BUFFER_SIZE 64
20
902cb3c0 21extern uint8_t* sample_buf;
22extern size_t sample_buf_len;
7fe9b0b7 23#define arraylen(x) (sizeof(x)/sizeof((x)[0]))
24
db09cb3a 25void GetFromBigBuf(uint8_t *dest, int bytes, int start_index);
7fe9b0b7 26
27#endif
Impressum, Datenschutz