Places the classes related to audit log into a separate namespace

This commit is contained in:
Felipe Zimmerle
2016-01-14 14:25:33 -03:00
parent 2830525f89
commit b06eaadac7
14 changed files with 97 additions and 74 deletions

View File

@@ -16,9 +16,9 @@
#include "parser/driver.h"
#include "parser/seclang-parser.hh"
#include "src/audit_log.h"
#include "audit_log/audit_log.h"
using modsecurity::AuditLog;
using modsecurity::audit_log::AuditLog;
using modsecurity::Rule;
namespace modsecurity {
@@ -27,7 +27,7 @@ namespace Parser {
Driver::Driver()
: trace_scanning(false),
trace_parsing(false) {
audit_log = new AuditLog();
audit_log = new audit_log::AuditLog();
audit_log->refCountIncrease();
}