svn_commit_callback2_t

Type Alias svn_commit_callback2_t 

Source
pub type svn_commit_callback2_t = Option<unsafe extern "C" fn(commit_info: *const svn_commit_info_t, baton: *mut c_void, pool: *mut apr_pool_t) -> *mut svn_error_t>;
Expand description

Callback function type for commits.

When a commit succeeds, an instance of this is invoked with the @a commit_info, along with the @a baton closure. @a pool can be used for temporary allocations.

@note Implementers of this callback that pass this callback to svn_ra_get_commit_editor3() should be careful with returning errors as these might be returned as commit errors. See the documentation of svn_ra_get_commit_editor3() for more details.

@since New in 1.4.

Aliased Type§

pub enum svn_commit_callback2_t {
    None,
    Some(unsafe extern "C" fn(*const svn_commit_info_t, *mut c_void, *mut apr_pool_t) -> *mut svn_error_t),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(*const svn_commit_info_t, *mut c_void, *mut apr_pool_t) -> *mut svn_error_t)

Some value of type T.