Skip to main content

svn_stream_set_read2

Function svn_stream_set_read2 

Source
pub unsafe extern "C" fn svn_stream_set_read2(
    stream: *mut svn_stream_t,
    read_fn: svn_read_fn_t,
    read_full_fn: svn_read_fn_t,
)
Expand description

Set @a stream’s read functions to @a read_fn and @a read_full_fn. If @a read_full_fn is NULL a default implementation based on multiple calls to @a read_fn will be used.

@since New in 1.9.