summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src/protocol.h
diff options
context:
space:
mode:
Diffstat (limited to 'libglusterfs/src/protocol.h')
-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 4bb379b2f..0f93a993a 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;