1 #include "xdf_io.h" 2 3 /* plain io */ 4 #define NO_PRIV 1 5 #define SKIP_PARTITION 2 6 #define ALWAYS_GET_GEOMETRY 4 7 8 Stream_t *OpenImage(struct device *out_dev, struct device *dev, 9 const char *name, int mode, char *errmsg, 10 int flags, int lockMode, 11 mt_off_t *maxSize, int *geomFailureP, 12 #ifdef USE_XDF 13 struct xdf_info *xdf_info 14 #else 15 void *dummy 16 #endif 17 ); 18