LibXenon
Bare-metal Xbox 360 homebrew library
Loading...
Searching...
No Matches
Data Structures | Macros | Typedefs | Functions
iso9660.c File Reference
#include <iso9660/iso9660.h>
#include <xetypes.h>
#include <ppc/atomic.h>
#include <diskio/disc_io.h>
#include <fcntl.h>
#include <sys/dirent.h>
#include <debug.h>
#include <stdio.h>
#include <ctype.h>
#include <string.h>
#include <malloc.h>
Include dependency graph for iso9660.c:

Go to the source code of this file.

Data Structures

struct  iso_dirent_t
 
struct  filestruct_s
 
struct  cache_block_t
 

Macros

#define MAX_FN_LEN   256
 
#define DBG_NOTICE   "[iso9660] Notice: "
 
#define DBG_ERROR   "[iso9660] Error: "
 
#define dbglog(sev, prm...)   printf(sev prm);
 
#define O_DIR   0x100000
 
#define MAX_ISO_FILES   8
 
#define NUM_CACHE_BLOCKS   16
 

Typedefs

typedef struct filestruct_s FILE_STRUCT
 

Functions

int iso_reset ()
 
int fs_iso9660_init ()
 
int fs_iso9660_shutdown ()
 
bool ISO9660_Mount (const char *name, const DISC_INTERFACE *disc_interface)
 
bool ISO9660_Unmount (const char *name)
 
const char * ISO9660_GetVolumeLabel (const char *name)
 

Macro Definition Documentation

◆ DBG_ERROR

#define DBG_ERROR   "[iso9660] Error: "

Definition at line 47 of file iso9660.c.

◆ DBG_NOTICE

#define DBG_NOTICE   "[iso9660] Notice: "

Definition at line 46 of file iso9660.c.

◆ dbglog

#define dbglog (   sev,
  prm... 
)    printf(sev prm);

Definition at line 49 of file iso9660.c.

◆ MAX_FN_LEN

#define MAX_FN_LEN   256

Definition at line 45 of file iso9660.c.

◆ MAX_ISO_FILES

#define MAX_ISO_FILES   8

Definition at line 52 of file iso9660.c.

◆ NUM_CACHE_BLOCKS

#define NUM_CACHE_BLOCKS   16

Definition at line 202 of file iso9660.c.

◆ O_DIR

#define O_DIR   0x100000

Definition at line 51 of file iso9660.c.

Typedef Documentation

◆ FILE_STRUCT

typedef struct filestruct_s FILE_STRUCT

Function Documentation

◆ fs_iso9660_init()

int fs_iso9660_init ( )

Definition at line 851 of file iso9660.c.

◆ fs_iso9660_shutdown()

int fs_iso9660_shutdown ( )

Definition at line 884 of file iso9660.c.

◆ ISO9660_GetVolumeLabel()

const char * ISO9660_GetVolumeLabel ( const char *  name)

Definition at line 1187 of file iso9660.c.

◆ ISO9660_Mount()

bool ISO9660_Mount ( const char *  name,
const DISC_INTERFACE disc_interface 
)

Definition at line 1115 of file iso9660.c.

◆ ISO9660_Unmount()

bool ISO9660_Unmount ( const char *  name)

Definition at line 1176 of file iso9660.c.

◆ iso_reset()

int iso_reset ( )

Definition at line 812 of file iso9660.c.

Variable Documentation

◆ broken

int broken

Definition at line 539 of file iso9660.c.

◆ dir

int dir

Definition at line 535 of file iso9660.c.

◆ dirent

struct dirent dirent

Definition at line 538 of file iso9660.c.

◆ first_extent

u32 first_extent

Definition at line 534 of file iso9660.c.

◆ ptr

u32 ptr

Definition at line 536 of file iso9660.c.

◆ size

u32 size

Definition at line 537 of file iso9660.c.