ddwaf_builder_remove_config

Function ddwaf_builder_remove_config 

Source
pub unsafe extern "C" fn ddwaf_builder_remove_config(
    builder: ddwaf_builder,
    path: *const c_char,
    path_len: u32,
) -> bool
Expand description

ddwaf_builder_remove_config

Removes a configuration based on the provided path.

@param builder Builder to perform the operation on. (nonnull) @param path A string containing the path of the configuration to be removed. (nonnull) @param path_len The length of the string contained within path.

@return Whether the operation succeeded (true) or failed (false).

@note The memory associated with the path must be freed by the caller. @note This function is not thread-safe.