]>
Commit | Line | Data |
---|---|---|
a553f267 | 1 | //----------------------------------------------------------------------------- |
212ef3a0 | 2 | // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net> |
a553f267 | 3 | // Copyright (C) 2010 iZsh <izsh at fail0verflow.com> |
4 | // | |
5 | // This code is licensed to you under the terms of the GNU GPL, version 2 or, | |
6 | // at your option, any later version. See the LICENSE.txt file for the text of | |
7 | // the license. | |
8 | //----------------------------------------------------------------------------- | |
9 | // Main binary | |
10 | //----------------------------------------------------------------------------- | |
11 | ||
7fe9b0b7 | 12 | #ifndef PROXMARK3_H__ |
13 | #define PROXMARK3_H__ | |
431ae7e0 | 14 | |
902cb3c0 | 15 | #include "usb_cmd.h" |
afdcb8c1 | 16 | #include "uart.h" |
902cb3c0 | 17 | |
7fe9b0b7 | 18 | #define PROXPROMPT "proxmark3> " |
6658905f | 19 | |
5acd195d | 20 | #ifdef __cplusplus |
21 | extern "C" { | |
22 | #endif | |
23 | ||
902cb3c0 | 24 | void SendCommand(UsbCommand *c); |
4a6bc37e | 25 | const char *get_my_executable_path(void); |
26 | const char *get_my_executable_directory(void); | |
afdcb8c1 | 27 | void main_loop(char *script_cmds_file, char *script_cmd, bool usb_present, serial_port* sp); |
5acd195d | 28 | |
29 | #ifdef __cplusplus | |
30 | } | |
31 | #endif | |
902cb3c0 | 32 | |
4cd41f34 | 33 | #endif |