aboutsummaryrefslogtreecommitdiff
path: root/src/platform/posix/posix_ipc.h
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2018-12-29 19:29:14 -0800
committerGarrett D'Amore <garrett@damore.org>2018-12-31 14:20:08 -0800
commit97118a423a48ecea816f37cb86378c5bafba2d51 (patch)
treedf9e70d0e5e48f3ab69ca3351171003c2b63ed38 /src/platform/posix/posix_ipc.h
parent27b7827532abcbdbecc54795da5b5ac66e7f5e9f (diff)
downloadnng-97118a423a48ecea816f37cb86378c5bafba2d51.tar.gz
nng-97118a423a48ecea816f37cb86378c5bafba2d51.tar.bz2
nng-97118a423a48ecea816f37cb86378c5bafba2d51.zip
fixes #834 Simplify IPC internal API & update
This also makes some smaller related changes to use the new nni_type instead of nni_opt_type.
Diffstat (limited to 'src/platform/posix/posix_ipc.h')
-rw-r--r--src/platform/posix/posix_ipc.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/platform/posix/posix_ipc.h b/src/platform/posix/posix_ipc.h
index caf7ed7b..baf27206 100644
--- a/src/platform/posix/posix_ipc.h
+++ b/src/platform/posix/posix_ipc.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
@@ -13,6 +14,8 @@
#ifdef NNG_PLATFORM_POSIX
#include "platform/posix/posix_aio.h"
+#include <nng/transport/ipc/ipc.h>
+
#include <sys/types.h> // For mode_t
struct nni_ipc_conn {
@@ -34,6 +37,7 @@ struct nni_ipc_dialer {
struct nni_ipc_listener {
nni_posix_pfd *pfd;
+ nng_sockaddr sa;
nni_list acceptq;
bool started;
bool closed;