svn_opt_subcommand_t

Type Alias svn_opt_subcommand_t 

Source
pub type svn_opt_subcommand_t = Option<unsafe extern "C" fn(os: *mut apr_getopt_t, baton: *mut c_void, pool: *mut apr_pool_t) -> *mut svn_error_t>;
Expand description

All subcommand procedures in Subversion conform to this prototype.

@a os is the apr option state after getopt processing has been run; in other words, it still contains the non-option arguments following the subcommand. See @a os->argv and @a os->ind.

@a baton is anything you need it to be.

@a pool is used for allocating errors, and for any other allocation unless the instance is explicitly documented to allocate from a pool in @a baton.

Aliased Type§

pub enum svn_opt_subcommand_t {
    None,
    Some(unsafe extern "C" fn(*mut apr_getopt_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(*mut apr_getopt_t, *mut c_void, *mut apr_pool_t) -> *mut svn_error_t)

Some value of type T.