aboutsummaryrefslogtreecommitdiff
path: root/src/core/dialer.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-12-29 20:13:11 -0800
committerGarrett D'Amore <garrett@damore.org>2018-12-31 14:23:34 -0800
commite0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4 (patch)
treefe6914c8b06e87880e72cb27486971bf7fc056ff /src/core/dialer.h
parent97118a423a48ecea816f37cb86378c5bafba2d51 (diff)
downloadnng-e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4.tar.gz
nng-e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4.tar.bz2
nng-e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4.zip
fixes #835 inproc should use new option API
Some more changes to use nni_type instead of nni_opt_type are included as well.
Diffstat (limited to 'src/core/dialer.h')
-rw-r--r--src/core/dialer.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/core/dialer.h b/src/core/dialer.h
index da2cc992..af715955 100644
--- a/src/core/dialer.h
+++ b/src/core/dialer.h
@@ -1,6 +1,7 @@
//
// Copyright 2018 Staysail Systems, Inc. <info@staysail.tech>
// Copyright 2018 Capitar IT Group BV <info@capitar.com>
+// Copyright 2018 Devolutions <info@devolutions.net>
//
// This software is supplied under the terms of the MIT License, a
// copy of which should be located in the distribution where this
@@ -23,9 +24,9 @@ extern int nni_dialer_start(nni_dialer *, int);
extern nni_sock *nni_dialer_sock(nni_dialer *);
extern int nni_dialer_setopt(
- nni_dialer *, const char *, const void *, size_t, nni_opt_type);
+ nni_dialer *, const char *, const void *, size_t, nni_type);
extern int nni_dialer_getopt(
- nni_dialer *, const char *, void *, size_t *, nni_opt_type);
+ nni_dialer *, const char *, void *, size_t *, nni_type);
extern void nni_dialer_add_stat(nni_dialer *, nni_stat_item *);
#endif // CORE_DIALER_H