about summary refs log tree commit diff
path: root/src/snapshot.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/snapshot.h')
-rw-r--r--src/snapshot.h19
1 files changed, 0 insertions, 19 deletions
diff --git a/src/snapshot.h b/src/snapshot.h
deleted file mode 100644
index 9d803486..00000000
--- a/src/snapshot.h
+++ /dev/null
@@ -1,19 +0,0 @@
-
-struct snapshot
-{
-	int num_items;
-	int offsets[1];
-
-	struct item
-	{
-		int type_and_id;
-		char data[1];
-		
-		int type() { return type_and_id>>16; }
-		int id() { return type_and_id&(0xffff); }
-	};
-	
-	char *data_start() { return (char *)&offsets[num_items]; }
-	item *get_item(int index) { return (item *)(data_start() + offsets[index]); };
-};
-