]> git.proxmox.com Git - libgit2.git/blobdiff - include/git2/sys/transport.h
New upstream version 1.1.0+dfsg.1
[libgit2.git] / include / git2 / sys / transport.h
index 2a2f3c19a2b134abb5011f5fb1b99f96e710e5d2..6cee42f545e15902858663e17b41b78470d06626 100644 (file)
@@ -55,7 +55,7 @@ struct git_transport {
        int GIT_CALLBACK(connect)(
                git_transport *transport,
                const char *url,
-               git_cred_acquire_cb cred_acquire_cb,
+               git_credential_acquire_cb cred_acquire_cb,
                void *cred_acquire_payload,
                const git_proxy_options *proxy_opts,
                int direction,
@@ -98,8 +98,8 @@ struct git_transport {
        int GIT_CALLBACK(download_pack)(
                git_transport *transport,
                git_repository *repo,
-               git_transfer_progress *stats,
-               git_transfer_progress_cb progress_cb,
+               git_indexer_progress *stats,
+               git_indexer_progress_cb progress_cb,
                void *progress_payload);
 
        /** Checks to see if the transport is connected */
@@ -266,7 +266,7 @@ GIT_EXTERN(int) git_transport_smart_certificate_check(git_transport *transport,
  *         refused to provide credentials and callers should behave as if no
  *         callback was set), or < 0 for an error
  */
-GIT_EXTERN(int) git_transport_smart_credentials(git_cred **out, git_transport *transport, const char *user, int methods);
+GIT_EXTERN(int) git_transport_smart_credentials(git_credential **out, git_transport *transport, const char *user, int methods);
 
 /**
  * Get a copy of the proxy options