ddwaf_context_init

Function ddwaf_context_init 

Source
pub unsafe extern "C" fn ddwaf_context_init(
    handle: ddwaf_handle,
) -> ddwaf_context
Expand description

ddwaf_context_init

Context object to perform matching using the provided WAF instance.

@param handle Handle of the WAF instance containing the ruleset definition. (nonnull)

@return Handle to the context instance.

@note The WAF instance needs to be valid for the lifetime of the context.