Twilight Princess
Decompilation of The Legend of Zelda: Twilight Princess
Loading...
Searching...
No Matches
arc.c File Reference

Classes

struct  FSTEntry
 

Functions

int tolower (int c)
 
BOOL ARCInitHandle (void *arcStart, ARCHandle *handle)
 
BOOL ARCFastOpen (ARCHandle *handle, s32 entrynum, ARCFileInfo *af)
 
static BOOL isSame (const char *path, const char *string)
 
s32 ARCConvertPathToEntrynum (ARCHandle *handle, const char *pathPtr)
 
static u32 myStrncpy (char *dest, char *src, u32 maxlen)
 
static u32 entryToPath (ARCHandle *handle, u32 entry, char *path, u32 maxlen)
 
static BOOL ARCConvertEntrynumToPath (ARCHandle *handle, s32 entrynum, char *path, u32 maxlen)
 
static BOOL ARCGetCurrentDir (ARCHandle *handle, char *path, u32 maxlen)
 
void * ARCGetStartAddrInMem (ARCFileInfo *af)
 
u32 ARCGetLength (ARCFileInfo *af)
 
BOOL ARCClose (ARCFileInfo *af)
 
BOOL ARCChangeDir (ARCHandle *handle, const char *dirName)
 
BOOL ARCOpenDir (ARCHandle *handle, const char *dirName, ARCDir *dir)
 
BOOL ARCReadDir (ARCDir *dir, ARCDirEntry *dirent)
 
BOOL ARCCloseDir (ARCDir *dir)
 

Function Documentation

◆ ARCChangeDir()

BOOL ARCChangeDir ( ARCHandle * handle,
const char * dirName )

◆ ARCClose()

BOOL ARCClose ( ARCFileInfo * af)

◆ ARCCloseDir()

BOOL ARCCloseDir ( ARCDir * dir)

◆ ARCConvertEntrynumToPath()

static BOOL ARCConvertEntrynumToPath ( ARCHandle * handle,
s32 entrynum,
char * path,
u32 maxlen )
static

◆ ARCConvertPathToEntrynum()

s32 ARCConvertPathToEntrynum ( ARCHandle * handle,
const char * pathPtr )

◆ ARCFastOpen()

BOOL ARCFastOpen ( ARCHandle * handle,
s32 entrynum,
ARCFileInfo * af )

◆ ARCGetCurrentDir()

static BOOL ARCGetCurrentDir ( ARCHandle * handle,
char * path,
u32 maxlen )
static

◆ ARCGetLength()

u32 ARCGetLength ( ARCFileInfo * af)

◆ ARCGetStartAddrInMem()

void * ARCGetStartAddrInMem ( ARCFileInfo * af)

◆ ARCInitHandle()

BOOL ARCInitHandle ( void * arcStart,
ARCHandle * handle )

◆ ARCOpenDir()

BOOL ARCOpenDir ( ARCHandle * handle,
const char * dirName,
ARCDir * dir )

◆ ARCReadDir()

BOOL ARCReadDir ( ARCDir * dir,
ARCDirEntry * dirent )

◆ entryToPath()

static u32 entryToPath ( ARCHandle * handle,
u32 entry,
char * path,
u32 maxlen )
static

◆ isSame()

static BOOL isSame ( const char * path,
const char * string )
static

◆ myStrncpy()

static u32 myStrncpy ( char * dest,
char * src,
u32 maxlen )
static

◆ tolower()

int tolower ( int c)
inline