X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a553f2674865fa544d04ca7b8194e30c008644ae..e4691591454edf2c11697096ea72d650a7dbda79:/client/data.h diff --git a/client/data.h b/client/data.h index b60ec74d..41bd9a41 100644 --- a/client/data.h +++ b/client/data.h @@ -13,11 +13,15 @@ #include +//trace buffer size as defined in armsrc/apps.h TRACE_SIZE +#define TRACE_BUFFER_SIZE 4096 +#define FILE_PATH_SIZE 1000 #define SAMPLE_BUFFER_SIZE 64 -extern uint8_t sample_buf[SAMPLE_BUFFER_SIZE]; +extern uint8_t* sample_buf; +extern size_t sample_buf_len; #define arraylen(x) (sizeof(x)/sizeof((x)[0])) -void GetFromBigBuf(uint8_t *dest, int bytes); +void GetFromBigBuf(uint8_t *dest, int bytes, int start_index); #endif