aboutsummaryrefslogtreecommitdiff
path: root/open_image.h
diff options
context:
space:
mode:
Diffstat (limited to 'open_image.h')
-rw-r--r--open_image.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/open_image.h b/open_image.h
new file mode 100644
index 0000000..cfd7a80
--- /dev/null
+++ b/open_image.h
@@ -0,0 +1,17 @@
+#include "xdf_io.h"
+
+/* plain io */
+#define NO_PRIV 1
+#define SKIP_PARTITION 2
+#define ALWAYS_GET_GEOMETRY 4
+
+Stream_t *OpenImage(struct device *out_dev, struct device *dev,
+ const char *name, int mode, char *errmsg,
+ int flags, int lockMode,
+ mt_off_t *maxSize, int *geomFailureP,
+#ifdef USE_XDF
+ struct xdf_info *xdf_info
+#else
+ void *dummy
+#endif
+ );