pub unsafe extern "C" fn ddwaf_context_init(
handle: ddwaf_handle,
output_alloc: ddwaf_allocator,
) -> ddwaf_contextExpand description
Context object to perform matching using the provided WAF instance.
@param handle Handle of the WAF instance containing the ruleset definition. (nonnull) @param output_alloc Allocator used to serve output objects created during evaluation (nonnull)
@return Handle to the context instance.
@note The WAF instance needs to be valid for the lifetime of the context.