aboutsummaryrefslogtreecommitdiff
path: root/src/core/defs.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/defs.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/defs.h')
-rw-r--r--src/core/defs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/defs.h b/src/core/defs.h
index f367dcc4..6d6e3ff6 100644
--- a/src/core/defs.h
+++ b/src/core/defs.h
@@ -187,7 +187,7 @@ typedef void (*nni_cb)(void *);
// Types. These are used to provide more structured access to options
// (and maybe later statistics). For now these are internal only.
typedef enum {
- NNI_TYPE_OPAQUE,
+ NNI_TYPE_NONE, // DO NOT USE
NNI_TYPE_BOOL,
NNI_TYPE_INT32,
NNI_TYPE_UINT32,