]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - armsrc/iso14443a.h
ADD: some defines to make headerfiles behave better.
[proxmark3-svn] / armsrc / iso14443a.h
index 8c1117d84c1993247702464dc87b8b2ffe540d8a..82d3aa975e32e35aa7329b79c8bda300c8ef62c0 100644 (file)
 
 #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 */
Impressum, Datenschutz