]> git.proxmox.com Git - libgit2.git/blob - src/fetch.h
Merge pull request #659 from libgit2/development-merge
[libgit2.git] / src / fetch.h
1 /*
2 * Copyright (C) 2009-2012 the libgit2 contributors
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);
13 int git_fetch_download_pack(git_remote *remote, git_off_t *bytes, git_indexer_stats *stats);
14
15 int git_fetch__download_pack(const char *buffered, size_t buffered_size, GIT_SOCKET fd,
16 git_repository *repo, git_off_t *bytes, git_indexer_stats *stats);
17 int git_fetch_setup_walk(git_revwalk **out, git_repository *repo);
18
19 #endif