]> git.sesse.net Git - freerainbowtables/blob - Client Applications/rcracki_mt/BaseRTReader.h
01073a578f095e93532de9373b7f0f7e7abba682
[freerainbowtables] / Client Applications / rcracki_mt / BaseRTReader.h
1 /*
2  * rcracki_mt is a multithreaded implementation and fork of the original 
3  * RainbowCrack
4  *
5  * Copyright 2010 Martin Westergaard Jørgensen <martinwj2005@gmail.com>
6  * Copyright 2010 Daniël Niggebrugge <niggebrugge@fox-it.com>
7  * Copyright 2010, 2011 James Nobis <frt@quelrod.net>
8  *
9  * This file is part of rcracki_mt.
10  *
11  * rcracki_mt is free software: you can redistribute it and/or modify
12  * it under the terms of the GNU General Public License as published by
13  * the Free Software Foundation, either version 2 of the License, or
14  * (at your option) any later version.
15  *
16  * rcracki_mt is distributed in the hope that it will be useful,
17  * but WITHOUT ANY WARRANTY; without even the implied warranty of
18  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
19  * GNU General Public License for more details.
20  *
21  * You should have received a copy of the GNU General Public License
22  * along with rcracki_mt.  If not, see <http://www.gnu.org/licenses/>.
23  */
24
25 #ifndef __BASERTREADER_H__
26 #define __BASERTREADER_H__
27
28 #include "Public.h"
29 #include <string>
30
31 #if defined(_WIN32) && !defined(__GNUC__)
32         #include <io.h>
33 #endif
34
35 using namespace std;
36
37 class BaseRTReader
38 {
39 public:
40         virtual int ReadChains(uint32 &numChains, RainbowChainO *pData) = 0;
41         virtual uint32 GetChainsLeft() = 0;
42         
43         virtual ~BaseRTReader()  { };
44 };
45
46 #endif