aboutsummaryrefslogtreecommitdiff
path: root/src/nng_compat.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nng_compat.h')
-rw-r--r--src/nng_compat.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/nng_compat.h b/src/nng_compat.h
index e83c20b8..76494b5c 100644
--- a/src/nng_compat.h
+++ b/src/nng_compat.h
@@ -72,6 +72,8 @@ extern "C" {
#define NN_PROTO_BUS 7
#define NN_PAIR (NN_PROTO_PAIR * 16 + 0)
+#define NN_PAIR_v0 (NN_PROTO_PAIR * 16 + 0)
+#define NN_PAIR_V1 (NN_PROTO_PAIR * 16 + 1)
#define NN_PUB (NN_PROTO_PUBSUB * 16 + 0)
#define NN_SUB (NN_PROTO_PUBSUB * 16 + 1)
#define NN_REQ (NN_PROTO_REQREP * 16 + 0)