mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-09-30 11:44:32 +03:00
Changes library namespace from ModSecurity to modsecurity
This commit is contained in:
@@ -34,6 +34,7 @@
|
||||
#define HEADERS_MODSECURITY_ASSAY_H_
|
||||
|
||||
#ifndef __cplusplus
|
||||
typedef struct ModSecurity_t ModSecurity;
|
||||
typedef struct Assay_t Assay;
|
||||
typedef struct Rules_t Rules;
|
||||
#endif
|
||||
@@ -64,7 +65,7 @@ typedef struct Rules_t Rules;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
|
||||
class ModSecurity;
|
||||
class Assay;
|
||||
|
@@ -27,7 +27,7 @@ typedef struct DebugLog_t DebugLog;
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
|
||||
/** @ingroup ModSecurity_CPP_API */
|
||||
class DebugLog {
|
||||
|
@@ -17,7 +17,7 @@
|
||||
#define HEADERS_MODSECURITY_INTERVENTION_H_
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
#endif
|
||||
|
||||
typedef struct ModSecurityIntervention_t {
|
||||
|
@@ -85,7 +85,7 @@
|
||||
|
||||
|
||||
#ifndef __cplusplus
|
||||
typedef struct ModSecurity_t ModSecurity;
|
||||
typedef struct ModSecurity_t modsecurity;
|
||||
#endif
|
||||
|
||||
|
||||
@@ -123,7 +123,7 @@ typedef struct ModSecurity_t ModSecurity;
|
||||
typedef void (*LogCb) (void *, const char *);
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
|
||||
/* few forwarded declarations */
|
||||
namespace actions {
|
||||
|
@@ -34,7 +34,7 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
class Rule;
|
||||
class AuditLog;
|
||||
namespace Parser {
|
||||
|
@@ -30,7 +30,7 @@
|
||||
|
||||
#ifdef __cplusplus
|
||||
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
class Rule;
|
||||
class AuditLog;
|
||||
namespace actions {
|
||||
|
@@ -26,7 +26,7 @@ typedef struct Collection_t Collection;
|
||||
#ifdef __cplusplus
|
||||
#include <string>
|
||||
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
|
||||
class Collection : public transaction::Variables {
|
||||
public:
|
||||
|
@@ -39,7 +39,7 @@ typedef struct Variable_t Variable;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
namespace transaction {
|
||||
|
||||
class Collections :
|
||||
|
@@ -28,7 +28,7 @@ typedef struct Variable_t Variable;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
namespace transaction {
|
||||
|
||||
class Variable {
|
||||
|
@@ -33,7 +33,7 @@ typedef struct Variable_t Variables;
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
namespace ModSecurity {
|
||||
namespace modsecurity {
|
||||
namespace transaction {
|
||||
|
||||
class Variables :
|
||||
|
Reference in New Issue
Block a user