]>
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 | |
b403c300 | 15 | // Handle platform specific includes |
a877bc2f | 16 | #ifdef _WIN32 |
be6e909c | 17 | // for MINGW32 environments |
71aa1ff8 | 18 | #ifndef _USE_32BIT_TIME_T |
19 | #define _USE_32BIT_TIME_T 1 | |
20 | #endif | |
b403c300 | 21 | #include <time.h> |
22 | #include <windows.h> | |
23 | #else | |
24 | #include <sys/time.h> | |
25 | #endif | |
26 | ||
ce161f56 | 27 | #define __STDC_FORMAT_MACROS 1 |
125a98a1 | 28 | #include <inttypes.h> |
b403c300 | 29 | #include "usb_cmd.h" |
30 | ||
31 | #define lu PRIu32 | |
90639dd1 | 32 | #define lx PRIx32 |
125a98a1 | 33 | #define llx PRIx64 |
1a07fd51 | 34 | #define lli PRIi64 |
ce161f56 | 35 | #define llu PRIu64 |
1a07fd51 | 36 | #define hhu PRIu8 |
f38a1528 | 37 | #define PROXPROMPT "pm3 --> " |
6658905f | 38 | |
902cb3c0 | 39 | void SendCommand(UsbCommand *c); |
40 | ||
4cd41f34 | 41 | #endif |