diff options
author | Matt Burke <spraints@gmail.com> | 2015-09-04 09:36:50 -0400 |
---|---|---|
committer | Matt Burke <spraints@gmail.com> | 2015-09-04 09:36:50 -0400 |
commit | 59d6128e2730b71da6fdebbdf9a4d04b909e9721 (patch) | |
tree | dc89d18d5e8a1ce14512f87201000ecb4504c7c7 /include | |
parent | ac9b51278996b864d0a2f7d61a827f89cbd4ff23 (diff) | |
download | libgit2-59d6128e2730b71da6fdebbdf9a4d04b909e9721.tar.gz |
Allow the world to set HTTP headers for remotes
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/remote.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/include/git2/remote.h b/include/git2/remote.h index 444fe5276..40adca0ce 100644 --- a/include/git2/remote.h +++ b/include/git2/remote.h @@ -230,6 +230,9 @@ GIT_EXTERN(size_t) git_remote_refspec_count(const git_remote *remote); */ GIT_EXTERN(const git_refspec *)git_remote_get_refspec(const git_remote *remote, size_t n); +GIT_EXTERN(int) git_remote_extra_http_headers(const git_remote *remote, git_strarray *extra_http_headers); +GIT_EXTERN(int) git_remote_set_extra_http_headers(git_remote *remote, const git_strarray extra_http_headers); + /** * Open a connection to a remote * |