Main Page | Modules | Namespace List | Data Structures | Directories | File List | Namespace Members | Data Fields | Globals

fsstreamio.c File Reference

#include <string.h>
#include "fsstreamio.h"

Defines

#define STREAM_ACTIVE_SIGNATURE   0x8C
#define ERR_DEFAULT   -1

Functions

bool strio_formatDevice (void *hMsd)
void * strio_mountPartition (void *hMsd)
bool strio_unmountPartition (void *partition)
unsigned long strio_partitionSize (void *pPartition)
unsigned long strio_partitionFree (void *pPartition)
bool strio_fdirExists (void *partition, const char *dir)
bool strio_fdirEmpty (void *partition, const char *dir)
int strio_fmkdir (void *partition, const char *dir)
int strio_frmdir (void *partition, const char *dir)
int strio_fdelete (void *pPartition, const char *filename)
void * strio_fopen (void *pPartition, const char *fname, unsigned short modebits)
int strio_fclose (void *stream)
int strio_feof (void *stream)
int strio_fread (void *buffer, size_t size, size_t num, void *stream)
int strio_fwrite (const void *buffer, size_t size, size_t count, void *stream)
int strio_fputc (int ch, void *stream)
int strio_fgetc (void *stream)
int strio_fseek (void *stream, long offset, int origin)
int strio_findFirst (void *partition, const char *pathname, T_FF_INFO *ffblk, int attrib)
int strio_findNext (void *partition, T_FF_INFO *ffblk)
int strio_findClose (T_FF_INFO *ffblk)
T_FS_FUNCTIONSstrio_getFileFunctions (void)

Variables

T_FS_FUNCTIONS g_stStrioFunctions

Define Documentation

#define ERR_DEFAULT   -1
 

#define STREAM_ACTIVE_SIGNATURE   0x8C
 


Function Documentation

int strio_fclose void *  stream  ) 
 

int strio_fdelete void *  pPartition,
const char *  filename
 

bool strio_fdirEmpty void *  partition,
const char *  dir
 

bool strio_fdirExists void *  partition,
const char *  dir
 

int strio_feof void *  stream  ) 
 

int strio_fgetc void *  stream  ) 
 

int strio_findClose T_FF_INFO ffblk  ) 
 

int strio_findFirst void *  partition,
const char *  pathname,
T_FF_INFO ffblk,
int  attrib
 

int strio_findNext void *  partition,
T_FF_INFO ffblk
 

int strio_fmkdir void *  partition,
const char *  dir
 

void* strio_fopen void *  pPartition,
const char *  fname,
unsigned short  modebits
 

bool strio_formatDevice void *  hMsd  ) 
 

int strio_fputc int  ch,
void *  stream
 

int strio_fread void *  buffer,
size_t  size,
size_t  num,
void *  stream
 

int strio_frmdir void *  partition,
const char *  dir
 

int strio_fseek void *  stream,
long  offset,
int  origin
 

int strio_fwrite const void *  buffer,
size_t  size,
size_t  count,
void *  stream
 

T_FS_FUNCTIONS* strio_getFileFunctions void   ) 
 

void* strio_mountPartition void *  hMsd  ) 
 

unsigned long strio_partitionFree void *  pPartition  ) 
 

unsigned long strio_partitionSize void *  pPartition  ) 
 

bool strio_unmountPartition void *  partition  ) 
 


Variable Documentation

T_FS_FUNCTIONS g_stStrioFunctions
 

Initial value:


Generated on Thu Mar 2 16:11:28 2006 for VDK Blacksheep by  doxygen 1.4.1