git_remote_init_callbacks

Initializes a git_remote_callbacks with default values. Equivalent to creating an instance with GIT_REMOTE_CALLBACKS_INIT.

extern (C) nothrow @nogc
int
git_remote_init_callbacks

Parameters

opts .git_remote_callbacks*

the git_remote_callbacks struct to initialize

version_ uint

Version of struct; pass GIT_REMOTE_CALLBACKS_VERSION

Return Value

Type: int

Zero on success; -1 on failure.

Meta