From 569ef3e13fee995aae2905474b70d58055c8132c Mon Sep 17 00:00:00 2001 From: Garrett D'Amore 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_socket_set.3.adoc | 9 --------- 1 file changed, 9 deletions(-) (limited to 'docs/man/nng_socket_set.3.adoc') diff --git a/docs/man/nng_socket_set.3.adoc b/docs/man/nng_socket_set.3.adoc index b787436f..897e9124 100644 --- a/docs/man/nng_socket_set.3.adoc +++ b/docs/man/nng_socket_set.3.adoc @@ -27,8 +27,6 @@ int nng_socket_set_ms(nng_socket s, const char *opt, nng_duration dur); int nng_socket_set_size(nng_socket s, const char *opt, size_t z); -int nng_socket_set_string(nng_socket s, const char *opt, const char *str); - int nng_socket_set_uint64(nng_socket s, const char *opt, uint64_t u64); ---- @@ -64,13 +62,6 @@ The duration _dur_ is an integer number of milliseconds. This function is used to configure a size, _z_, typically for buffer sizes, message maximum sizes, and similar options. -`nng_socket_set_string()`:: -This function is used to pass configure a string, _str_. -Strings passed this way must be legal UTF-8 or ASCII strings, terminated -with a `NUL` (`\0`) byte. -(Other constraints may apply as well, see the documentation for each option -for details.) - `nng_socket_set_uint64()`:: This function is used to configure a 64-bit unsigned value, _u64_. This is typically used for options related to identifiers, network numbers, -- cgit v1.2.3-70-g09d2