From 1401d2f622e52f0ca4e68fc932ded4f96801989f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Mon, 28 Oct 2024 14:54:37 -0700 Subject: tls: move definitions to core nng.h TLS is not really merely supplemental anymore. Its pretty fundamental. Let's make it accessible directly. This will allow us to define typed property access functions. --- src/core/stream.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src') diff --git a/src/core/stream.c b/src/core/stream.c index 95bc4123..2807f37f 100644 --- a/src/core/stream.c +++ b/src/core/stream.c @@ -22,8 +22,8 @@ static struct { const char *scheme; - int (*dialer_alloc)(nng_stream_dialer **, const nng_url *); - int (*listener_alloc)(nng_stream_listener **, const nng_url *); + int (*dialer_alloc)(nng_stream_dialer **, const nng_url *); + int (*listener_alloc)(nng_stream_listener **, const nng_url *); } stream_drivers[] = { { -- cgit v1.2.3-70-g09d2