summaryrefslogtreecommitdiff
path: root/include/git2/remote.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2012-11-29 20:01:24 -0800
committerBen Straub <bs@github.com>2012-11-30 13:12:15 -0800
commit9267ff586f29deb99f41ab6eeb0599917ddd0cec (patch)
tree1626640207165137242ab55ca655e77caf98883f /include/git2/remote.h
parent55f6f21b7dd5a177e2cc60c1054b438c05ed8f14 (diff)
downloadlibgit2-9267ff586f29deb99f41ab6eeb0599917ddd0cec.tar.gz
Deploy GIT_REMOTE_CALLBACKS_INIT
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r--include/git2/remote.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h
index e5b60b951..3e22004a1 100644
--- a/include/git2/remote.h
+++ b/include/git2/remote.h
@@ -356,8 +356,9 @@ struct git_remote_callbacks {
*
* @param remote the remote to configure
* @param callbacks a pointer to the user's callback settings
+ * @return 0 or an error code
*/
-GIT_EXTERN(void) git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks);
+GIT_EXTERN(int) git_remote_set_callbacks(git_remote *remote, git_remote_callbacks *callbacks);
/**
* Get the statistics structure that is filled in by the fetch operation.