diff options
| author | Garrett D'Amore <garrett@damore.org> | 2025-01-04 10:13:49 -0800 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2025-01-04 11:48:02 -0800 |
| commit | 6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6 (patch) | |
| tree | d2263c4cadab9665e685778edfe58c53ad924ac1 /src/sp/protocol | |
| parent | 304cd1d66574330bfdff17f8bd1b72119bdc2861 (diff) | |
| download | nng-6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6.tar.gz nng-6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6.tar.bz2 nng-6e03d3470ca6f7c5bdfad6def41b0f0eaf9d33a6.zip | |
api: remove old protocol headers
Diffstat (limited to 'src/sp/protocol')
| -rw-r--r-- | src/sp/protocol/bus0/CMakeLists.txt | 5 | ||||
| -rw-r--r-- | src/sp/protocol/bus0/bus_test.c | 2 | ||||
| -rw-r--r-- | src/sp/protocol/pair0/CMakeLists.txt | 3 | ||||
| -rw-r--r-- | src/sp/protocol/pair1/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | src/sp/protocol/pipeline0/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/sp/protocol/pubsub0/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/sp/protocol/pubsub0/sub_test.c | 3 | ||||
| -rw-r--r-- | src/sp/protocol/pubsub0/xsub_test.c | 3 | ||||
| -rw-r--r-- | src/sp/protocol/reqrep0/CMakeLists.txt | 4 | ||||
| -rw-r--r-- | src/sp/protocol/survey0/CMakeLists.txt | 6 |
10 files changed, 12 insertions, 28 deletions
diff --git a/src/sp/protocol/bus0/CMakeLists.txt b/src/sp/protocol/bus0/CMakeLists.txt index ca7ee9bc..b235204c 100644 --- a/src/sp/protocol/bus0/CMakeLists.txt +++ b/src/sp/protocol/bus0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 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,7 +12,6 @@ nng_directory(bus0) nng_sources_if(NNG_PROTO_BUS0 bus.c) -nng_headers_if(NNG_PROTO_BUS0 nng/protocol/bus0/bus.h) nng_defines_if(NNG_PROTO_BUS0 NNG_HAVE_BUS0) -nng_test(bus_test)
\ No newline at end of file +nng_test(bus_test) diff --git a/src/sp/protocol/bus0/bus_test.c b/src/sp/protocol/bus0/bus_test.c index d8b71c63..b1141d93 100644 --- a/src/sp/protocol/bus0/bus_test.c +++ b/src/sp/protocol/bus0/bus_test.c @@ -10,8 +10,6 @@ #include "nng/nng.h" #include <nuts.h> -#include <nng/protocol/bus0/bus.h> - #define SECOND 1000 #define BUS0_SELF 0x70 diff --git a/src/sp/protocol/pair0/CMakeLists.txt b/src/sp/protocol/pair0/CMakeLists.txt index 2f74e139..af5a43da 100644 --- a/src/sp/protocol/pair0/CMakeLists.txt +++ b/src/sp/protocol/pair0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2021 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 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(pair0) nng_sources_if(NNG_PROTO_PAIR0 pair.c) -nng_headers_if(NNG_PROTO_PAIR0 nng/protocol/pair0/pair.h) nng_defines_if(NNG_PROTO_PAIR0 NNG_HAVE_PAIR0) nng_test(pair0_test) diff --git a/src/sp/protocol/pair1/CMakeLists.txt b/src/sp/protocol/pair1/CMakeLists.txt index 12e12607..06d764a0 100644 --- a/src/sp/protocol/pair1/CMakeLists.txt +++ b/src/sp/protocol/pair1/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2019 Staysail Systems, Inc. <info@staystail.tech> +# Copyright 2025 Staysail Systems, Inc. <info@staystail.tech> # Copyright 2018 Capitar IT Group BV <info@capitar.com> # # This software is supplied under the terms of the MIT License, a @@ -11,10 +11,8 @@ # PAIRv1 protocol nng_directory(pair1) -# XXX: break pair1_poly into an ifdef. nng_sources_if(NNG_PROTO_PAIR1 pair.c pair1_poly.c) -nng_headers_if(NNG_PROTO_PAIR1 nng/protocol/pair1/pair.h) nng_defines_if(NNG_PROTO_PAIR1 NNG_HAVE_PAIR1) nng_test(pair1_test) -nng_test(pair1_poly_test)
\ No newline at end of file +nng_test(pair1_poly_test) diff --git a/src/sp/protocol/pipeline0/CMakeLists.txt b/src/sp/protocol/pipeline0/CMakeLists.txt index 8a10eab7..4838067a 100644 --- a/src/sp/protocol/pipeline0/CMakeLists.txt +++ b/src/sp/protocol/pipeline0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2019 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 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,11 +12,9 @@ nng_directory(pipeline0) nng_sources_if(NNG_PROTO_PUSH0 push.c) -nng_headers_if(NNG_PROTO_PUSH0 nng/protocol/pipeline0/push.h) nng_defines_if(NNG_PROTO_PUSH0 NNG_HAVE_PUSH0) nng_sources_if(NNG_PROTO_PULL0 pull.c) -nng_headers_if(NNG_PROTO_PULL0 nng/protocol/pipeline0/pull.h) nng_defines_if(NNG_PROTO_PULL0 NNG_HAVE_PULL0) nng_test(pull_test) diff --git a/src/sp/protocol/pubsub0/CMakeLists.txt b/src/sp/protocol/pubsub0/CMakeLists.txt index 160b7462..46c37995 100644 --- a/src/sp/protocol/pubsub0/CMakeLists.txt +++ b/src/sp/protocol/pubsub0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2019 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 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,11 +12,9 @@ nng_directory(pubsub0) nng_sources_if(NNG_PROTO_PUB0 pub.c) -nng_headers_if(NNG_PROTO_PUB0 nng/protocol/pubsub0/pub.h) nng_defines_if(NNG_PROTO_PUB0 NNG_HAVE_PUB0) nng_sources_if(NNG_PROTO_SUB0 sub.c xsub.c) -nng_headers_if(NNG_PROTO_SUB0 nng/protocol/pubsub0/sub.h) nng_defines_if(NNG_PROTO_SUB0 NNG_HAVE_SUB0) nng_test(pub_test) diff --git a/src/sp/protocol/pubsub0/sub_test.c b/src/sp/protocol/pubsub0/sub_test.c index 5c72b8bd..13fc07bf 100644 --- a/src/sp/protocol/pubsub0/sub_test.c +++ b/src/sp/protocol/pubsub0/sub_test.c @@ -1,5 +1,5 @@ // -// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -8,7 +8,6 @@ // #include "nng/nng.h" -#include "nng/protocol/pubsub0/sub.h" #include <nuts.h> static void diff --git a/src/sp/protocol/pubsub0/xsub_test.c b/src/sp/protocol/pubsub0/xsub_test.c index 618703b5..859ab532 100644 --- a/src/sp/protocol/pubsub0/xsub_test.c +++ b/src/sp/protocol/pubsub0/xsub_test.c @@ -1,5 +1,5 @@ // -// Copyright 2024 Staysail Systems, Inc. <info@staysail.tech> +// Copyright 2025 Staysail Systems, Inc. <info@staysail.tech> // // This software is supplied under the terms of the MIT License, a // copy of which should be located in the distribution where this @@ -8,7 +8,6 @@ // #include <nng/nng.h> -#include <nng/protocol/pubsub0/sub.h> #include <nuts.h> static void diff --git a/src/sp/protocol/reqrep0/CMakeLists.txt b/src/sp/protocol/reqrep0/CMakeLists.txt index b5d44759..f6ad34b1 100644 --- a/src/sp/protocol/reqrep0/CMakeLists.txt +++ b/src/sp/protocol/reqrep0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 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,11 +12,9 @@ nng_directory(reqrep0) nng_sources_if(NNG_PROTO_REQ0 req.c xreq.c) -nng_headers_if(NNG_PROTO_REQ0 nng/protocol/reqrep0/req.h) nng_defines_if(NNG_PROTO_REQ0 NNG_HAVE_REQ0) nng_sources_if(NNG_PROTO_REP0 rep.c xrep.c) -nng_headers_if(NNG_PROTO_REP0 nng/protocol/reqrep0/rep.h) nng_defines_if(NNG_PROTO_REP0 NNG_HAVE_REP0) nng_test(req_test) diff --git a/src/sp/protocol/survey0/CMakeLists.txt b/src/sp/protocol/survey0/CMakeLists.txt index b5daca41..9397da9f 100644 --- a/src/sp/protocol/survey0/CMakeLists.txt +++ b/src/sp/protocol/survey0/CMakeLists.txt @@ -1,5 +1,5 @@ # -# Copyright 2020 Staysail Systems, Inc. <info@staysail.tech> +# Copyright 2025 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,14 +12,12 @@ nng_directory(survey0) nng_sources_if(NNG_PROTO_SURVEYOR0 survey.c xsurvey.c) -nng_headers_if(NNG_PROTO_SURVEYOR0 nng/protocol/survey0/survey.h) nng_defines_if(NNG_PROTO_SURVEYOR0 NNG_HAVE_SURVEYOR0) nng_sources_if(NNG_PROTO_RESPONDENT0 respond.c xrespond.c) -nng_headers_if(NNG_PROTO_RESPONDENT0 nng/protocol/survey0/respond.h) nng_defines_if(NNG_PROTO_RESPONDENT0 NNG_HAVE_RESPONDENT0) nng_test(respond_test) nng_test(survey_test) nng_test(xrespond_test) -nng_test(xsurvey_test)
\ No newline at end of file +nng_test(xsurvey_test) |
