aboutsummaryrefslogtreecommitdiff
path: root/docs/man/nng_stream_get.3str.adoc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-24 15:00:39 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-24 15:00:39 -0800
commit2df4d2e814f34d8e1cc0816885543dbb568812cc (patch)
tree1918f29e3037680e5cd3cdc377ff056f2f010de9 /docs/man/nng_stream_get.3str.adoc
parent2afc725ff5a41fbc7445f3681e83cf579f13b578 (diff)
downloadnng-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 'docs/man/nng_stream_get.3str.adoc')
-rw-r--r--docs/man/nng_stream_get.3str.adoc12
1 files changed, 0 insertions, 12 deletions
diff --git a/docs/man/nng_stream_get.3str.adoc b/docs/man/nng_stream_get.3str.adoc
index b0f8ee19..a7137ecb 100644
--- a/docs/man/nng_stream_get.3str.adoc
+++ b/docs/man/nng_stream_get.3str.adoc
@@ -26,8 +26,6 @@ int nng_stream_get_int(nng_stream *s, const char *opt, int *valp);
int nng_stream_get_ms(nng_stream *s, const char *opt, nng_duration *valp);
-int nng_stream_get_ptr(nng_stream *s, const char *opt, void **valp);
-
int nng_stream_get_size(nng_stream *s, const char *opt, size_t *valp);
int nng_stream_get_addr(nng_stream *s, const char *opt, nng_sockaddr *valp);
@@ -68,16 +66,6 @@ xref:nng_duration.5.adoc[durations]
(The special value ((`NNG_DURATION_INFINITE`)) means an infinite amount of time, and
the special value ((`NNG_DURATION_DEFAULT`)) means a context-specific default.)
-`nng_stream_get_ptr()`::
-This function is used to retrieve a pointer to structured data.
-The data referenced is generally managed using other functions.
-Note that this form is somewhat special in that the object is generally
-not copied, but instead the *pointer* to the object is copied.
-+
-NOTE: Care must be taken to ensure that the application respects any
-considerations about the lifetime of the underyling object.
-See the documentation for the option for more specific guidance.
-
`nng_stream_get_size()`::
This function is used to retrieve a size,
typically for buffer sizes, message maximum sizes, and similar options.