summaryrefslogtreecommitdiff
path: root/src/streams/registry.h
Commit message (Collapse)AuthorAgeFilesLines
* stream registration: take an enum typeEdward Thomson2018-11-281-1/+1
| | | | | | Accept an enum (`git_stream_t`) during custom stream registration that indicates whether the registration structure should be used for standard (non-TLS) streams or TLS streams.
* stream: provide generic registration APIEdward Thomson2018-11-281-0/+19
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.