]>
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 |
b403c300 | 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 | ||
ce161f56 | 25 | #define __STDC_FORMAT_MACROS 1 |
125a98a1 | 26 | #include <inttypes.h> |
b403c300 | 27 | #include "usb_cmd.h" |
28 | ||
29 | #define lu PRIu32 | |
90639dd1 | 30 | #define lx PRIx32 |
125a98a1 | 31 | #define llx PRIx64 |
1a07fd51 | 32 | #define lli PRIi64 |
ce161f56 | 33 | #define llu PRIu64 |
1a07fd51 | 34 | #define hhu PRIu8 |
f38a1528 | 35 | #define PROXPROMPT "pm3 --> " |
6658905f | 36 | |
902cb3c0 | 37 | void SendCommand(UsbCommand *c); |
38 | ||
4cd41f34 | 39 | #endif |