]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
CHG: removed a delay in readblock
[proxmark3-svn] / client / util.h
index de1fa095d03f5301dd37ee5eadea58e315c3cfa2..b158ec0aa6c02b4647cc31ca8221a05564fbd76d 100644 (file)
 #include <string.h>
 #include <ctype.h>
 #include <math.h>              // math.pow
+#include <time.h>       // time, gmtime
 #include "proxmark3.h" // time_t
 #include "data.h"              // for FILE_PATH_SIZE
 
+#include <time.h>
 // Handle platform specific includes
 #ifndef _WIN32
   #include <termios.h>
@@ -24,7 +26,6 @@
   #include <sys/time.h>
 #else
   #include <conio.h>
-  #include <time.h>
   #include <windows.h>
 #endif
 
@@ -104,6 +105,7 @@ char *sprint_hex(const uint8_t * data, const size_t len);
 char *sprint_bin(const uint8_t * data, const size_t len);
 char *sprint_bin_break(const uint8_t *data, const size_t len, const uint8_t breaks);
 char *sprint_hex_ascii(const uint8_t *data, const size_t len);
+char *sprint_ascii(const uint8_t *data, const size_t len);
 
 void num_to_bytes(uint64_t n, size_t len, uint8_t* dest);
 uint64_t bytes_to_num(uint8_t* src, size_t len);
Impressum, Datenschutz