]> cvs.zerfleddert.de Git - proxmark3-svn/commitdiff
move strucrture to .h file
authormerlokk <olegmsn@gmail.com>
Tue, 31 Oct 2017 14:25:42 +0000 (16:25 +0200)
committermerlokk <olegmsn@gmail.com>
Tue, 31 Oct 2017 14:25:42 +0000 (16:25 +0200)
client/cmdhf14a.c
client/cmdhf14a.h

index cdaa18cd1ca106960e0f7eb91a875ddea512af6f..f6ed899ae44e3dba4358178193528beba77322fc 100644 (file)
 static int CmdHelp(const char *Cmd);
 static int waitCmd(uint8_t iLen);
 
-// structure and database for uid -> tagtype lookups 
-typedef struct { 
-       uint8_t uid;
-       char* desc;
-} manufactureName; 
-
 const manufactureName manufactureMapping[] = {
        // ID,  "Vendor Country"
        { 0x01, "Motorola UK" },
@@ -93,7 +87,6 @@ const manufactureName manufactureMapping[] = {
        { 0x00, "no tag-info available" } // must be the last entry
 };
 
-
 // get a product description based on the UID
 //             uid[8]  tag uid
 // returns description of the best match       
index 0b58a55ada4edd53dfa34279f564ade19fd3125e..407cf07dec907ce8ecfbe2acc4eebd314b97cc1e 100644 (file)
 #include "cmdhfmfu.h"
 #include "mifarehost.h"
 
+// structure and database for uid -> tagtype lookups 
+typedef struct { 
+       uint8_t uid;
+       char* desc;
+} manufactureName; 
+
 int CmdHF14A(const char *Cmd);
 int CmdHF14AList(const char *Cmd);
 int CmdHF14AMifare(const char *Cmd);
Impressum, Datenschutz