2005-11-12 19:12:13 +00:00
|
|
|
/*
|
|
|
|
*
|
2013-09-05 12:39:22 +00:00
|
|
|
* (c) 2005 Laurent Vivier <Laurent@Vivier.EU>
|
2005-11-12 19:12:13 +00:00
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef __LIBISO9660_H__
|
|
|
|
#define __LIBISO9660_H__
|
|
|
|
|
|
|
|
#include <unistd.h>
|
|
|
|
#include <linux/iso_fs.h>
|
|
|
|
|
2005-11-21 22:07:17 +00:00
|
|
|
#include <libstream.h>
|
2005-11-13 19:43:28 +00:00
|
|
|
|
2008-04-20 16:29:49 +00:00
|
|
|
extern int iso9660_init(device_io_t *device, filesystem_io_t *fs);
|
|
|
|
extern stream_VOLUME* iso9660_mount(device_io_t *device);
|
|
|
|
extern int iso9660_umount(stream_VOLUME *volume);
|
|
|
|
extern stream_DIR* iso9660_opendir(stream_VOLUME *, char *name);
|
|
|
|
extern stream_FILE* iso9660_open(stream_VOLUME *, char* pathname);
|
|
|
|
extern int iso9660_closedir(stream_DIR *dir);
|
|
|
|
extern struct iso_directory_record *iso9660_readdir(stream_DIR *dir);
|
2005-11-12 19:12:13 +00:00
|
|
|
extern int iso9660_is_directory(struct iso_directory_record * idr);
|
2008-04-20 16:29:49 +00:00
|
|
|
extern size_t iso9660_read(stream_FILE *file, void *buf, size_t count);
|
|
|
|
extern void iso9660_close(stream_FILE *file);
|
|
|
|
extern int iso9660_lseek(stream_FILE *file, long offset, int whence);
|
|
|
|
extern int iso9660_fstat(stream_FILE *file, struct stream_stat *buf);
|
|
|
|
extern void iso9660_name(stream_VOLUME *volume, struct iso_directory_record * idr, char *buffer);
|
2005-11-12 19:12:13 +00:00
|
|
|
|
|
|
|
#endif /* __LIBISO9660_H__ */
|