From 2df4d2e814f34d8e1cc0816885543dbb568812cc Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 24 Nov 2024 15:00:39 -0800 Subject: Remove all the get_ptr option accessors. Temporarily we have removed access to the peer alt names, but that was never used and was not tested (it also didn't work with WolfSSL.) --- src/nng.c | 18 ------------------ 1 file changed, 18 deletions(-) (limited to 'src/nng.c') diff --git a/src/nng.c b/src/nng.c index 51700bb4..473f394a 100644 --- a/src/nng.c +++ b/src/nng.c @@ -820,12 +820,6 @@ nng_dialer_get_string(nng_dialer id, const char *n, char **v) return (dialer_get(id, n, v, NULL, NNI_TYPE_STRING)); } -int -nng_dialer_get_ptr(nng_dialer id, const char *n, void **v) -{ - return (dialer_get(id, n, v, NULL, NNI_TYPE_POINTER)); -} - int nng_dialer_get_ms(nng_dialer id, const char *n, nng_duration *v) { @@ -967,12 +961,6 @@ nng_listener_get_string(nng_listener id, const char *n, char **v) return (listener_get(id, n, v, NULL, NNI_TYPE_STRING)); } -int -nng_listener_get_ptr(nng_listener id, const char *n, void **v) -{ - return (listener_get(id, n, v, NULL, NNI_TYPE_POINTER)); -} - int nng_listener_get_ms(nng_listener id, const char *n, nng_duration *v) { @@ -1444,12 +1432,6 @@ nng_pipe_get_string(nng_pipe id, const char *n, char **v) return (pipe_get(id, n, v, NULL, NNI_TYPE_STRING)); } -int -nng_pipe_get_ptr(nng_pipe id, const char *n, void **v) -{ - return (pipe_get(id, n, v, NULL, NNI_TYPE_POINTER)); -} - int nng_pipe_get_ms(nng_pipe id, const char *n, nng_duration *v) { -- cgit v1.2.3-70-g09d2