From e0fff1f9c45f5486fc2e7eeb49b4462c3bb2dad4 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 29 Dec 2018 20:13:11 -0800 Subject: fixes #835 inproc should use new option API Some more changes to use nni_type instead of nni_opt_type are included as well. --- src/core/dialer.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/core/dialer.h') 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. // Copyright 2018 Capitar IT Group BV +// Copyright 2018 Devolutions // // 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 -- cgit v1.2.3-70-g09d2