libgit2

git_transport_smart

Version:

Create an instance of the smart transport.

Signature

int git_transport_smart(git_transport **out, git_remote *owner, void *payload);

Parameters

In
out

The newly created transport (out)

In
owner

The git_remote which will own this transport

void *
In
payload

A pointer to a git_smart_subtransport_definition

Returns

int

0 or an error code

Versions