libgit2

git_transport_remote_connect_options

Version:

Get a copy of the remote connect options

All data is copied and must be freed by the caller by calling git_remote_connect_options_dispose.

Signature

int git_transport_remote_connect_options(git_remote_connect_options *out, git_transport *transport);

Parameters

In
out

options struct to fill

In
transport

the transport to extract the data from.

Returns

int

0 on success, or an error code

Versions