Adds first version of `processContentOffset'

This commit also includes an example application on how to use the
`processContentOffset' method.
This commit is contained in:
Felipe Zimmerle
2017-02-15 18:18:10 -03:00
committed by Felipe Zimmerle
parent 7aae5dc183
commit 027d50b76b
11 changed files with 325 additions and 95 deletions

View File

@@ -221,6 +221,9 @@ class ModSecurity {
void serverLog(void *data, const std::string& msg);
const std::string& getConnectorInformation();
int processContentOffset(const char *content, size_t len,
const char *matchString, std::string *json, const char **err);
collection::Collection *m_global_collection;
collection::Collection *m_resource_collection;
collection::Collection *m_ip_collection;