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

open.c File Reference

#include "fat.h"

Defines

#define LOG_PRINTF(s)

Functions

int fat_openfiles (tVolume *V)
int fat_isopen (tFileId *Fid)
static int write_direntry (tFile *F)
int fat_syncentry (tFile *F)
void fat_syncpos (tFile *F)
static tFiletake_file (void)
void fat_split_path (const char *FullPath, char *Path, char *Name)
static void rewind_file (tFile *F)
static int set_opening_mode (tFile *F, DWORD Mode)
static int open_existing (tFile *Fp, tFile *Ff, tDirEntry *D, DWORD Mode)
static int descend_path (tVolume *V, char *Path, tFile **Fp)
static int validate_open_arguments (DWORD Mode)
int fat_open (tVolume *V, char *FileName, DWORD Mode, WORD Attr, WORD AliasHint, tFile **F)
int fat_reopendir (tVolume *V, tFindRes *Id, tFile **F)
int fat_fflush (tFile *F)
int fat_close (tFile *F)

Variables

static int NumFiles = FAT_MAX_NOF_OPEN_FILES
static tFile Files [FAT_MAX_NOF_OPEN_FILES]

Define Documentation

#define LOG_PRINTF  ) 
 


Function Documentation

static int descend_path tVolume V,
char *  Path,
tFile **  Fp
[static]
 

int fat_close tFile F  ) 
 

int fat_fflush tFile F  ) 
 

int fat_isopen tFileId Fid  ) 
 

int fat_open tVolume V,
char *  FileName,
DWORD  Mode,
WORD  Attr,
WORD  AliasHint,
tFile **  F
 

int fat_openfiles tVolume V  ) 
 

int fat_reopendir tVolume V,
tFindRes *  Id,
tFile **  F
 

void fat_split_path const char *  FullPath,
char *  Path,
char *  Name
 

int fat_syncentry tFile F  ) 
 

void fat_syncpos tFile F  ) 
 

static int open_existing tFile Fp,
tFile Ff,
tDirEntry *  D,
DWORD  Mode
[static]
 

static void rewind_file tFile F  )  [static]
 

static int set_opening_mode tFile F,
DWORD  Mode
[static]
 

static tFile* take_file void   )  [static]
 

static int validate_open_arguments DWORD  Mode  )  [static]
 

static int write_direntry tFile F  )  [static]
 


Variable Documentation

tFile Files[FAT_MAX_NOF_OPEN_FILES] [static]
 

int NumFiles = FAT_MAX_NOF_OPEN_FILES [static]
 


Generated on Fri Feb 24 14:13:22 2006 for VDK Blacksheep by  doxygen 1.4.1