git_stream_register

Register stream constructors for the library to use

If a registration structure is already set, it will be overwritten. Pass NULL in order to deregister the current constructor and return to the system defaults.

The type parameter may be a bitwise AND of types.

version(Posix)
package extern (C) nothrow @nogc
int
git_stream_register

Parameters

type .git_stream_t

the type or types of stream to register

registration .git_stream_registration*

the registration data

Return Value

Type: int

0 or an error code

Meta