From 2049626be08cd584c3314df7a9ab49c114ba5254 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 25 Dec 2021 12:09:26 -0800 Subject: Restore legacy nng_getopt_ptr. closes #1553 --- include/nng/nng.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/nng/nng.h b/include/nng/nng.h index a7c184ba..d40f5135 100644 --- a/include/nng/nng.h +++ b/include/nng/nng.h @@ -51,7 +51,7 @@ extern "C" { #define NNG_MAJOR_VERSION 1 #define NNG_MINOR_VERSION 6 #define NNG_PATCH_VERSION 0 -#define NNG_RELEASE_SUFFIX "" // if non-empty, this is a pre-release +#define NNG_RELEASE_SUFFIX "pre" // if non-empty, this is a pre-release // Maximum length of a socket address. This includes the terminating NUL. // This limit is built into other implementations, so do not change it. @@ -1198,7 +1198,7 @@ NNG_DECL int nng_stream_listener_set_addr( // always returns NNG_ENOTSUP. NNG_DECL int nng_msg_getopt(nng_msg *, int, void *, size_t *); -// Socket options. Use nng_socket_get and nng_socket_set isnetadl +// Socket options. Use nng_socket_get and nng_socket_set instead. NNG_DECL int nng_getopt(nng_socket, const char *, void *, size_t *); NNG_DECL int nng_getopt_bool(nng_socket, const char *, bool *); NNG_DECL int nng_getopt_int(nng_socket, const char *, int *); -- cgit v1.2.3-70-g09d2