aboutsummaryrefslogtreecommitdiff
path: root/src/sp/transport/ipc
diff options
context:
space:
mode:
authorGarrett D'Amore <garrett@damore.org>2024-09-07 11:33:05 -0700
committerGarrett D'Amore <garrett@damore.org>2024-10-06 13:59:35 -0700
commit34be2c20a62e94e3a2815dd869609554b3922477 (patch)
tree55eb5ae8aec9d9213f502bffda50abaa11b06bc2 /src/sp/transport/ipc
parent74adece2303ab7c2b05459c7ff24b362e9660068 (diff)
downloadnng-34be2c20a62e94e3a2815dd869609554b3922477.tar.gz
nng-34be2c20a62e94e3a2815dd869609554b3922477.tar.bz2
nng-34be2c20a62e94e3a2815dd869609554b3922477.zip
Remove the legacy transport registration functions.
This also allows to remove most of the transport headers. Only zerotier.h sticks around, and only for now. (We expect to eject it into a separate module.)
Diffstat (limited to 'src/sp/transport/ipc')
-rw-r--r--src/sp/transport/ipc/CMakeLists.txt5
-rw-r--r--src/sp/transport/ipc/ipc.c2
2 files changed, 2 insertions, 5 deletions
diff --git a/src/sp/transport/ipc/CMakeLists.txt b/src/sp/transport/ipc/CMakeLists.txt
index c9927f75..7353c4f3 100644
--- a/src/sp/transport/ipc/CMakeLists.txt
+++ b/src/sp/transport/ipc/CMakeLists.txt
@@ -1,5 +1,5 @@
#
-# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech>
+# Copyright 2024 Staysail Systems, Inc. <info@staysail.tech>
# Copyright 2018 Capitar IT Group BV <info@capitar.com>
#
# This software is supplied under the terms of the MIT License, a
@@ -12,6 +12,5 @@
nng_directory(ipc)
nng_sources_if(NNG_TRANSPORT_IPC ipc.c)
-nng_headers_if(NNG_TRANSPORT_IPC nng/transport/ipc/ipc.h)
nng_defines_if(NNG_TRANSPORT_IPC NNG_TRANSPORT_IPC)
-nng_test_if(NNG_TRANSPORT_IPC ipc_test) \ No newline at end of file
+nng_test_if(NNG_TRANSPORT_IPC ipc_test)
diff --git a/src/sp/transport/ipc/ipc.c b/src/sp/transport/ipc/ipc.c
index a9aa0113..07bb5548 100644
--- a/src/sp/transport/ipc/ipc.c
+++ b/src/sp/transport/ipc/ipc.c
@@ -13,8 +13,6 @@
#include "core/nng_impl.h"
-#include <nng/transport/ipc/ipc.h>
-
// IPC transport. Platform specific IPC operations must be
// supplied as well. Normally the IPC is UNIX domain sockets or
// Windows named pipes. Other platforms could use other mechanisms,