summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/protocol.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/libglusterfs/src/protocol.h b/libglusterfs/src/protocol.h
index b17f83bcd8f..10db213f5af 100644
--- a/libglusterfs/src/protocol.h
+++ b/libglusterfs/src/protocol.h
@@ -35,6 +35,11 @@
#include "byte-order.h"
+/* Any changes in the protocol structure or adding new '[f,m]ops' needs to
+ * bump the protocol version by "0.1"
+ */
+/* Protocol version 1.0 was ASCII based dictionary protocol */
+#define GF_PROTOCOL_VERSION "2.0"
struct gf_stat {
uint64_t ino;