]> git.proxmox.com Git - libgit2.git/blob - src/fetch.h
Merge pull request #467 from oleganza/oa-config-parse-fix
[libgit2.git] / src / fetch.h
1 /*
2 * Copyright (C) 2009-2011 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(char **out, git_remote *remote);
14
15 int git_fetch__download_pack(char **out, const char *buffered, size_t buffered_size,
16 GIT_SOCKET fd, git_repository *repo);
17
18 #endif