Skip to main content

ddwaf_object_get_string

Function ddwaf_object_get_string 

Source
pub unsafe extern "C" fn ddwaf_object_get_string(
    object: *const ddwaf_object,
    length: *mut usize,
) -> *const c_char
Expand description

Returns the string contained within the object.

@param object The object from which to get the string. @param length Output parameter on which to return the length of the string, this parameter is optional / nullable.

@return The string of the object or NULL if the object is not a string.