X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Common%2Frt%20api%2FBaseRTReader.h;h=a9923cf325683b768da4bf056a3e8f63fbce57aa;hb=86bbf0fd5ba4e07d3279b4179fd8fc808198eaae;hp=67f251d1a473f86f3d8ef4caa3824d20b814527f;hpb=08366be03fa6160b831222667a0c7f6df831f0d8;p=freerainbowtables diff --git a/Common/rt api/BaseRTReader.h b/Common/rt api/BaseRTReader.h index 67f251d..a9923cf 100644 --- a/Common/rt api/BaseRTReader.h +++ b/Common/rt api/BaseRTReader.h @@ -1,18 +1,44 @@ +/* + * freerainbowtables is a project for generating, distributing, and using + * perfect rainbow tables + * + * Copyright 2010 Martin Westergaard Jørgensen + * Copyright 2010 Daniël Niggebrugge + * Copyright 2010 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 + +#if defined(_WIN32) && !defined(__GNUC__) #include #endif + using namespace std; class BaseRTReader { public: - virtual int ReadChains(unsigned int &numChains, RainbowChain *pData) = 0; - virtual unsigned int GetChainsLeft() = 0; + virtual int ReadChains(UINT4 &numChains, RainbowChain *pData) = 0; + virtual UINT4 GetChainsLeft() = 0; virtual ~BaseRTReader() { }; };