#include "custom/lib/custom.h"
-#define INDEX_VERSION (0x34010000+sizeof(struct card_attr)) /* Increase with each incompatible change in index format */
+/*
+ * Magic number which should help to avoid mixing incompatible indices.
+ * Syntax: <magic-byte><version><revision><custom-dependent-part>
+ * Remember to increase with each change of index format.
+ */
+
+#ifndef CUSTOM_INDEX_VERSION
+#define CUSTOM_INDEX_VERSION sizeof(struct card_attr)
+#endif
+
+#define INDEX_VERSION (0x32340100+CUSTOM_INDEX_VERSION)
/*
* Words