stream: provide generic registration API
Update the new stream registration API to be `git_stream_register` which takes a registration structure and a TLS boolean. This allows callers to register non-TLS streams as well as TLS streams. Provide `git_stream_register_tls` that takes just the init callback for backward compatibliity.
Showing
src/streams/registry.c
0 → 100644
src/streams/registry.h
0 → 100644
Please
register
or
sign in
to comment