svn_opt_get_option_from_code3

Function svn_opt_get_option_from_code3 

Source
pub unsafe extern "C" fn svn_opt_get_option_from_code3(
    code: c_int,
    option_table: *const apr_getopt_option_t,
    command: *const svn_opt_subcommand_desc3_t,
    pool: *mut apr_pool_t,
) -> *const apr_getopt_option_t
Expand description

Return pointer to an @c apr_getopt_option_t for the option whose option code is @a code, or @c NULL if no match. @a option_table must end with an element whose every field is zero. If @a command is non-NULL, then return the subcommand-specific option description instead of the generic one, if a specific description is defined.

The returned value may be statically allocated, or allocated in @a pool.

@since New in 1.11.