Merge pull request #1327 from Pondorasti/patch-1
[RRG-proxmark3.git] / include / legic.h
blob574cb7fdf6ebfd240a6e40f088072569b6597873
1 //-----------------------------------------------------------------------------
2 // (c) 2016 Iceman
3 //
4 // This code is licensed to you under the terms of the GNU GPL, version 2 or,
5 // at your option, any later version. See the LICENSE.txt file for the text of
6 // the license.
7 //-----------------------------------------------------------------------------
8 // LEGIC type prototyping
9 //-----------------------------------------------------------------------------
11 #ifndef _LEGIC_H_
12 #define _LEGIC_H_
14 #include "common.h"
16 //-----------------------------------------------------------------------------
17 // LEGIC
18 //-----------------------------------------------------------------------------
19 typedef struct {
20 uint8_t uid[4];
21 uint32_t tagtype;
22 uint8_t cmdsize;
23 uint8_t addrsize;
24 uint16_t cardsize;
25 } legic_card_select_t;
27 #endif // _LEGIC_H_