ddwaf_config

Type Alias ddwaf_config 

Source
pub type ddwaf_config = _ddwaf_config;
Expand description

@struct ddwaf_config

Configuration to be provided to the WAF

Aliased Type§

#[repr(C)]
pub struct ddwaf_config { pub limits: _ddwaf_config__ddwaf_config_limits, pub obfuscator: _ddwaf_config__ddwaf_config_obfuscator, pub free_fn: Option<unsafe extern "C" fn(*mut _ddwaf_object)>, }

Fields§

§limits: _ddwaf_config__ddwaf_config_limits§obfuscator: _ddwaf_config__ddwaf_config_obfuscator§free_fn: Option<unsafe extern "C" fn(*mut _ddwaf_object)>

Function to free the ddwaf::object provided to the context during calls to ddwaf_run. If the value of this function is NULL, the objects will not be freed. The default value should be ddwaf_object_free.