X-Git-Url: https://git.sesse.net/?a=blobdiff_plain;f=Client%20Applications%2Frcracki_mt%2FMemoryPool.h;h=93047481896076a59bd744da4047b74fa8307bb6;hb=57b0f6696d60ccfbc6e2da76c3fa71e6d1da9db5;hp=62ae52766014cf4bc1740ee336cb4037b2eb8c02;hpb=59bc65eea1e9a2cab6b1d51f4567cffc033fe938;p=freerainbowtables diff --git a/Client Applications/rcracki_mt/MemoryPool.h b/Client Applications/rcracki_mt/MemoryPool.h index 62ae527..9304748 100644 --- a/Client Applications/rcracki_mt/MemoryPool.h +++ b/Client Applications/rcracki_mt/MemoryPool.h @@ -1,49 +1,49 @@ -/* - * rcracki_mt is a multithreaded implementation and fork of the original - * RainbowCrack - * - * Copyright (C) Zhu Shuanglei - * Copyright Martin Westergaard Jørgensen - * Copyright 2009, 2010 Daniël Niggebrugge - * Copyright 2009, 2010 James Nobis - * Copyright 2010 uroskn - * - * 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 _MEMORYPOOL_H -#define _MEMORYPOOL_H - -#include "global.h" - -class CMemoryPool -{ -public: - CMemoryPool(unsigned int bytesSaved, bool bDebug, uint64 maxMem); - virtual ~CMemoryPool(); - -private: - bool debug; - unsigned char* m_pMem; - uint64 m_nMemSize; - - uint64 m_nMemMax; - -public: - unsigned char* Allocate(unsigned int nFileLen, uint64& nAllocatedSize); -}; - -#endif +/* + * rcracki_mt is a multithreaded implementation and fork of the original + * RainbowCrack + * + * Copyright (C) Zhu Shuanglei + * Copyright Martin Westergaard Jørgensen + * Copyright 2009, 2010 Daniël Niggebrugge + * Copyright 2009, 2010 James Nobis + * Copyright 2010 uroskn + * + * 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 _MEMORYPOOL_H +#define _MEMORYPOOL_H + +#include "global.h" + +class CMemoryPool +{ +public: + CMemoryPool(unsigned int bytesSaved, bool bDebug, uint64 maxMem); + virtual ~CMemoryPool(); + +private: + bool debug; + unsigned char* m_pMem; + uint64 m_nMemSize; + + uint64 m_nMemMax; + +public: + unsigned char* Allocate(unsigned int nFileLen, uint64& nAllocatedSize); +}; + +#endif