]>
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 | //----------------------------------------------------------------------------- | |
7fe9b0b7 | 11 | #ifndef PROXMARK3_H__ |
12 | #define PROXMARK3_H__ | |
431ae7e0 | 13 | |
b403c300 | 14 | // Handle platform specific includes |
a877bc2f | 15 | #ifdef _WIN32 |
be6e909c | 16 | // for MINGW32 environments |
71aa1ff8 | 17 | #ifndef _USE_32BIT_TIME_T |
18 | #define _USE_32BIT_TIME_T 1 | |
19 | #endif | |
b403c300 | 20 | #include <time.h> |
21 | #include <windows.h> | |
22 | #else | |
23 | #include <sys/time.h> | |
24 | #endif | |
25 | ||
ce161f56 | 26 | #define __STDC_FORMAT_MACROS 1 |
125a98a1 | 27 | #include <inttypes.h> |
b403c300 | 28 | #include "usb_cmd.h" |
29 | ||
f38a1528 | 30 | #define PROXPROMPT "pm3 --> " |
6658905f | 31 | |
902cb3c0 | 32 | void SendCommand(UsbCommand *c); |
1b6cc974 | 33 | const char *get_my_executable_path(void); |
34 | const char *get_my_executable_directory(void); | |
b804b9cd | 35 | |
9c624f67 | 36 | #endif |