Skip to main content

svn_subst_translate_cstring2

Function svn_subst_translate_cstring2 

Source
pub unsafe extern "C" fn svn_subst_translate_cstring2(
    src: *const c_char,
    dst: *mut *const c_char,
    eol_str: *const c_char,
    repair: svn_boolean_t,
    keywords: *mut apr_hash_t,
    expand: svn_boolean_t,
    pool: *mut apr_pool_t,
) -> *mut svn_error_t
Expand description

Set @a *dst to a copy of the string @a src, possibly performing line ending and keyword translations.

This is a variant of svn_subst_translate_stream3() that operates on cstrings. @see svn_subst_stream_translated() for details of the translation and of @a eol_str, @a repair, @a keywords and @a expand.

If @a eol_str and @a keywords are @c NULL, behavior is just a byte-for-byte copy.

Allocate @a *dst in @a pool.

@since New in 1.3.