]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/proxmark3.h
fix WaitForResponse (without timeout)
[proxmark3-svn] / client / proxmark3.h
index eebaa49515d89f18f7020bb433b4eb26527b2a36..86d09bc00e875bfd125d59e21054b0c1ad56f0ac 100644 (file)
 #ifndef PROXMARK3_H__
 #define PROXMARK3_H__
 
 #ifndef PROXMARK3_H__
 #define PROXMARK3_H__
 
-#define __STDC_FORMAT_MACROS
-#include <inttypes.h>
-#define llx PRIx64
-#define lli PRIi64
-#define hhu PRIu8
-
-#include <usb.h>
 #include "usb_cmd.h"
 
 #define PROXPROMPT "proxmark3> "
 
 #include "usb_cmd.h"
 
 #define PROXPROMPT "proxmark3> "
 
-void SendCommand(UsbCommand *c);
+#ifdef __cplusplus
+extern "C" {
+#endif
+
+const char *get_my_executable_path(void);
+const char *get_my_executable_directory(void);
+void main_loop(char *script_cmds_file, char *script_cmd, bool usb_present);
+
+#ifdef __cplusplus
+}
+#endif
 
 #endif
 
 #endif
Impressum, Datenschutz