summaryrefslogtreecommitdiff
path: root/src/msg.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/msg.cpp')
-rw-r--r--src/msg.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/msg.cpp b/src/msg.cpp
index e51ab67..fba7ec9 100644
--- a/src/msg.cpp
+++ b/src/msg.cpp
@@ -237,6 +237,11 @@ bool zmq::msg_t::is_delimiter ()
return u.base.type == type_delimiter;
}
+bool zmq::msg_t::is_vsm ()
+{
+ return u.base.type == type_vsm;
+}
+
void zmq::msg_t::add_refs (int refs_)
{
zmq_assert (refs_ >= 0);
@@ -279,3 +284,4 @@ bool zmq::msg_t::rm_refs (int refs_)
return true;
}
+