From 569ef3e13fee995aae2905474b70d58055c8132c Mon Sep 17 00:00:00 2001
From: Garrett D'Amore <garrett@damore.org>
Date: Sun, 24 Nov 2024 09:11:25 -0800
Subject: Remove string option functions from sockets and contexts.

These are not needed anymore, and the semantics of string accessors
is brittle, so we want to eliminate these as much as possible.
---
 docs/man/nng_ctx_get.3.adoc | 8 --------
 1 file changed, 8 deletions(-)

(limited to 'docs/man/nng_ctx_get.3.adoc')

diff --git a/docs/man/nng_ctx_get.3.adoc b/docs/man/nng_ctx_get.3.adoc
index 92393e05..fa342d2b 100644
--- a/docs/man/nng_ctx_get.3.adoc
+++ b/docs/man/nng_ctx_get.3.adoc
@@ -27,8 +27,6 @@ int nng_ctx_get_ms(nng_ctx ctx, const char *opt, nng_duration *durp);
 
 int nng_ctx_get_size(nng_ctx ctx, const char *opt, size_t *zp);
 
-int nng_ctx_get_string(nng_ctx ctx, const char *opt, char **strp);
-
 int nng_ctx_get_uint64(nng_ctx ctx, const char *opt, uint64_t *u64p);
 
 ----
@@ -70,12 +68,6 @@ the special value ((`NNG_DURATION_DEFAULT`)) means a context-specific default.)
 This function is used to retrieve a size into the pointer _zp_,
 typically for buffer sizes, message maximum sizes, and similar options.
 
-`nng_ctx_get_string()`::
-This function is used to retrieve a string into _strp_.
-This string is created from the source using xref:nng_strdup.3.adoc[`nng_strdup()`]
-and consequently must be freed by the caller using
-xref:nng_strfree.3.adoc[`nng_strfree()`] when it is no longer needed.
-
 `nng_ctx_get_uint64()`::
 This function is used to retrieve a 64-bit unsigned value into the value
 referenced by _u64p_.
-- 
cgit v1.2.3-70-g09d2

