aboutsummaryrefslogtreecommitdiff
path: root/src/core/pipe.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-11-03 10:12:28 -0800
committerGarrett D'Amore <garrett@damore.org>2024-11-03 10:45:51 -0800
commit49076237cc0b82e7007535e789f3fadc19a18c45 (patch)
tree6336768366f8d8bca987f8742ddcb1df73fd3c98 /src/core/pipe.h
parent11485d2723f22dc60e4cefea3ffb3fd8a378d931 (diff)
downloadnng-49076237cc0b82e7007535e789f3fadc19a18c45.tar.gz
nng-49076237cc0b82e7007535e789f3fadc19a18c45.tar.bz2
nng-49076237cc0b82e7007535e789f3fadc19a18c45.zip
Remove NNI_TYPE_OPAQUE altogether.
This also fixes a couple of minor bugs -- changing the socket name could be incorrect as the termination was not applied properly, and the ZeroTier code got a change -- note that it is only possible in this revised version to pass a single moon ID for ZT orbit. The ZT code is a bit stale, and untested anyway.
Diffstat (limited to 'src/core/pipe.h')
-rw-r--r--src/core/pipe.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/core/pipe.h b/src/core/pipe.h
index a1bc361e..9e7109de 100644
--- a/src/core/pipe.h
+++ b/src/core/pipe.h
@@ -34,8 +34,7 @@ extern void nni_pipe_close(nni_pipe *);
extern uint16_t nni_pipe_peer(nni_pipe *);
-// nni_pipe_getopt looks up the option. The last argument is the type,
-// which. If the type is NNI_TYPE_OPAQUE, then no format check is performed.
+// nni_pipe_getopt looks up the option.
extern int nni_pipe_getopt(
nni_pipe *, const char *, void *, size_t *, nni_opt_type);