[][src]Function hyperscan_sys::hs_open_stream

pub unsafe extern "C" fn hs_open_stream(
    db: *const hs_database_t,
    flags: c_uint,
    stream: *mut *mut hs_stream_t
) -> hs_error_t

Open and initialise a stream.

@param db A compiled pattern database.

@param flags Flags modifying the behaviour of the stream. This parameter is provided for future use and is unused at present.

@param stream On success, a pointer to the generated @ref hs_stream_t will be returned; NULL on failure.

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