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 "common.h" 11 12 #include "git2/remote.h" 13 14 #include "netops.h" 15 16 int git_fetch_negotiate(git_remote *remote, const git_fetch_options *opts); 17 18 int git_fetch_download_pack(git_remote *remote, const git_remote_callbacks *callbacks); 19 20 int git_fetch_setup_walk(git_revwalk **out, git_repository *repo); 21 22 #endif 23