1 /* Function prototypes for iso9660 file system. */
7 #include <minix/libminixfs.h>
9 #define get_block(n) lmfs_get_block(fs_dev, n, NORMAL)
10 #define put_block(n) lmfs_put_block(n, FULL_DATA_BLOCK)
14 void reply(int who
, message
*m_out
);
17 int create_dir_record(struct dir_record
*dir
, char *buffer
, u32_t
19 int create_ext_attr(struct ext_attr_rec
*ext
, char *buffer
);
22 struct dir_record
*get_dir_record(ino_t id_dir
);
23 struct dir_record
*get_free_dir_record(void);
24 struct ext_attr_rec
*get_free_ext_attr(void);
25 struct dir_record
*load_dir_record_from_disk(u32_t address
);
26 int release_dir_record(struct dir_record
*dir
);
30 int fs_new_driver(void);
33 int fs_readsuper(void);
34 int fs_mountpoint(void);
39 int advance(struct dir_record
*dirp
, char string
[NAME_MAX
], struct
41 int search_dir(struct dir_record
*ldir_ptr
, char string
[NAME_MAX
], ino_t
*numb
);
46 int fs_getdents(void);
47 int read_chunk(struct dir_record
*rip
, u64_t position
, unsigned off
, int
48 chunk
, unsigned left
, cp_grant_id_t gid
, unsigned buf_off
, int
49 block_size
, int *completed
, int rw
);
56 int release_v_pri(struct iso9660_vd_pri
*v_pri
);
57 int read_vds(struct iso9660_vd_pri
*v_pri
, dev_t dev
);
58 int create_v_pri(struct iso9660_vd_pri
*v_pri
, char *buffer
, unsigned