]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/hidcardformats.h
Fix some printf/scanf format strings
[proxmark3-svn] / client / hidcardformats.h
index b8c6afb48ea03c69fb44820a83d5e9cf70026862..3019b823de4c4187f511f61ff0840227528a057b 100644 (file)
 #include <stdbool.h>
 #include "hidcardformatutils.h"
 
+
+typedef struct hidcardformatdescriptor_s{
+  bool hasCardNumber;
+  bool hasFacilityCode;
+  bool hasIssueLevel;
+  bool hasOEMCode;
+  bool hasParity;
+} hidcardformatdescriptor_t;
+
 // Structure for defined HID card formats available for packing/unpacking
 typedef struct hidcardformat_s{
   const char* Name;
   bool (*Pack)(/*in*/hidproxcard_t* card, /*out*/hidproxmessage_t* packed);
   bool (*Unpack)(/*in*/hidproxmessage_t* packed, /*out*/hidproxcard_t* card);
   const char* Descrp;
+  hidcardformatdescriptor_t Fields;
 } hidcardformat_t;
 
 void HIDListFormats();
Impressum, Datenschutz