]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.h
CHG: continue code cleanup.
[proxmark3-svn] / client / proxmark3.h
index 323480ea7e16c9bb4064ef83fc4a6c340c6bd123..d8887197efbb4bc226bf237a05ad9a597b907bc5 100644 (file)
@@ -1,6 +1,33 @@
+//-----------------------------------------------------------------------------
+// Copyright (C) 2009 Michael Gernoth <michael at gernoth.net>
+// Copyright (C) 2010 iZsh <izsh at fail0verflow.com>
+//
+// This code is licensed to you under the terms of the GNU GPL, version 2 or,
+// at your option, any later version. See the LICENSE.txt file for the text of
+// the license.
+//-----------------------------------------------------------------------------
+// Main binary
+//-----------------------------------------------------------------------------
 #ifndef PROXMARK3_H__
 #define PROXMARK3_H__
 
-#define PROXPROMPT "proxmark3> "
-
+// Handle platform specific includes
+#ifdef _WIN32
+// for MINGW32 environments
+  #ifndef _USE_32BIT_TIME_T
+    #define _USE_32BIT_TIME_T 1
+  #endif  
+  #include <time.h>
+  #include <windows.h>
+#else
+  #include <sys/time.h>
 #endif
+
+#define __STDC_FORMAT_MACROS 1
+#include <inttypes.h>
+#include "usb_cmd.h"
+
+#define PROXPROMPT "pm3 --> "
+
+void SendCommand(UsbCommand *c);
+#endif
\ No newline at end of file
Impressum, Datenschutz