From 475f4c8abfdd9c88b585105c48839f51d7523d57 Mon Sep 17 00:00:00 2001 From: Garrett D'Amore Date: Tue, 31 Oct 2017 00:47:21 -0700 Subject: fixes #137 Remove public access to numeric protocols --- docs/libnng.adoc | 2 -- docs/nng_pub.adoc | 3 --- docs/nng_sub.adoc | 3 --- 3 files changed, 8 deletions(-) (limited to 'docs') 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. |<>|create and start a dialer |<>|get a socket option |<>|create and start a listener -|<>|return the protocol number for socket -|<>|return peer protocol number for socket |<>|receive data |<>|send data |<>|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 -#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 -#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); -- cgit v1.2.3-70-g09d2