/Users/david.perry/projects/pge/pgeFile.h File Reference

#include <pspiofilemgr.h>

Data Structures

struct  pgeDirEntry
struct  pgeDir

Typedefs

typedef struct pgeFileStruct pgeFile

Enumerations

enum  pgeFileTypes {
  PGE_FILE_TYPE_MEM = 1,
  PGE_FILE_TYPE_FILE,
  PGE_FILE_TYPE_AFILE
}
enum  pgeFileSeekTypes {
  PGE_FILE_SET = 0,
  PGE_FILE_CUR,
  PGE_FILE_END
}
enum  pgeFileFlags {
  PGE_FILE_RDONLY = PSP_O_RDONLY,
  PGE_FILE_WRONLY = PSP_O_WRONLY,
  PGE_FILE_RDWR = PSP_O_RDWR,
  PGE_FILE_APPEND = PSP_O_APPEND,
  PGE_FILE_CREATE = PSP_O_CREAT,
  PGE_FILE_TRUNC = PSP_O_TRUNC,
  PGE_FILE_ALL = PGE_FILE_RDWR|PGE_FILE_APPEND|PGE_FILE_CREATE|PGE_FILE_TRUNC
}
enum  pgeDirEntryTypes {
  PGE_DIR_ENTRY_TYPE_FILE,
  PGE_DIR_ENTRY_TYPE_DIR
}

Functions

pgeFilepgeFileOpen (char *name, int flags)
pgeFilepgeFileOpenAsync (char *name, int flags)
pgeFilepgeFileOpenMemory (char *data, int size)
int pgeFileClose (pgeFile *s)
int pgeFileRead (pgeFile *s, void *buf, unsigned int size)
int pgeFileWrite (pgeFile *s, void *buf, unsigned int size)
int pgeFileSeek (pgeFile *s, int offs, unsigned int dir)
int pgeFileTell (pgeFile *s)
int pgeFileRewind (pgeFile *s)
unsigned int pgeFileSize (pgeFile *s)
int pgeFileRemove (const char *filepath)
int pgeFileRename (const char *oldname, const char *newname)
int pgeFileExists (const char *filename)
int pgeFileMkdir (const char *name)
int pgeFileRmdir (const char *dirpath)
int pgeFileChdir (const char *path)
int pgeFileGetCwd (char *path, unsigned int size)
pgeDirpgeFileOpenDir (const char *path)
int pgeFileReadDir (pgeDir *dir)
void pgeFileCloseDir (pgeDir *dir)
int pgeFileExistsDir (const char *dirname)

Generated on Mon Sep 22 16:58:14 2008 for Phoenix Game Engine by  doxygen 1.5.5