-
-
Notifications
You must be signed in to change notification settings - Fork 497
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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.)
- Loading branch information
Showing
39 changed files
with
93 additions
and
746 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
= nng_inproc(7) | ||
// | ||
// Copyright 2019 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2024 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2018 Capitar IT Group BV <[email protected]> | ||
// | ||
// This document is supplied under the terms of the MIT License, a | ||
|
@@ -13,15 +13,6 @@ | |
|
||
nng_inproc - intra-process transport | ||
|
||
== SYNOPSIS | ||
|
||
[source,c] | ||
---- | ||
#include <nng/transport/inproc/inproc.h> | ||
int nng_inproc_register(void); | ||
---- | ||
|
||
== DESCRIPTION | ||
|
||
(((transport, _inproc_))) | ||
|
@@ -34,12 +25,8 @@ to slower transports when data must be moved within the same process. | |
This transport tries hard to avoid copying data, and thus is very | ||
light-weight. | ||
|
||
=== Registration | ||
|
||
This transport is generally built-in to the core, so | ||
no extra steps to use it should be necessary. | ||
|
||
=== URI Format | ||
|
||
(((URI, `inproc://`))) | ||
This transport uses URIs using the scheme `inproc://`, followed by | ||
an arbitrary string of text, terminated by a `NUL` byte. | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
= nng_ipc(7) | ||
// | ||
// Copyright 2023 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2024 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2018 Capitar IT Group BV <[email protected]> | ||
// | ||
// This document is supplied under the terms of the MIT License, a | ||
|
@@ -13,15 +13,6 @@ | |
|
||
nng_ipc - IPC transport | ||
|
||
== SYNOPSIS | ||
|
||
[source,c] | ||
---- | ||
#include <nng/transport/ipc/ipc.h> | ||
int nng_ipc_register(void); | ||
---- | ||
|
||
== DESCRIPTION | ||
|
||
(((IPC)))(((transport, _ipc_))) | ||
|
@@ -33,11 +24,6 @@ Other platforms may have different implementation strategies. | |
|
||
// We need to insert a reference to the nanomsg RFC. | ||
|
||
=== Registration | ||
|
||
This transport is generally built-in to the core, so | ||
no extra steps to use it should be necessary. | ||
|
||
=== URI Formats | ||
|
||
==== Traditional Names | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
= nng_tcp(7) | ||
// | ||
// Copyright 2019 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2024 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2018 Capitar IT Group BV <[email protected]> | ||
// | ||
// This document is supplied under the terms of the MIT License, a | ||
|
@@ -13,15 +13,6 @@ | |
|
||
nng_tcp - TCP/IP transport | ||
|
||
== SYNOPSIS | ||
|
||
[source,c] | ||
---- | ||
#include <nng/transport/tcp/tcp.h> | ||
int nng_tcp_register(void); | ||
---- | ||
|
||
== DESCRIPTION | ||
|
||
(((transport, _tcp_))) | ||
|
@@ -31,11 +22,6 @@ Both IPv4 and IPv6 are supported when the underlying platform also supports it. | |
|
||
// We need to insert a reference to the nanomsg RFC. | ||
|
||
=== Registration | ||
|
||
This transport is generally built-in to the core of _NNG_, so | ||
no extra steps to use it should be necessary. | ||
|
||
=== URI Format | ||
|
||
(((URI, `tcp://`))) | ||
|
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
= nng_tls(7) | ||
// | ||
// Copyright 2019 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2024 Staysail Systems, Inc. <[email protected]> | ||
// Copyright 2018 Capitar IT Group BV <[email protected]> | ||
// | ||
// This document is supplied under the terms of the MIT License, a | ||
|
@@ -13,15 +13,6 @@ | |
|
||
nng_tls - TLS transport | ||
|
||
== SYNOPSIS | ||
|
||
[source,c] | ||
---- | ||
#include <nng/transport/tls/tls.h> | ||
int nng_tls_register(void); | ||
---- | ||
|
||
== DESCRIPTION | ||
|
||
(((TLS)))(((Transport Layer Security)))(((transport, _tls_))) | ||
|
@@ -34,12 +25,6 @@ Both IPv4 and IPv6 are supported when the underlying platform also supports it. | |
The protocol details are documented in | ||
http://nanomsg.org/rfcs/sp-tls-v1.html[TLS Mapping for Scalability Protocols]. | ||
|
||
=== Registration | ||
|
||
Depending upon how the library was built, it may be necessary to | ||
register the transport by calling | ||
xref:nng_tls_register.3.adoc[`nng_tls_register()`]. | ||
|
||
=== Availability | ||
|
||
The _tls_ transport depends on the use of an external library. | ||
|
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.