diff options
Diffstat (limited to 'include/git2/proxy.h')
| -rw-r--r-- | include/git2/proxy.h | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/include/git2/proxy.h b/include/git2/proxy.h index 06d46d340..5f9d27f30 100644 --- a/include/git2/proxy.h +++ b/include/git2/proxy.h @@ -80,10 +80,14 @@ typedef struct { #define GIT_PROXY_OPTIONS_INIT {GIT_PROXY_OPTIONS_VERSION} /** - * Initialize a proxy options structure + * Initialize git_proxy_options structure * - * @param opts the options struct to initialize - * @param version the version of the struct, use `GIT_PROXY_OPTIONS_VERSION` + * Initializes a `git_proxy_options` with default values. Equivalent to + * creating an instance with `GIT_PROXY_OPTIONS_INIT`. + * + * @param opts The `git_proxy_options` struct to initialize. + * @param version The struct version; pass `GIT_PROXY_OPTIONS_VERSION`. + * @return Zero on success; -1 on failure. */ GIT_EXTERN(int) git_proxy_init_options(git_proxy_options *opts, unsigned int version); |
