]> git.proxmox.com Git - libgit2.git/blob - src/fetch.h
Merge pull request #3116 from libgit2/cmn/remove-ssh-embed
[libgit2.git] / src / fetch.h
1 /*
2 * Copyright (C) the libgit2 contributors. All rights reserved.
3 *
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
6 */
7 #ifndef INCLUDE_fetch_h__
8 #define INCLUDE_fetch_h__
9
10 #include "netops.h"
11
12 int git_fetch_negotiate(git_remote *remote, const git_fetch_options *opts);
13
14 int git_fetch_download_pack(git_remote *remote, const git_remote_callbacks *callbacks);
15
16 int git_fetch__download_pack(
17 git_transport *t,
18 git_repository *repo,
19 git_transfer_progress *stats,
20 git_transfer_progress_cb progress_cb,
21 void *progress_payload);
22
23 int git_fetch_setup_walk(git_revwalk **out, git_repository *repo);
24
25 #endif