X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Client%20Applications%2Frcracki_mt%2FBaseRTReader.h;h=01073a578f095e93532de9373b7f0f7e7abba682;hb=786ea114f61629ef4e4bfb63e1fd7c9c0b1654ef;hp=4dbaf86064634d7e7eb331350bcc451041a1f22b;hpb=1f5948bf50f1eafad5ab3a4737f6eb3e492999e8;p=freerainbowtables diff --git a/Client Applications/rcracki_mt/BaseRTReader.h b/Client Applications/rcracki_mt/BaseRTReader.h index 4dbaf86..01073a5 100644 --- a/Client Applications/rcracki_mt/BaseRTReader.h +++ b/Client Applications/rcracki_mt/BaseRTReader.h @@ -1,19 +1,46 @@ +/* + * rcracki_mt is a multithreaded implementation and fork of the original + * RainbowCrack + * + * Copyright 2010 Martin Westergaard Jørgensen + * Copyright 2010 Daniël Niggebrugge + * Copyright 2010, 2011 James Nobis + * + * This file is part of rcracki_mt. + * + * rcracki_mt is free software: you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation, either version 2 of the License, or + * (at your option) any later version. + * + * rcracki_mt is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with rcracki_mt. If not, see . + */ + #ifndef __BASERTREADER_H__ #define __BASERTREADER_H__ #include "Public.h" #include -#ifdef WIN32 -#include + +#if defined(_WIN32) && !defined(__GNUC__) + #include #endif + using namespace std; class BaseRTReader { public: - virtual int ReadChains(unsigned int &numChains, RainbowChainO *pData) = 0; - virtual unsigned int GetChainsLeft() = 0; + virtual int ReadChains(uint32 &numChains, RainbowChainO *pData) = 0; + virtual uint32 GetChainsLeft() = 0; + virtual ~BaseRTReader() { }; }; #endif