| 1 | //----------------------------------------------------------------------------- |
| 2 | // Copyright (C) 2009 Michael Gernoth <michael at gernoth.net> |
| 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 | |
| 12 | #ifndef PROXMARK3_H__ |
| 13 | #define PROXMARK3_H__ |
| 14 | |
| 15 | // Handle platform specific includes |
| 16 | #ifdef _WIN32 |
| 17 | // for MINGW32 environments |
| 18 | #define _USE_32BIT_TIME_T 1 |
| 19 | #include <time.h> |
| 20 | #include <windows.h> |
| 21 | #else |
| 22 | #include <sys/time.h> |
| 23 | #endif |
| 24 | |
| 25 | #define __STDC_FORMAT_MACROS 1 |
| 26 | #include <inttypes.h> |
| 27 | #include "usb_cmd.h" |
| 28 | |
| 29 | #define lu PRIu32 |
| 30 | #define lx PRIx32 |
| 31 | #define llx PRIx64 |
| 32 | #define lli PRIi64 |
| 33 | #define llu PRIu64 |
| 34 | #define hhu PRIu8 |
| 35 | #define PROXPROMPT "pm3 --> " |
| 36 | |
| 37 | void SendCommand(UsbCommand *c); |
| 38 | |
| 39 | #endif |