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

readwrit.c File Reference

#include "fat.h"

Defines

#define LOG_PRINTF(s)

Enumerations

enum  tMoveType { MOVE_ON_READ, MOVE_ON_WRITE }

Functions

static int free_cluster_in_range (tVolume *V, DWORD From, DWORD To, DWORD *Cluster)
static int first_free_cluster (tVolume *V, DWORD *Cluster)
static int allocate_and_link_new_cluster (tFile *F, DWORD *Cluster)
static int allocate_first_cluster (tFile *F, DWORD *Cluster)
static int end_of_file (tFile *F)
static int advance_byte_position (tFile *F)
static int move_to_targetpos (tFile *F, tMoveType Op)
int fat_read (tFile *F, void *Buffer, int Size)
int fat_eof (tFile *F)
static DWORD clusters_amount (DWORD N, tBpb *Bpb)
static int block_is_too_large (tFile *F, DWORD Size)
static int truncate_or_extend (tFile *F)
int fat_write (tFile *F, void *Buffer, int Size)

Define Documentation

#define LOG_PRINTF  ) 
 


Enumeration Type Documentation

enum tMoveType
 

Enumeration values:
MOVE_ON_READ 
MOVE_ON_WRITE 


Function Documentation

static int advance_byte_position tFile F  )  [static]
 

static int allocate_and_link_new_cluster tFile F,
DWORD Cluster
[static]
 

static int allocate_first_cluster tFile F,
DWORD Cluster
[static]
 

static int block_is_too_large tFile F,
DWORD  Size
[inline, static]
 

static DWORD clusters_amount DWORD  N,
tBpb *  Bpb
[static]
 

static int end_of_file tFile F  )  [static]
 

int fat_eof tFile F  ) 
 

int fat_read tFile F,
void *  Buffer,
int  Size
 

int fat_write tFile F,
void *  Buffer,
int  Size
 

static int first_free_cluster tVolume V,
DWORD Cluster
[static]
 

static int free_cluster_in_range tVolume V,
DWORD  From,
DWORD  To,
DWORD Cluster
[static]
 

static int move_to_targetpos tFile F,
tMoveType  Op
[static]
 

static int truncate_or_extend tFile F  )  [static]
 


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