ddwaf_builder_init

Function ddwaf_builder_init 

Source
pub unsafe extern "C" fn ddwaf_builder_init(
    config: *const ddwaf_config,
) -> ddwaf_builder
Expand description

ddwaf_builder_init

Initialize an instace of the waf builder.

@param config Optional configuration of the WAF. (nullable)

@return Handle to the builer instance or NULL on error.

@note If config is NULL, default values will be used, including the default free function (ddwaf_object_free).