X-Git-Url: http://cvs.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/d62f7bad201ecb4f867d9aa262d257e82b744a80..5ea2a24839c71ba6e58af937a392a6204b8b4696:/client/cmdsmartcard.h?ds=sidebyside diff --git a/client/cmdsmartcard.h b/client/cmdsmartcard.h index caa06f4f..8925ac5a 100644 --- a/client/cmdsmartcard.h +++ b/client/cmdsmartcard.h @@ -11,29 +11,12 @@ #ifndef CMDSMARTCARD_H__ #define CMDSMARTCARD_H__ -#include -#include -#include -#include -#include "proxmark3.h" -#include "ui.h" -#include "cmdparser.h" -#include "common.h" -#include "util.h" -#include "loclass/fileutils.h" // saveFile -#include "cmdmain.h" // getfromdevice -#include "emv/emvcore.h" // decodeTVL -#include "emv/apduinfo.h" // APDUcode description +#include +#include +#include "smartcard.h" extern int CmdSmartcard(const char *Cmd); +extern bool smart_getATR(smart_card_atr_t *card); +extern int ExchangeAPDUSC(uint8_t *datain, int datainlen, bool activateCard, bool leaveSignalON, uint8_t *dataout, int maxdataoutlen, int *dataoutlen); -extern int CmdSmartRaw(const char* cmd); -extern int CmdSmartUpgrade(const char* cmd); -extern int CmdSmartInfo(const char* cmd); -extern int CmdSmartReader(const char *Cmd); - -extern int usage_sm_raw(void); -extern int usage_sm_reader(void); -extern int usage_sm_info(void); -extern int usage_sm_upgrade(void); #endif