43591e64 |
1 | //----------------------------------------------------------------------------- |
2 | // Copyright (C) 2018 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 | // Proxmark3 RDV40 Smartcard module commands |
9 | //----------------------------------------------------------------------------- |
10 | |
11 | #ifndef CMDSMARTCARD_H__ |
12 | #define CMDSMARTCARD_H__ |
13 | |
14 | #include <stdio.h> |
15 | #include <stdlib.h> |
16 | #include <string.h> |
17 | #include <ctype.h> |
18 | #include "proxmark3.h" |
19 | #include "ui.h" |
20 | #include "cmdparser.h" |
21 | #include "common.h" |
22 | #include "util.h" |
23 | #include "loclass/fileutils.h" // saveFile |
24 | #include "cmdmain.h" // getfromdevice |
25 | #include "emv/emvcore.h" // decodeTVL |
26 | #include "emv/apduinfo.h" // APDUcode description |
27 | |
28 | extern int CmdSmartcard(const char *Cmd); |
29 | |
30 | extern int CmdSmartRaw(const char* cmd); |
31 | extern int CmdSmartUpgrade(const char* cmd); |
32 | extern int CmdSmartInfo(const char* cmd); |
33 | extern int CmdSmartReader(const char *Cmd); |
34 | |
35 | extern int usage_sm_raw(void); |
36 | extern int usage_sm_reader(void); |
37 | extern int usage_sm_info(void); |
38 | extern int usage_sm_upgrade(void); |
39 | #endif |