dvdrip: Check for the device size apparently changing during the copy.
[dvdrip] / lib.h
diff --git a/lib.h b/lib.h
index 0198c34..bad7c3b 100644 (file)
--- a/lib.h
+++ b/lib.h
@@ -93,6 +93,11 @@ static inline unsigned id_part(ident id) { return ((id >> 16)&0x0ff); }
 #define MAXFNSZ (1 + 8 + 1 + 12 + 1)
 extern void store_filename(char *buf, ident id);
 
+#define DIF_MUSTVOLINF 1u
+#define DIF_MUSTIFOHASH 2u
+#define MAXIDSZ 99
+extern int dvd_id(char *p, dvd_reader_t *dvd, unsigned f, const char *file);
+
 struct banner_progress_item {
   struct progress_item _base;
   const char *msg;