libgit2

git_remote_set_callbacks

Version:

Set the callbacks for a remote

Note that the remote keeps its own copy of the data and you need to call this function again if you want to change the callbacks.

Signature

int git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks);

Parameters

In
remote

the remote to configure

In
callbacks

a pointer to the user's callback settings

Returns

int

0 or an error code

Versions