+#define DR_COMPRESSED 0x0080 /* dump tape is compressed */
+
+/*
+ * compression flags for the tapebuf header.
+ */
+#define COMPRESS_ZLIB 0
+#define COMPRESS_BZLIB 1
+
+/* used for compressed dump tapes */
+struct tapebuf {
+ unsigned int compressed:1;
+ unsigned int flags:3;
+ unsigned int length:28;
+ char buf[0]; /* the data */
+};