Skip to content

Commit

Permalink
fixes #294 rename nng_zerotier_xxx to nng_zt_xxx
Browse files Browse the repository at this point in the history
  • Loading branch information
gdamore committed Mar 18, 2018
1 parent 2e6f766 commit d759d47
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/man/libnng.3.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -190,7 +190,7 @@ The following functions are used to register a transport for use.
| <<nng_tls_register.3#,nng_tls_register()>>|register TLS transport
| <<nng_ws_register.3#,nng_ws_register()>>|register WebSocket transport
| <<nng_wss_register.3#,nng_wss_register()>>|register WebSocket Secure transport
| <<nng_zerotier_register.3#,nng_zerotier_register()>>|register ZeroTier transport
| <<nng_zt_register.3#,nng_zt_register()>>|register ZeroTier transport
|===

=== URL Object
Expand Down
4 changes: 3 additions & 1 deletion docs/man/nng_zerotier.7.adoc
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,9 @@ concepts and administration.
=== Registration

Depending upon how the library was built, it may be necessary to
register the transport by calling `nng_zt_register()`. This function
register the transport by calling
<<nng_zt_register.3#,`nng_zt_register()`>>.
This function
returns zero on success, or an nng error value if the transport
cannot be initialized for any reason.

Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
= nng_zerotier_register(3)
= nng_zt_register(3)
//
// Copyright 2018 Staysail Systems, Inc. <[email protected]>
// Copyright 2018 Capitar IT Group BV <[email protected]>
Expand All @@ -11,20 +11,20 @@

== NAME

nng_zerotier_register - register ZeroTier transport
nng_zt_register - register ZeroTier transport

== SYNOPSIS

[source,c]
----
#include <nng/transport/zerotier/zerotier.h>
int nng_zerotier_register(void);
int nng_zt_register(void);
----

== DESCRIPTION

The `nng_zerotier_register()` function registers the
The `nng_zt_register()` function registers the
((_zt_ transport))(((transport, _zt_))) for use.

== RETURN VALUES
Expand Down

0 comments on commit d759d47

Please sign in to comment.