* Copyright (C) Zhu Shuanglei <shuanglei@hotmail.com>\r
* Copyright Martin Westergaard Jørgensen <martinwj2005@gmail.com>\r
* Copyright 2009, 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>\r
- * Copyright 2009, 2010 James Nobis <frt@quelrod.net>\r
+ * Copyright 2009, 2010, 2011 James Nobis <frt@quelrod.net>\r
*\r
- * This file is part of racrcki_mt.\r
+ * This file is part of rcracki_mt.\r
*\r
* rcracki_mt is free software: you can redistribute it and/or modify\r
* it under the terms of the GNU General Public License as published by\r
string sPrecalcPathName;\r
int preCalcPart;\r
vector<string> vPrecalcFiles;\r
+ map<string, pair<int, unsigned long int> > mPrecalcIndex; // key -> (file number, file offset)\r
\r
private:\r
void DiscardAll();\r
bool FindInFile(uint64* pIndexE, unsigned char* pHash, int nHashLen);\r
- string CheckOrRotatePreCalcFile();\r
+ int CheckOrRotatePreCalcFile();\r
void updateUsedPrecalcFiles();\r
\r
public:\r