diff --git a/configure.py b/configure.py
index 4f462a65cd..567ca2ede2 100755
--- a/configure.py
+++ b/configure.py
@@ -473,6 +473,8 @@ idls = ['idl/gossip_digest.idl.hh',
'idl/paging_state.idl.hh',
'idl/frozen_schema.idl.hh',
'idl/partition_checksum.idl.hh',
+ 'idl/replay_position.idl.hh',
+ 'idl/truncation_record.idl.hh',
]
scylla_tests_dependencies = scylla_core + api + idls + [
diff --git a/idl/replay_position.idl.hh b/idl/replay_position.idl.hh
new file mode 100644
index 0000000000..f1d1dc8edf
--- /dev/null
+++ b/idl/replay_position.idl.hh
@@ -0,0 +1,27 @@
+/*
+ * Copyright 2016 ScyllaDB
+ */
+
+/*
+ * This file is part of Scylla.
+ *
+ * Scylla is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Scylla is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Scylla. If not, see .
+ */
+
+namespace db {
+struct replay_position {
+ uint64_t id;
+ uint32_t pos;
+};
+}
diff --git a/idl/truncation_record.idl.hh b/idl/truncation_record.idl.hh
new file mode 100644
index 0000000000..a49546d25f
--- /dev/null
+++ b/idl/truncation_record.idl.hh
@@ -0,0 +1,30 @@
+/*
+ * Copyright 2016 ScyllaDB
+ */
+
+/*
+ * This file is part of Scylla.
+ *
+ * Scylla is free software: you can redistribute it and/or modify
+ * it under the terms of the GNU Affero General Public License as published by
+ * the Free Software Foundation, either version 3 of the License, or
+ * (at your option) any later version.
+ *
+ * Scylla is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+ * GNU General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with Scylla. If not, see .
+ */
+
+namespace db {
+namespace system_keyspace {
+struct truncation_record {
+ uint32_t magic;
+ std::vector positions;
+ db_clock::time_point time_stamp;
+};
+}
+}