From c80e7b80cc726ca7c29493c2553c8d19792bb6e5 Mon Sep 17 00:00:00 2001 From: Martin Sustrik Date: Sat, 4 Dec 2010 23:14:38 +0100 Subject: XPUB and XSUB socket types added. These are just placeholders. At the moment XPUB behaves th same as PUB and XSUB as SUB. Signed-off-by: Martin Sustrik --- include/zmq.h | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'include') diff --git a/include/zmq.h b/include/zmq.h index 692f1c1..997595b 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -68,7 +68,7 @@ ZMQ_EXPORT void zmq_version (int *major, int *minor, int *patch); /* 0MQ errors. */ /******************************************************************************/ -/* A number random anough not to collide with different errno ranges on */ +/* A number random enough not to collide with different errno ranges on */ /* different OSes. The assumption is that error_t is at least 32-bit type. */ #define ZMQ_HAUSNUMERO 156384712 @@ -178,6 +178,8 @@ ZMQ_EXPORT int zmq_term (void *context); #define ZMQ_XREP 6 #define ZMQ_PULL 7 #define ZMQ_PUSH 8 +#define ZMQ_XPUB 9 +#define ZMQ_XSUB 10 #define ZMQ_UPSTREAM ZMQ_PULL /* Old alias, remove in 3.x */ #define ZMQ_DOWNSTREAM ZMQ_PUSH /* Old alias, remove in 3.x */ -- cgit v1.2.3