libgit2

git_stream_register_tls

Version:

Register a TLS stream constructor for the library to use

If a constructor is already set, it will be overwritten. Pass NULL in order to deregister the current constructor.

Signature

int git_stream_register_tls(git_stream_cb ctor);

Parameters

In
ctor

the constructor to use

Returns

int

0 or an error code

Versions