aboutsummaryrefslogtreecommitdiff
path: root/src/core/options.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/options.h')
-rw-r--r--src/core/options.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/core/options.h b/src/core/options.h
index 2a21a039..ac64f9e3 100644
--- a/src/core/options.h
+++ b/src/core/options.h
@@ -32,6 +32,8 @@ extern int nni_copyin_size(
extern int nni_copyin_str(char *, const void *, size_t, size_t, nni_opt_type);
extern int nni_copyin_ptr(void **, const void *, size_t, nni_opt_type);
extern int nni_copyin_u64(uint64_t *, const void *, size_t, nni_opt_type);
+extern int nni_copyin_sockaddr(
+ nng_sockaddr *, const void *, size_t, nni_opt_type);
// nni_copyout_xxx copies out a type of the named value. It assumes that
// the type is aligned and the size correct, unless NNI_TYPE_OPAQUE is passed.