X-Git-Url: https://git.zerfleddert.de/cgi-bin/gitweb.cgi/proxmark3-svn/blobdiff_plain/0194ce8fc842da0e40b9d7bbfcb1837f508de9ce..bd09006a8c21bea8d185018aff73c0214d15dcc7:/armsrc/iso14443a.h diff --git a/armsrc/iso14443a.h b/armsrc/iso14443a.h index 8c1117d8..82d3aa97 100644 --- a/armsrc/iso14443a.h +++ b/armsrc/iso14443a.h @@ -12,8 +12,21 @@ #ifndef __ISO14443A_H #define __ISO14443A_H -#include "common.h" + +#ifdef __cplusplus +extern "C" { +#endif + +#include "cmd.h" +#include "apps.h" +#include "util.h" +#include "string.h" +#include "iso14443crc.h" #include "mifaresniff.h" +#include "crapto1.h" +#include "mifareutil.h" +#include "parity.h" +#include "random.h" typedef struct { enum { @@ -95,8 +108,14 @@ int EmSend4bitEx(uint8_t resp, bool correctionNeeded); int EmSend4bit(uint8_t resp); int EmSendCmdExPar(uint8_t *resp, uint16_t respLen, bool correctionNeeded, uint8_t *par); int EmSendCmdEx(uint8_t *resp, uint16_t respLen, bool correctionNeeded); -int EmSendCmd(uint8_t *resp, uint16_t respLen); +extern int EmSendCmd(uint8_t *resp, uint16_t respLen); int EmSendCmdPar(uint8_t *resp, uint16_t respLen, uint8_t *par); bool EmLogTrace(uint8_t *reader_data, uint16_t reader_len, uint32_t reader_StartTime, uint32_t reader_EndTime, uint8_t *reader_Parity, uint8_t *tag_data, uint16_t tag_len, uint32_t tag_StartTime, uint32_t tag_EndTime, uint8_t *tag_Parity); + + +#ifdef __cplusplus +} +#endif + #endif /* __ISO14443A_H */