X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/a553f2674865fa544d04ca7b8194e30c008644ae..9aeda6cbfbfadd3be02f43165617b1ec4ff45425:/client/data.h?ds=sidebyside diff --git a/client/data.h b/client/data.h index b60ec74d..df1f31de 100644 --- a/client/data.h +++ b/client/data.h @@ -10,14 +10,9 @@ #ifndef DATA_H__ #define DATA_H__ - #include - -#define SAMPLE_BUFFER_SIZE 64 - -extern uint8_t sample_buf[SAMPLE_BUFFER_SIZE]; -#define arraylen(x) (sizeof(x)/sizeof((x)[0])) - -void GetFromBigBuf(uint8_t *dest, int bytes); - +#include "util.h" +extern uint8_t* sample_buf; +void GetFromBigBuf(uint8_t *dest, int bytes, int start_index); +void GetEMLFromBigBuf(uint8_t *dest, uint32_t bytes, uint32_t start_index); #endif