]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/mifarehost.h
FIX: lf hitag : Mea culpa, simulation should not have reader_field on. thanks to...
[proxmark3-svn] / client / mifarehost.h
index 1593c390bc641aaa1c94d096c03d55597cfc82ed..e172bd391a4ec31008057c862c3bac139b3ebe65 100644 (file)
@@ -7,21 +7,21 @@
 //-----------------------------------------------------------------------------\r
 // High frequency ISO14443A commands\r
 //-----------------------------------------------------------------------------\r
+#ifndef __MIFARE_HOST_H\r
+#define __MIFARE_HOST_H\r
 \r
 #include <stdio.h>\r
 #include <stdlib.h>\r
 #include <unistd.h>\r
 #include <string.h>\r
 #include <pthread.h>\r
-#include "proxmark3.h"\r
-//#include "radixsort.h"\r
-#include <time.h>\r
+\r
+#include "proxmark3.h" // time_t\r
 #include "common.h"\r
 #include "cmdmain.h"\r
 #include "ui.h"\r
 #include "data.h"\r
 #include "util.h"\r
-//#include "nonce2key/nonce2key.h"\r
 #include "nonce2key/crapto1.h"\r
 #include "iso14443crc.h"\r
 #include "protocols.h"\r
@@ -58,7 +58,7 @@ typedef struct {
 typedef struct {\r
        uint64_t Key[2];\r
        int foundKey[2];\r
-} sector;\r
+} sector_t;\r
  \r
 extern int compar_int(const void * a, const void * b);\r
 extern char logHexFileName[FILE_PATH_SIZE];\r
@@ -84,3 +84,4 @@ int isBlockTrailer(int blockN);
 int loadTraceCard(uint8_t *tuid, uint8_t uidlen);\r
 int saveTraceCard(void);\r
 int tryDecryptWord(uint32_t nt, uint32_t ar_enc, uint32_t at_enc, uint8_t *data, int len);\r
+#endif
\ No newline at end of file
Impressum, Datenschutz