diff options
| author | Carlos Martín Nieto <cmn@dwim.me> | 2015-10-02 10:10:13 +0200 |
|---|---|---|
| committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-04-19 13:54:19 +0200 |
| commit | 60d717c6f1238f810402956779dcebb10f0cf175 (patch) | |
| tree | 61a222a9d1640e3327c11b1bc4267296d937c347 /include/git2/proxy.h | |
| parent | b373e9a6ba11b3b82ad6c74996488176d22920a0 (diff) | |
| download | libgit2-60d717c6f1238f810402956779dcebb10f0cf175.tar.gz | |
proxy: add a payload field for the proxy options
I don't quite recall what we do in the other places where we use this,
but we should pass this payload to the callbacks.
Diffstat (limited to 'include/git2/proxy.h')
| -rw-r--r-- | include/git2/proxy.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/git2/proxy.h b/include/git2/proxy.h index 2a3ce8f3e..b45b55b3b 100644 --- a/include/git2/proxy.h +++ b/include/git2/proxy.h @@ -73,6 +73,12 @@ typedef struct { * to disallow it or a negative value to indicate an error. */ git_transport_certificate_check_cb certificate_check; + + /** + * Payload to be provided to the credentials and certificate + * check callbacks. + */ + void *payload; } git_proxy_options; #define GIT_PROXY_OPTIONS_VERSION 1 |
