X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/b7d3e89923d418c8a7b6acf1ca74f45b436be26d..d9de20fa4bb0a36052927b55c4185caa204c5c4d:/client/cmdhf14a.h?ds=sidebyside diff --git a/client/cmdhf14a.h b/client/cmdhf14a.h index 5276da36..d961d570 100644 --- a/client/cmdhf14a.h +++ b/client/cmdhf14a.h @@ -12,19 +12,9 @@ #ifndef CMDHF14A_H__ #define CMDHF14A_H__ -#include #include -#include -#include -#include -#include #include - -// structure and database for uid -> tagtype lookups -typedef struct { - uint8_t uid; - char* desc; -} manufactureName; +#include "mifare.h" int CmdHF14A(const char *Cmd); int CmdHF14AList(const char *Cmd); @@ -36,6 +26,9 @@ int CmdHF14ASnoop(const char *Cmd); char* getTagInfo(uint8_t uid); extern void DropField(); -extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int *dataoutlen); + +extern int Hf14443_4aGetCardData(iso14a_card_select_t * card); +extern int ExchangeRAW14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen); +extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen); #endif