aboutsummaryrefslogtreecommitdiffstats
path: root/src/utils.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils.h')
-rw-r--r--src/utils.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/utils.h b/src/utils.h
index a5aaf8c..7cd9a96 100644
--- a/src/utils.h
+++ b/src/utils.h
@@ -36,6 +36,8 @@ struct zmq_frame_header_t
#define ZMQ_ENCODER_FDK 1
+#define ZMQ_HEADER_SIZE sizeof(struct zmq_frame_header_t)
+
/* The expected frame size incl data of the given frame */
#define ZMQ_FRAME_SIZE(f) (sizeof(struct zmq_frame_header_t) + f->datasize)