X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/ffeb77fdc6c57449b6a5607b4468eb981a05dd4e..5f5b83b7435ae85f2ffa06f1f8994bda22ce64b2:/armsrc/iso14443b.h diff --git a/armsrc/iso14443b.h b/armsrc/iso14443b.h index 75fdab55..885d8730 100644 --- a/armsrc/iso14443b.h +++ b/armsrc/iso14443b.h @@ -13,20 +13,23 @@ #ifndef __ISO14443B_H #define __ISO14443B_H +#ifdef __cplusplus +extern "C" { +#endif + #include "proxmark3.h" +#include "common.h" // access to global variable: MF_DBGLEVEL #include "apps.h" #include "util.h" #include "string.h" #include "iso14443crc.h" -#include "common.h" + #include "mifare.h" #include "protocols.h" -#include "mifareutil.h" // access to global variable: MF_DBGLEVEL +//#include "mifareutil.h" extern void AppendCrc14443b(uint8_t *data, int len); - void SendRawCommand14443B_Ex(UsbCommand *c); - void iso14443b_setup(); uint8_t iso14443b_apdu(uint8_t const *message, size_t message_length, uint8_t *response); uint8_t iso14443b_select_card(iso14b_card_select_t* card); @@ -45,4 +48,8 @@ void ClearFpgaShiftingRegisters(void); #define SIM_ACKNOWLEDGE 5 #define SIM_WORK 6 +#ifdef __cplusplus +} +#endif + #endif /* __ISO14443B_H */