LogDoctor/docs/html/namespaceCheckSec.html

9.7 KiB

<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US"> <head> </head>
LogDoctor 3.00
Parse Apache2/Nginx/IIS logs and view dinamically generated statistics
Loading...
Searching...
No Matches
CheckSec Namespace Reference

CheckSec. More...

Functions

bool checkCollectionDatabase (const std::string &db_path)
 Checks the structure's integrity of the Collection database.
 
bool checkHashesDatabase (const std::string &db_path)
 Checks the structure's integrity of the Hashes database.
 
bool checkDatabaseFile (const std::string &db_path, const QString &db_name)
 Checks the database file.
 

Detailed Description

CheckSec.

Utilities used to check the databases

Function Documentation

◆ checkCollectionDatabase()

bool CheckSec::checkCollectionDatabase ( const std::string &  db_path)

Checks the structure's integrity of the Collection database.

Parameters
db_pathThe path of the database, file included
Returns
The result of the check
See also
checkDatabaseTablesNames(), newCollectionDatabase(), newHashesDatabase()

◆ checkDatabaseFile()

bool CheckSec::checkDatabaseFile ( const std::string &  db_path,
const QString &  db_name 
)

Checks the database file.

Parameters
db_pathPath of the database file
db_nameDatabase's name, used by the dialogs if necessary
Returns
The result of the check
See also
IOutils::exists(), IOutils::isFile(), IOutils::checkFile()

◆ checkHashesDatabase()

bool CheckSec::checkHashesDatabase ( const std::string &  db_path)

Checks the structure's integrity of the Hashes database.

Parameters
db_pathThe path of the database, file included
Returns
The result of the check
See also
checkDatabaseTablesNames(), newCollectionDatabase(), newHashesDatabase()

Generated by doxygen 1.9.8 </html>