pub unsafe extern "C" fn ddwaf_known_actions(
handle: ddwaf_handle,
size: *mut u32,
) -> *const *const c_char
Expand description
ddwaf_known_actions
Get an array of all the action types which could be triggered as a result of the current set of rules and exclusion filters.
The memory is owned by the WAF and should not be freed.
@param handle Handle to the WAF instance. @param size Output parameter in which the size will be returned. The value of size will be 0 if the return value is NULL. @return NULL if empty, otherwise a pointer to an array with size elements.
@note This function is not thread-safe @note The returned array should be considered invalid after calling ddwaf_destroy on the handle used to obtain it.