svn_stream_mark

Function svn_stream_mark 

Source
pub unsafe extern "C" fn svn_stream_mark(
    stream: *mut svn_stream_t,
    mark: *mut *mut svn_stream_mark_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Set a @a mark at the current position of a generic @a stream, which can later be sought back to using svn_stream_seek(). The @a mark is allocated in @a pool.

This function returns the #SVN_ERR_STREAM_SEEK_NOT_SUPPORTED error if the stream doesn’t implement seeking.

@see svn_stream_seek() @since New in 1.7.