summaryrefslogtreecommitdiff
path: root/src/options.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/options.hpp')
-rw-r--r--src/options.hpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/options.hpp b/src/options.hpp
index 3e47336..c1e4dda 100644
--- a/src/options.hpp
+++ b/src/options.hpp
@@ -92,6 +92,9 @@ namespace xs
// If 1, keepalives are to be sent periodically.
int keepalive;
+ // Version of wire protocol to use.
+ int protocol;
+
// If true, session reads all the pending messages from the pipe and
// sends them to the network when socket is closed.
bool delay_on_close;