summaryrefslogtreecommitdiffstats
path: root/dvdread/dvdread_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'dvdread/dvdread_internal.h')
-rw-r--r--dvdread/dvdread_internal.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/dvdread/dvdread_internal.h b/dvdread/dvdread_internal.h
new file mode 100644
index 0000000..995d491
--- /dev/null
+++ b/dvdread/dvdread_internal.h
@@ -0,0 +1,18 @@
+/* -*- c-basic-offset: 2; indent-tabs-mode: nil -*- */
+#ifndef DVDREAD_INTERNAL_H
+#define DVDREAD_INTERNAL_H
+
+
+#define CHECK_VALUE(arg) \
+ if(!(arg)) { \
+ fprintf(stderr, "\n*** libdvdread: CHECK_VALUE failed in %s:%i ***" \
+ "\n*** for %s ***\n\n", \
+ __FILE__, __LINE__, # arg ); \
+ }
+
+
+int get_verbose(void);
+int dvdread_verbose(dvd_reader_t *dvd);
+dvd_reader_t *device_of_file(dvd_file_t *file);
+
+#endif /* DVDREAD_INTERNAL_H */