tools/llvm: Do not build with symbols
[minix3.git] / minix / fs / iso9660fs / proto.h
blobfaa39aaacadd7988c35d4e470c078fd31eb4fef2
1 /* Function prototypes for iso9660 file system. */
3 struct dir_record;
4 struct ext_attr_rec;
5 struct iso9660_vd_pri;
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)
12 /* main.c */
13 int main(void);
14 void reply(int who, message *m_out);
16 /* inode.c */
17 int create_dir_record(struct dir_record *dir, char *buffer, u32_t
18 address);
19 int create_ext_attr(struct ext_attr_rec *ext, char *buffer);
20 int fs_getnode(void);
21 int fs_putnode(void);
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);
28 /* misc.c */
29 int fs_sync(void);
30 int fs_new_driver(void);
32 /* mount.c */
33 int fs_readsuper(void);
34 int fs_mountpoint(void);
35 int fs_unmount(void);
37 /* path.c */
38 int fs_lookup(void);
39 int advance(struct dir_record *dirp, char string[NAME_MAX], struct
40 dir_record **resp);
41 int search_dir(struct dir_record *ldir_ptr, char string [NAME_MAX], ino_t *numb);
43 /* read.c */
44 int fs_read(void);
45 int fs_bread(void);
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);
51 /* stadir.c */
52 int fs_stat(void);
53 int fs_statvfs(void);
55 /* super.c */
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
59 long address);
61 /* utility.c */
62 int do_noop(void);
63 int no_sys(void);