diff options
| author | Garrett D'Amore <garrett@damore.org> | 2018-12-29 18:54:22 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2018-12-29 18:54:22 -0800 |
| commit | 27b7827532abcbdbecc54795da5b5ac66e7f5e9f (patch) | |
| tree | 7c8fad19dbb874af35324603204aae87f93d63b8 /src/platform/windows/win_ipcdial.c | |
| parent | 5b35daaf2fe6c6fbe0b15740efbffe16ff278e6c (diff) | |
| download | nng-27b7827532abcbdbecc54795da5b5ac66e7f5e9f.tar.gz nng-27b7827532abcbdbecc54795da5b5ac66e7f5e9f.tar.bz2 nng-27b7827532abcbdbecc54795da5b5ac66e7f5e9f.zip | |
progress on IPC endpoints
Diffstat (limited to 'src/platform/windows/win_ipcdial.c')
| -rw-r--r-- | src/platform/windows/win_ipcdial.c | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/src/platform/windows/win_ipcdial.c b/src/platform/windows/win_ipcdial.c index 4c3d5c6c..98d848ae 100644 --- a/src/platform/windows/win_ipcdial.c +++ b/src/platform/windows/win_ipcdial.c @@ -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 @@ -227,6 +228,26 @@ nni_ipc_dialer_close(nni_ipc_dialer *d) nni_mtx_unlock(&w->mtx); } +static const nni_option ipc_dialer_options[] = { + { + .o_name = NULL, + }, +}; + +int +nni_ipc_dialer_setopt(nni_ipc_dialer *d, const char *name, const void *buf, + size_t sz, nni_type t) +{ + return (nni_setopt(ipc_dialer_options, name, d, buf, sz, t)); +} + +int +nni_ipc_dialer_getopt( + nni_ipc_dialer *d, const char *name, void *buf, size_t *szp, nni_type t) +{ + return (nni_getopt(ipc_dialer_options, name, d, buf, szp, t)); +} + int nni_win_ipc_sysinit(void) { |
