diff options
| author | Garrett D'Amore <garrett@damore.org> | 2024-11-24 15:00:39 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2024-11-24 15:00:39 -0800 |
| commit | 2df4d2e814f34d8e1cc0816885543dbb568812cc (patch) | |
| tree | 1918f29e3037680e5cd3cdc377ff056f2f010de9 /src/core/stream.c | |
| parent | 2afc725ff5a41fbc7445f3681e83cf579f13b578 (diff) | |
| download | nng-2df4d2e814f34d8e1cc0816885543dbb568812cc.tar.gz nng-2df4d2e814f34d8e1cc0816885543dbb568812cc.tar.bz2 nng-2df4d2e814f34d8e1cc0816885543dbb568812cc.zip | |
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.)
Diffstat (limited to 'src/core/stream.c')
| -rw-r--r-- | src/core/stream.c | 18 |
1 files changed, 0 insertions, 18 deletions
diff --git a/src/core/stream.c b/src/core/stream.c index cc7ac496..ad026586 100644 --- a/src/core/stream.c +++ b/src/core/stream.c @@ -347,12 +347,6 @@ nng_stream_get_string(nng_stream *s, const char *n, char **v) } int -nng_stream_get_ptr(nng_stream *s, const char *n, void **v) -{ - return (nni_stream_get(s, n, v, NULL, NNI_TYPE_POINTER)); -} - -int nng_stream_get_ms(nng_stream *s, const char *n, nng_duration *v) { return (nni_stream_get(s, n, v, NULL, NNI_TYPE_DURATION)); @@ -395,12 +389,6 @@ nng_stream_dialer_get_string(nng_stream_dialer *d, const char *n, char **v) } int -nng_stream_dialer_get_ptr(nng_stream_dialer *d, const char *n, void **v) -{ - return (nni_stream_dialer_get(d, n, v, NULL, NNI_TYPE_POINTER)); -} - -int nng_stream_dialer_get_ms(nng_stream_dialer *d, const char *n, nng_duration *v) { return (nni_stream_dialer_get(d, n, v, NULL, NNI_TYPE_DURATION)); @@ -451,12 +439,6 @@ nng_stream_listener_get_string(nng_stream_listener *l, const char *n, char **v) } int -nng_stream_listener_get_ptr(nng_stream_listener *l, const char *n, void **v) -{ - return (nni_stream_listener_get(l, n, v, NULL, NNI_TYPE_POINTER)); -} - -int nng_stream_listener_get_ms( nng_stream_listener *l, const char *n, nng_duration *v) { |
