]>
Commit | Line | Data |
---|---|---|
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 | #ifndef _USE_32BIT_TIME_T | |
19 | #define _USE_32BIT_TIME_T 1 | |
20 | #endif | |
21 | #include <time.h> | |
22 | #include <windows.h> | |
23 | #else | |
24 | #include <sys/time.h> | |
25 | #endif | |
26 | ||
27 | #define __STDC_FORMAT_MACROS 1 | |
28 | #include <inttypes.h> | |
29 | #include "usb_cmd.h" | |
30 | ||
31 | #define lu PRIu32 | |
32 | #define lx PRIx32 | |
33 | #define llx PRIx64 | |
34 | #define lli PRIi64 | |
35 | #define llu PRIu64 | |
36 | #define hhu PRIu8 | |
37 | #define PROXPROMPT "pm3 --> " | |
38 | ||
39 | void SendCommand(UsbCommand *c); | |
40 | ||
41 | #endif |