From b3667cccf922d5c89ed2a30c8d1b68bec6a96841 Mon Sep 17 00:00:00 2001 From: Doron Somech Date: Tue, 3 May 2016 10:24:27 +0300 Subject: [PATCH] mark zmq_msg new methods as draft --- include/zmq.h | 13 +++++++------ src/precompiled.hpp | 8 +++++++- 2 files changed, 14 insertions(+), 7 deletions(-) diff --git a/include/zmq.h b/include/zmq.h index 54adcaca..ce7e7cf9 100644 --- a/include/zmq.h +++ b/include/zmq.h @@ -237,11 +237,6 @@ ZMQ_EXPORT int zmq_msg_more (zmq_msg_t *msg); ZMQ_EXPORT int zmq_msg_get (zmq_msg_t *msg, int property); ZMQ_EXPORT int zmq_msg_set (zmq_msg_t *msg, int property, int optval); ZMQ_EXPORT const char *zmq_msg_gets (zmq_msg_t *msg, const char *property); -ZMQ_EXPORT int zmq_msg_set_routing_id (zmq_msg_t *msg, uint32_t routing_id); -ZMQ_EXPORT uint32_t zmq_msg_routing_id (zmq_msg_t *msg); -ZMQ_EXPORT int zmq_msg_set_group (zmq_msg_t *msg, const char *group); -ZMQ_EXPORT const char *zmq_msg_group (zmq_msg_t *msg); - /******************************************************************************/ /* 0MQ socket definition. */ @@ -530,10 +525,16 @@ ZMQ_EXPORT void zmq_threadclose (void* thread); #define ZMQ_GATHER 16 #define ZMQ_SCATTER 17 -/* DRAFT Socket events. */ +/* DRAFT Socket methods. */ ZMQ_EXPORT int zmq_join (void *s, const char *group); ZMQ_EXPORT int zmq_leave (void *s, const char *group); +/* DRAFT Msg methods. */ +ZMQ_EXPORT int zmq_msg_set_routing_id(zmq_msg_t *msg, uint32_t routing_id); +ZMQ_EXPORT uint32_t zmq_msg_routing_id(zmq_msg_t *msg); +ZMQ_EXPORT int zmq_msg_set_group(zmq_msg_t *msg, const char *group); +ZMQ_EXPORT const char *zmq_msg_group(zmq_msg_t *msg); + /******************************************************************************/ /* Poller polling on sockets,fd and thread-safe sockets */ /******************************************************************************/ diff --git a/src/precompiled.hpp b/src/precompiled.hpp index e90a8f7d..5a38c6e3 100644 --- a/src/precompiled.hpp +++ b/src/precompiled.hpp @@ -160,10 +160,16 @@ #define ZMQ_GATHER 16 #define ZMQ_SCATTER 17 -/* DRAFT Socket events. */ +/* DRAFT Socket methods. */ int zmq_join (void *s, const char *group); int zmq_leave (void *s, const char *group); +/* DRAFT Msg methods. */ +int zmq_msg_set_routing_id(zmq_msg_t *msg, uint32_t routing_id); +uint32_t zmq_msg_routing_id(zmq_msg_t *msg); +int zmq_msg_set_group(zmq_msg_t *msg, const char *group); +const char *zmq_msg_group(zmq_msg_t *msg); + /******************************************************************************/ /* Poller polling on sockets,fd and thread-safe sockets */ /******************************************************************************/