mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2026-01-13 06:57:10 +03:00
Added ability to compile without API. See #198.
This commit is contained in:
@@ -18,10 +18,12 @@
|
||||
#include <apr_optional.h>
|
||||
|
||||
|
||||
#if (!defined(NO_MODSEC_API))
|
||||
/* Optional functions. */
|
||||
|
||||
APR_DECLARE_OPTIONAL_FN(void, modsec_register_tfn, (const char *name, void *fn));
|
||||
APR_DECLARE_OPTIONAL_FN(void, modsec_register_operator, (const char *name, void *fn_init, void *fn_exec));
|
||||
#endif
|
||||
|
||||
|
||||
/* Configuration functions. */
|
||||
|
||||
Reference in New Issue
Block a user