From 49076237cc0b82e7007535e789f3fadc19a18c45 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sun, 3 Nov 2024 10:12:28 -0800 Subject: 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. --- src/core/pipe.h | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'src/core/pipe.h') 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); -- cgit v1.2.3-70-g09d2