-// Structure for unpacked HID Prox tags.
-typedef struct {
- // Format length, in bits.
- uint8_t fmtLen;
-
- // Facility code.
- uint32_t fc;
-
- // Card number.
- uint64_t cardnum;
-
- // Parity validity.
- //
- // When used with pack_hid, this determines if we should calculate
- // parity values for the ID.
- //
- // When used with unpack_hid, this indicates if we got valid parity
- // values for the ID.
- bool parityValid;
-} hid_info;
-
-bool pack_hid(/* out */ uint32_t *hi2, /* out */ uint32_t *hi, /* out */ uint32_t *lo, /* in */ const hid_info *info);
-bool unpack_hid(hid_info* out, uint32_t hi2, uint32_t hi, uint32_t lo);
-
-