]> git.sesse.net Git - freerainbowtables/blobdiff - Client Applications/rcracki_mt/Public.h
Modify ChainWalkSet::FindInFile() to keep the precalc index in memory instead of...
[freerainbowtables] / Client Applications / rcracki_mt / Public.h
index 050884242c1b2799be8789b9b109d146a679e5ff..df741b21b4f4322f00a0140d0dea85bb6b357ff1 100644 (file)
 #include <stdlib.h>\r
 #include <string.h>\r
 \r
+#include <algorithm>\r
 #include <string>\r
 #include <vector>\r
 #include <list>\r
+#include <map>\r
+#include <utility>\r
 \r
 #include "global.h"\r
 \r
 using namespace std;\r
 \r
-\r
 struct RainbowChainO\r
 {\r
        uint64 nIndexS;\r
@@ -114,9 +116,7 @@ void tty_flush(void);
 \r
 #if defined(_WIN32) && !defined(__GNUC__)\r
        int gettimeofday( struct timeval *tv, struct timezone *tz );\r
-#endif\r
-\r
-#if !defined(_WIN32) || defined(__GNUC__)\r
+#else\r
        #include <sys/time.h>\r
 #endif\r
 \r
@@ -126,7 +126,7 @@ long GetFileLen(FILE* file);
 string TrimString(string s);\r
 bool boinc_ReadLinesFromFile(string sPathName, vector<string>& vLine);\r
 bool ReadLinesFromFile(string sPathName, vector<string>& vLine);\r
-bool SeperateString(string s, string sSeperator, vector<string>& vPart);\r
+bool SeparateString(string s, string sSeperator, vector<string>& vPart);\r
 string uint64tostr(uint64 n);\r
 string uint64tohexstr(uint64 n);\r
 string HexToStr(const unsigned char* pData, int nLen);\r