Add qemu 2.4.0
[kvmfornfv.git] / qemu / roms / openbios / fs / iso9660 / libiso9660.h
1 /*
2  *
3  * (c) 2005-2009 Laurent Vivier <Laurent@vivier.eu>
4  *
5  * This file has been copied from EMILE, http://emile.sf.net
6  *
7  */
8
9 #ifndef __LIBISO9660_H__
10 #define __LIBISO9660_H__
11
12 #include "config.h"
13 #include "iso9660.h"
14
15 extern iso9660_VOLUME* iso9660_mount(int fd);
16 extern int iso9660_umount(iso9660_VOLUME *volume);
17 extern int iso9660_probe(int fd, long long offs);
18 extern iso9660_DIR* iso9660_opendir(iso9660_VOLUME *, const char *name);
19 extern iso9660_FILE* iso9660_open(iso9660_VOLUME *, const char *pathname);
20 extern int iso9660_closedir(iso9660_DIR *dir);
21 extern struct iso_directory_record *iso9660_readdir(iso9660_DIR *dir);
22 extern size_t iso9660_read(iso9660_FILE *file, char *buf, size_t count);
23 extern void iso9660_close(iso9660_FILE *file);
24 extern int iso9660_lseek(iso9660_FILE *file, long offset, int whence);
25 extern void iso9660_name(iso9660_VOLUME *volume, struct iso_directory_record * idr, char *buffer);
26
27 #endif /* __LIBISO9660_H__ */