diff options
| author | Matt Burke <spraints@gmail.com> | 2015-09-08 13:53:41 -0400 |
|---|---|---|
| committer | Matt Burke <spraints@gmail.com> | 2015-09-08 14:02:33 -0400 |
| commit | 4f2b6093a64ead32f51a886186496821e003cee5 (patch) | |
| tree | 8d31557e46d2492c7ec02314ebabc6cee4b2873b /include/git2/sys | |
| parent | 9da32a625564064908b61530318a1366ffff8217 (diff) | |
| download | libgit2-4f2b6093a64ead32f51a886186496821e003cee5.tar.gz | |
Tell the git_transport about the custom_headers
Diffstat (limited to 'include/git2/sys')
| -rw-r--r-- | include/git2/sys/transport.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/git2/sys/transport.h b/include/git2/sys/transport.h index 4a75b0832..ca8617f3f 100644 --- a/include/git2/sys/transport.h +++ b/include/git2/sys/transport.h @@ -40,6 +40,11 @@ struct git_transport { git_transport_certificate_check_cb certificate_check_cb, void *payload); + /* Set custom headers for HTTP requests */ + int (*set_custom_headers)( + git_transport *transport, + const git_strarray *custom_headers); + /* Connect the transport to the remote repository, using the given * direction. */ int (*connect)( |
