X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/eb6e8de45dcbf97b15812f88cfeb6b525a5e566e..f3ffd5a24f6e4488505ff1c98bc6512dff5a69ed:/client/cmdhf14a.h?ds=sidebyside diff --git a/client/cmdhf14a.h b/client/cmdhf14a.h index e7784de2..71007f95 100644 --- a/client/cmdhf14a.h +++ b/client/cmdhf14a.h @@ -12,20 +12,9 @@ #ifndef CMDHF14A_H__ #define CMDHF14A_H__ -#include <stdio.h> #include <stdint.h> -#include <stdlib.h> -#include <inttypes.h> -#include <string.h> -#include <unistd.h> #include <stdbool.h> -// structure and database for uid -> tagtype lookups -typedef struct { - uint8_t uid; - char* desc; -} manufactureName; - int CmdHF14A(const char *Cmd); int CmdHF14AList(const char *Cmd); int CmdHF14AMifare(const char *Cmd); @@ -35,6 +24,7 @@ int CmdHF14ASim(const char *Cmd); int CmdHF14ASnoop(const char *Cmd); char* getTagInfo(uint8_t uid); -extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int *dataoutlen); +extern void DropField(); +extern int ExchangeAPDU14a(uint8_t *datain, int datainlen, bool activateField, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen); #endif