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/nng.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/nng.c')
| -rw-r--r-- | src/nng.c | 18 |
1 files changed, 0 insertions, 18 deletions
@@ -821,12 +821,6 @@ nng_dialer_get_string(nng_dialer id, const char *n, char **v) } 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) { return (dialer_get(id, n, v, NULL, NNI_TYPE_DURATION)); @@ -968,12 +962,6 @@ nng_listener_get_string(nng_listener id, const char *n, char **v) } 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) { return (listener_get(id, n, v, NULL, NNI_TYPE_DURATION)); @@ -1445,12 +1433,6 @@ nng_pipe_get_string(nng_pipe id, const char *n, char **v) } 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) { return (pipe_get(id, n, v, NULL, NNI_TYPE_DURATION)); |
