X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/50193c1e3eb7f904bdc4be84618b1b045539597b..7b6e32053373740516833b1a228a0ad01bb14bd2:/client/cmdhf14a.h diff --git a/client/cmdhf14a.h b/client/cmdhf14a.h index fdb8b959..d961d570 100644 --- a/client/cmdhf14a.h +++ b/client/cmdhf14a.h @@ -12,14 +12,23 @@ #ifndef CMDHF14A_H__ #define CMDHF14A_H__ -typedef struct fnVector { uint8_t blockNo, keyType; uint32_t uid, nt, ks1; } fnVector; +#include +#include +#include "mifare.h" int CmdHF14A(const char *Cmd); - int CmdHF14AList(const char *Cmd); int CmdHF14AMifare(const char *Cmd); int CmdHF14AReader(const char *Cmd); +extern int CmdHF14AInfo(const char *Cmd); int CmdHF14ASim(const char *Cmd); int CmdHF14ASnoop(const char *Cmd); +char* getTagInfo(uint8_t uid); + +extern void DropField(); + +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