Module: Rodsec::Wrapper
- Extended by:
- Fiddle::Importer
- Defined in:
- lib/rodsec/wrapper.rb
Defined Under Namespace
Classes: ModSecurityIntervention
Constant Summary collapse
- REQUIRED_MODSECURITY_VERSION =
required library version - RubyGems style
'~> 3.0.2'- ModSecurityIntervention_t =
from modsecurity/intervention.h typedef struct ModSecurityIntervention_t
int status; int pause; char *url; char *log; int disruptive;ModSecurityIntervention;
struct ['int status', 'int pause', 'char *url', 'char *log', 'int disruptive']
Class Method Summary collapse
-
.free_fn_ptr ⇒ Object
This isn’t used.
Class Method Details
.free_fn_ptr ⇒ Object
This isn’t used. But ah kept it cos it’s purty.
121 122 123 |
# File 'lib/rodsec/wrapper.rb', line 121 def self.free_fn_ptr @free_fn_ptr ||= Fiddle::Function.new Fiddle::RUBY_FREE, [Fiddle::TYPE_VOIDP], Fiddle::TYPE_VOID end |