chiark
/
gitweb
/
~mdw
/
dvdrip
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
dvd-id.c, lib.[ch]: Improve DVD ID computation.
[dvdrip]
/
lib.h
diff --git
a/lib.h
b/lib.h
index 0198c346b4ecb340bced02d7f761a3266ceccd45..bad7c3b283e587fd86faba14f9a1e2cd92a4f458 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 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;
struct banner_progress_item {
struct progress_item _base;
const char *msg;