X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Client%20Applications%2Frcracki_mt%2FPublic.h;h=08943d4b836228c417201e3c802c7b07f52e932f;hb=47c71901e7a97c226c8f1df749e3606d43656f32;hp=27d4dcda5a99703a651412695d4cb4d9c4847371;hpb=371055825f09b5dc2ad00e5702ef4ffe18c419b0;p=freerainbowtables diff --git a/Client Applications/rcracki_mt/Public.h b/Client Applications/rcracki_mt/Public.h index 27d4dcd..08943d4 100644 --- a/Client Applications/rcracki_mt/Public.h +++ b/Client Applications/rcracki_mt/Public.h @@ -4,7 +4,7 @@ * * Copyright (C) Zhu Shuanglei * Copyright 2009, 2010 Daniël Niggebrugge - * Copyright 2009, 2010 James Nobis + * Copyright 2009, 2010, 2011 James Nobis * * This file is part of rcracki_mt. * @@ -36,7 +36,6 @@ using namespace std; - struct RainbowChainO { uint64 nIndexS; @@ -109,26 +108,26 @@ void tty_done(); void tty_init(); void tty_flush(void); // end nmap code + #endif #if defined(_WIN32) && !defined(__GNUC__) int gettimeofday( struct timeval *tv, struct timezone *tz ); -#endif - -#if !defined(_WIN32) || defined(__GNUC__) +#else #include #endif timeval sub_timeofday( timeval tv2, timeval tv ); -unsigned int GetFileLen(FILE* file); +long GetFileLen(FILE* file); string TrimString(string s); +bool boinc_ReadLinesFromFile(string sPathName, vector& vLine); bool ReadLinesFromFile(string sPathName, vector& vLine); bool SeperateString(string s, string sSeperator, vector& vPart); string uint64tostr(uint64 n); string uint64tohexstr(uint64 n); string HexToStr(const unsigned char* pData, int nLen); -uint64 GetAvailPhysMemorySize(); +unsigned long GetAvailPhysMemorySize(); string GetApplicationPath(); void ParseHash(string sHash, unsigned char* pHash, int& nHashLen); bool GetHybridCharsets(string sCharset, vector& vCharset);