]> git.zerfleddert.de Git - proxmark3-svn/blobdiff - client/util.h
added SoloKey certificate (#778)
[proxmark3-svn] / client / util.h
index 1867519efbd3b5c6a16a17682f0fe62597a9863c..29dd7d5c83a202467112b909b6c451e4e0b28732 100644 (file)
 #endif
 
 extern int ukbhit(void);
+#ifndef _WIN32
+extern char getch(void);
+#else
+#include <conio.h>
+#endif
 
 extern void AddLogLine(char *fileName, char *extData, char *c);
 extern void AddLogHex(char *fileName, char *extData, const uint8_t * data, const size_t len);
@@ -86,6 +91,7 @@ extern void FillFileNameByUID(char *fileName, uint8_t * uid, char *ext, int byte
 // fill buffer from structure [{uint8_t data, size_t length},...]
 extern int FillBuffer(uint8_t *data, size_t maxDataLength, size_t *dataLength, ...);
 
+extern bool CheckStringIsHEXValue(const char *value);
 extern void hex_to_buffer(const uint8_t *buf, const uint8_t *hex_data, const size_t hex_len, 
        const size_t hex_max_len, const size_t min_str_len, const size_t spaces_between, bool uppercase);
 
Impressum, Datenschutz