diff options
| author | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
|---|---|---|
| committer | Garrett D'Amore <garrett@damore.org> | 2017-10-31 00:47:21 -0700 |
| commit | 475f4c8abfdd9c88b585105c48839f51d7523d57 (patch) | |
| tree | f6fa693cd20d1f419ec5a1af0b60ffb798b68b4c /docs | |
| parent | b92320b9afe3771465514286db6ee6746ba512d8 (diff) | |
| download | nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.gz nng-475f4c8abfdd9c88b585105c48839f51d7523d57.tar.bz2 nng-475f4c8abfdd9c88b585105c48839f51d7523d57.zip | |
fixes #137 Remove public access to numeric protocols
Diffstat (limited to 'docs')
| -rw-r--r-- | docs/libnng.adoc | 2 | ||||
| -rw-r--r-- | docs/nng_pub.adoc | 3 | ||||
| -rw-r--r-- | docs/nng_sub.adoc | 3 |
3 files changed, 0 insertions, 8 deletions
diff --git a/docs/libnng.adoc b/docs/libnng.adoc index 108cbad6..da38cb42 100644 --- a/docs/libnng.adoc +++ b/docs/libnng.adoc @@ -52,8 +52,6 @@ The following functions operate on sockets. |<<nng_dial.adoc#,nng_dial(3)>>|create and start a dialer |<<nng_getopt.adoc#,nng_getopt(3)>>|get a socket option |<<nng_listen.adoc#,nng_listen(3)>>|create and start a listener -|<<nng_protocol.adoc#,nng_protocol(3)>>|return the protocol number for socket -|<<nng_peer.adoc#,nng_peer(3)>>|return peer protocol number for socket |<<nng_recv.adoc#,nng_recv(3)>>|receive data |<<nng_send.adoc#,nng_send(3)>>|send data |<<nng_setopt.adoc#,nng_setopt(3)>>|set a socket option diff --git a/docs/nng_pub.adoc b/docs/nng_pub.adoc index a0a603b8..d4db45ae 100644 --- a/docs/nng_pub.adoc +++ b/docs/nng_pub.adoc @@ -23,9 +23,6 @@ SYNOPSIS ---------- #include <nng/protocol/pubsub/pubsub.h> -#define NNG_PROTO_PUB_V0 32 -#define NNG_PROTO_PUB NNG_PROTO_PUB_V0 - int nng_pub_open(nng_socket *s); int nng_pub0_open(nng_socket *s); diff --git a/docs/nng_sub.adoc b/docs/nng_sub.adoc index c7037634..0b409904 100644 --- a/docs/nng_sub.adoc +++ b/docs/nng_sub.adoc @@ -23,9 +23,6 @@ SYNOPSIS ---------- #include <nng/protocol/pubsub/pubsub.h> -#define NNG_PROTO_SUB_V0 33 -#define NNG_PROTO_SUB NNG_PROTO_SUB_V0 - int nng_sub_open(nng_socket *s); int nng_sub0_open(nng_socket *s); |
