diff options
author | Carlos Martín Nieto <cmn@dwim.me> | 2015-09-21 22:38:50 +0200 |
---|---|---|
committer | Carlos Martín Nieto <cmn@dwim.me> | 2016-04-19 13:54:19 +0200 |
commit | b373e9a6ba11b3b82ad6c74996488176d22920a0 (patch) | |
tree | f38bb72633e101a5e0ee465a02da0d1213a5177a /include | |
parent | 22e6aa0d4fc7a619472aa8da69163dc210781956 (diff) | |
download | libgit2-b373e9a6ba11b3b82ad6c74996488176d22920a0.tar.gz |
net: use proxy options struct in the stream config
Diffstat (limited to 'include')
-rw-r--r-- | include/git2/sys/stream.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/git2/sys/stream.h b/include/git2/sys/stream.h index 2b4ff7fd8..eeeb68dae 100644 --- a/include/git2/sys/stream.h +++ b/include/git2/sys/stream.h @@ -9,6 +9,7 @@ #include "git2/common.h" #include "git2/types.h" +#include "git2/proxy.h" GIT_BEGIN_DECL @@ -32,7 +33,7 @@ typedef struct git_stream { int proxy_support; int (*connect)(struct git_stream *); int (*certificate)(git_cert **, struct git_stream *); - int (*set_proxy)(struct git_stream *, const char *proxy_url); + int (*set_proxy)(struct git_stream *, const git_proxy_options *proxy_opts); ssize_t (*read)(struct git_stream *, void *, size_t); ssize_t (*write)(struct git_stream *, const char *, size_t, int); int (*close)(struct git_stream *); |