2008-08-07 14:26:07 +02:00
|
|
|
/****************************************************************************
|
|
|
|
*
|
|
|
|
* DVD ISO9660/Joliet Parsing
|
|
|
|
*
|
|
|
|
* This is not intended as a complete guide to ISO9660.
|
|
|
|
* Here I use the bare minimum!
|
|
|
|
***************************************************************************/
|
2008-08-19 19:15:08 +02:00
|
|
|
#ifndef _ISO9660_H
|
|
|
|
#define _ISO9660_H
|
2008-08-07 14:26:07 +02:00
|
|
|
|
|
|
|
#define MAXJOLIET 256
|
|
|
|
#define MAXFILES 1000 /** Restrict to 1000 files per dir **/
|
|
|
|
|
|
|
|
typedef struct
|
|
|
|
{
|
|
|
|
u64 offset;
|
|
|
|
unsigned int length;
|
|
|
|
char flags;
|
|
|
|
char filename[MAXJOLIET];
|
|
|
|
u16 filename_offset;
|
|
|
|
} FILEENTRIES;
|
|
|
|
|
|
|
|
extern u64 basedir;
|
|
|
|
extern u64 rootdir;
|
|
|
|
extern int rootdirlength;
|
|
|
|
|
|
|
|
extern int getpvd ();
|
|
|
|
extern int parseDVDdirectory ();
|
|
|
|
extern FILEENTRIES filelist[MAXFILES];
|
|
|
|
|
|
|
|
#endif
|