X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;ds=sidebyside;f=Common%2Frt%20api%2FBaseRTReader.h;h=e06e94a3ffdb7a30374e47e4a599c3e91fa73e9a;hb=47c71901e7a97c226c8f1df749e3606d43656f32;hp=5054d8fb2088d19957fbf17c2d9ac1232eb98ef0;hpb=3d42602c1f746b5768f0e6c9d22884a9806eadc0;p=freerainbowtables diff --git a/Common/rt api/BaseRTReader.h b/Common/rt api/BaseRTReader.h index 5054d8f..e06e94a 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, 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 + +#if defined(_WIN32) && !defined(__GNUC__) #include #endif + using namespace std; class BaseRTReader { public: - virtual int ReadChains(UINT4 &numChains, RainbowChain *pData) = 0; - virtual UINT4 GetChainsLeft() = 0; + virtual int ReadChains(uint32 &numChains, RainbowChain *pData) = 0; + virtual uint32 GetChainsLeft() = 0; virtual ~BaseRTReader() { }; };