Merge pull request #165 from wllm-rbnt/master
[legacy-proxmark3.git] / client / data.h
blob7d85e1f158083ec89087c61a7a8d33a9962b4700
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 //-----------------------------------------------------------------------------
11 #ifndef DATA_H__
12 #define DATA_H__
14 #include <stdint.h>
16 #define FILE_PATH_SIZE 1000
18 extern uint8_t* sample_buf;
19 #define arraylen(x) (sizeof(x)/sizeof((x)[0]))
21 void GetFromBigBuf(uint8_t *dest, int bytes, int start_index);
23 #endif