]> git.zerfleddert.de Git - proxmark3-svn/blob - client/proxmark3.h
chg: @piwi's code cleanup and some more.
[proxmark3-svn] / client / proxmark3.h
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 /*
31 #define lu PRIu32
32 #define lx PRIx32
33 */
34 #define PROXPROMPT "pm3 --> "
35
36 void SendCommand(UsbCommand *c);
37 #endif
Impressum, Datenschutz