]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/mifarehost.h
syntax sugar
[proxmark3-svn] / client / mifarehost.h
index 754cc4839eb5e4a367c7ef85c1309149d245ecc9..e172bd391a4ec31008057c862c3bac139b3ebe65 100644 (file)
@@ -7,6 +7,8 @@
 //-----------------------------------------------------------------------------\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 <pthread.h>\r
 \r
 #include "proxmark3.h" // time_t\r
-//#include "radixsort.h"\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