SSBM Decomp
Loading...
Searching...
No Matches
fileCache.h File Reference

Go to the source code of this file.

Data Structures

struct  DSCacheNode
struct  DSCache

Macros

#define DS_AUTO_PURGE   0
#define DS_NO_PURGE   1

Typedefs

typedef struct DSCacheNodeDSCacheNodePtr
typedef struct DSCacheDSCachePtr

Functions

DSCacheNodePtr DSAddCacheNode (DSCachePtr cache, char *name, Ptr data, Ptr OSFreeFunc)
void DSEmptyCache (DSCachePtr cache)
Ptr DSGetCacheObj (DSCachePtr cache, char *name)
void DSInitCache (DSCachePtr cache)
void DSPurgeCache (DSCachePtr cache)
void DSReleaseCacheObj (DSCachePtr cache, Ptr data)
void DSSetCachePurgeFlag (DSCachePtr cache, u8 purgeFlag)
void CSHInitDisplayCache (void)

Variables

DSCache DODisplayCache
u8 DOCacheInitialized

Macro Definition Documentation

◆ DS_AUTO_PURGE

#define DS_AUTO_PURGE   0

◆ DS_NO_PURGE

#define DS_NO_PURGE   1

Typedef Documentation

◆ DSCacheNodePtr

typedef struct DSCacheNode * DSCacheNodePtr

◆ DSCachePtr

typedef struct DSCache * DSCachePtr

Function Documentation

◆ DSAddCacheNode()

DSCacheNodePtr DSAddCacheNode ( DSCachePtr cache,
char * name,
Ptr data,
Ptr OSFreeFunc )

◆ DSEmptyCache()

void DSEmptyCache ( DSCachePtr cache)

◆ DSGetCacheObj()

Ptr DSGetCacheObj ( DSCachePtr cache,
char * name )

◆ DSInitCache()

void DSInitCache ( DSCachePtr cache)

◆ DSPurgeCache()

void DSPurgeCache ( DSCachePtr cache)

◆ DSReleaseCacheObj()

void DSReleaseCacheObj ( DSCachePtr cache,
Ptr data )

◆ DSSetCachePurgeFlag()

void DSSetCachePurgeFlag ( DSCachePtr cache,
u8 purgeFlag )

◆ CSHInitDisplayCache()

void CSHInitDisplayCache ( void )

Variable Documentation

◆ DODisplayCache

DSCache DODisplayCache
extern

◆ DOCacheInitialized

u8 DOCacheInitialized
extern