X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Common%2Frt%20api%2FBaseRTReader.h;h=e06e94a3ffdb7a30374e47e4a599c3e91fa73e9a;hb=47c71901e7a97c226c8f1df749e3606d43656f32;hp=b94114f8e432287ea9ab8dfe303dea0002693f19;hpb=bcfd4a8e2d07b3a0fce0bc8e471d8562b142b7e0;p=freerainbowtables diff --git a/Common/rt api/BaseRTReader.h b/Common/rt api/BaseRTReader.h index b94114f..e06e94a 100644 --- a/Common/rt api/BaseRTReader.h +++ b/Common/rt api/BaseRTReader.h @@ -1,19 +1,46 @@ +/* + * freerainbowtables is a project for generating, distributing, and using + * perfect rainbow tables + * + * Copyright 2010, 2011 Martin Westergaard Jørgensen + * Copyright 2010 Daniël Niggebrugge + * Copyright 2010, 2011 James Nobis + * + * This file is part of freerainbowtables. + * + * freerainbowtables 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. + * + * freerainbowtables 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 freerainbowtables. 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, RainbowChainCP *pData) = 0; - virtual unsigned int GetChainsLeft() = 0; + virtual int ReadChains(uint32 &numChains, RainbowChain *pData) = 0; + virtual uint32 GetChainsLeft() = 0; + virtual ~BaseRTReader() { }; }; #endif