pub unsafe extern "C" fn hs_stream_size(
    database: *const hs_database_t,
    stream_size: *mut usize
) -> hs_error_t
Expand description

Provides the size of the stream state allocated by a single stream opened against the given database.

@param database Pointer to a compiled (streaming mode) pattern database.

@param stream_size On success, the size in bytes of an individual stream opened against the given database is placed in this parameter.

@return @ref HS_SUCCESS on success, other values on failure.