]> git.zerfleddert.de Git - proxmark3-svn/blame_incremental - client/data.h
FIX: I think the dumping of data is correct now in tnp3.lua. MD5 string vs bytearra...
[proxmark3-svn] / client / data.h
... / ...
CommitLineData
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
11#ifndef DATA_H__
12#define DATA_H__
13
14#include <stdint.h>
15
16#define SAMPLE_BUFFER_SIZE 64
17
18extern uint8_t* sample_buf;
19extern size_t sample_buf_len;
20#define arraylen(x) (sizeof(x)/sizeof((x)[0]))
21
22void GetFromBigBuf(uint8_t *dest, int bytes, int start_index);
23
24#endif
Impressum, Datenschutz