diff options
| author | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-22 08:49:09 +0000 |
|---|---|---|
| committer | Edward Thomson <ethomson@edwardthomson.com> | 2018-11-28 15:50:15 +0000 |
| commit | 02bb39f448b9ed151a638d22fdcbccc895f4d3cf (patch) | |
| tree | 5b17db72f1b12951e08d6ae2e5179eb40fcac2eb /src/streams/registry.h | |
| parent | 52478d7dc323ad1768bc5c6fc03c031b7adc5d20 (diff) | |
| download | libgit2-02bb39f448b9ed151a638d22fdcbccc895f4d3cf.tar.gz | |
stream registration: take an enum type
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.
Diffstat (limited to 'src/streams/registry.h')
| -rw-r--r-- | src/streams/registry.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/streams/registry.h b/src/streams/registry.h index 92f87a7bc..adc2b8bdf 100644 --- a/src/streams/registry.h +++ b/src/streams/registry.h @@ -14,6 +14,6 @@ int git_stream_registry_global_init(void); /** Lookup a stream registration. */ -extern int git_stream_registry_lookup(git_stream_registration *out, int tls); +extern int git_stream_registry_lookup(git_stream_registration *out, git_stream_t type); #endif |
