summaryrefslogtreecommitdiff
path: root/src/wire.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/wire.hpp')
-rw-r--r--src/wire.hpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/wire.hpp b/src/wire.hpp
index 6d1e11b..f840fce 100644
--- a/src/wire.hpp
+++ b/src/wire.hpp
@@ -23,6 +23,10 @@
#include "stdint.hpp"
+// Protocol-related constants.
+#define XS_CMD_SUBSCRIBE 1
+#define XS_CMD_UNSUBSCRIBE 2
+
namespace xs
{