From 27b7827532abcbdbecc54795da5b5ac66e7f5e9f Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Sat, 29 Dec 2018 18:54:22 -0800 Subject: progress on IPC endpoints --- src/platform/windows/win_ipcdial.c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'src/platform/windows/win_ipcdial.c') 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. // 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 @@ -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) { -- cgit v1.2.3-70-g09d2