File: open_image.h

package info (click to toggle)
mtools 4.0.49-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 2,532 kB
  • sloc: ansic: 20,351; sh: 5,572; makefile: 234; sed: 7
file content (17 lines) | stat: -rw-r--r-- 384 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
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
		    );