diff options
author | Jacques Germishuys <jacquesg@striata.com> | 2014-04-21 11:23:29 +0200 |
---|---|---|
committer | Jacques Germishuys <jacquesg@striata.com> | 2014-04-21 11:28:49 +0200 |
commit | 48e60ae75e78bc58aeb3c7ecf6be4653152182f4 (patch) | |
tree | 87c8911d80712458e49565c9250aa5e84e085060 /include/git2/remote.h | |
parent | 98020d3a73743d79c6acd380339b1d743205a86b (diff) | |
download | libgit2-48e60ae75e78bc58aeb3c7ecf6be4653152182f4.tar.gz |
Don't redefine the same callback types, their signatures may change
Diffstat (limited to 'include/git2/remote.h')
-rw-r--r-- | include/git2/remote.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 06fc8e90d..ebd83c05a 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -457,7 +457,7 @@ struct git_remote_callbacks { * progress side-band will be passed to this function (this is * the 'counting objects' output. */ - int (*sideband_progress)(const char *str, int len, void *data); + git_transport_message_cb sideband_progress; /** * Completion is called when different parts of the download @@ -469,14 +469,14 @@ struct git_remote_callbacks { * This will be called if the remote host requires * authentication in order to connect to it. */ - int (*credentials)(git_cred **cred, const char *url, const char *username_from_url, unsigned int allowed_types, void *data); + git_cred_acquire_cb credentials; /** * During the download of new data, this will be regularly * called with the current count of progress done by the * indexer. */ - int (*transfer_progress)(const git_transfer_progress *stats, void *data); + git_transfer_progress_cb transfer_progress; /** * Each time a reference is updated locally, this function |