]>
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 | #ifndef PROXMARK3_H__ | |
12 | #define PROXMARK3_H__ | |
13 | ||
14 | // Handle platform specific includes | |
15 | #ifdef _WIN32 | |
16 | // for MINGW32 environments | |
17 | #ifndef _USE_32BIT_TIME_T | |
18 | #define _USE_32BIT_TIME_T 1 | |
19 | #endif | |
20 | #include <time.h> | |
21 | #include <windows.h> | |
22 | #else | |
23 | #include <sys/time.h> | |
24 | #endif | |
25 | ||
26 | #define __STDC_FORMAT_MACROS 1 | |
27 | #include <inttypes.h> | |
28 | #include "usb_cmd.h" | |
29 | ||
30 | #define PROXPROMPT "pm3 --> " | |
31 | ||
32 | void SendCommand(UsbCommand *c); | |
33 | const char *get_my_executable_path(void); | |
34 | const char *get_my_executable_directory(void); | |
35 | ||
36 | #endif |