18 KiB
18 KiB
<html xmlns="http://www.w3.org/1999/xhtml" lang="en-US">
<head>
</head>
The documentation for this class was generated from the following files:
Generated by 1.9.5 </html>
LogDoctor 2.00
Parse Apache2/Nginx/IIS logs and create statistics
|
Loading...
Searching...
No Matches
CheckSec Class Reference
#include <checks.h>
Static Public Member Functions | |
static bool | checkCollectionDatabase (const std::string &db_path) |
Checks the structure's integrity of the Collection database. More... | |
static bool | checkHashesDatabase (const std::string &db_path) |
Checks the structure's integrity of the Hashes database. More... | |
Static Private Member Functions | |
static int | checkDatabaseTablesNames (QSqlDatabase &db, const QString &db_name) |
Checks the tables' names integrity. More... | |
static bool | newCollectionDatabase (QSqlDatabase &db, const QString &db_name, const std::vector< QString > &ws_names) |
Builds a new database for the logs Collection. More... | |
static bool | newHashesDatabase (QSqlDatabase &db, const QString &db_name, const std::vector< QString > &ws_names) |
Builds a new database for the used log files' Hashes. More... | |
Detailed Description
Utilities used to check the databases
Member Function Documentation
◆ checkCollectionDatabase()
|
static |
Checks the structure's integrity of the Collection database.
- Parameters
-
db_path The path of the database, file included
- Returns
- The result of the check
◆ checkDatabaseTablesNames()
|
staticprivate |
Checks the tables' names integrity.
- Parameters
-
db Database object, already initialized db_name Database's name, eventually used by the dialogs
- Returns
- The result of the check: 0 if failed with an error, 1 if all the integrity checks passed, 2 if a rebuild is needed
◆ checkHashesDatabase()
|
static |
Checks the structure's integrity of the Hashes database.
- Parameters
-
db_path The path of the database, file included
- Returns
- The result of the check
◆ newCollectionDatabase()
|
staticprivate |
Builds a new database for the logs Collection.
- Parameters
-
db Database object, already initialized db_name Database's name, eventually used by the dialogs
- Returns
- The result of the operation
◆ newHashesDatabase()
|
staticprivate |
Builds a new database for the used log files' Hashes.
- Parameters
-
db Database object, already initialized db_name Database's name, eventually used by the dialogs
- Returns
- The result of the operation
The documentation for this class was generated from the following files:
- logdoctor/utilities/checks.h
- logdoctor/utilities/checks.cpp
Generated by 1.9.5 </html>