Logo Search packages:      
Sourcecode: havp version File versions  Download package

clamlibscanner.h

/***************************************************************************
                          clamlibscanner.h  -  description
                             -------------------
    begin                : Sa Feb 12 2005
    copyright            : (C) 2005 by Christian Hilgers
    email                : christian@hilgers.ag
 ***************************************************************************/

/***************************************************************************
 *                                                                         *
 *   This program 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.                                   *
 *                                                                         *
 ***************************************************************************/

#ifndef CLAMLIBSCANNER_H
#define CLAMLIBSCANNER_H

#include <clamav.h>

#include "scannerfilehandler.h"


class ClamLibScanner : public ScannerFileHandler  {

private:

struct cl_node *root;
struct cl_limits limits;
struct cl_stat dbstat;

public:

bool InitDatabase();

bool ReloadDatabase();

bool InitSelfEngine();

//PSEstart
bool FreeDatabase();
//PSEend

int ScanningComplete();

int Scanning( );

      ClamLibScanner();
      ~ClamLibScanner();
};

#endif

Generated by  Doxygen 1.6.0   Back to index