Main Page | Modules | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

ctfilesystem2.h File Reference

#include <chipcard/ctmemorycard.h>
#include <chipcard/ctdatacache.h>

Go to the source code of this file.

Classes

class  CTSuperBlock
class  CTDirEntry
class  CTCardFS
 Provides a file system on memory cards. More...
class  CTFile
class  CTDirectory

Defines

#define CTFILESYSTEM_VERSION_MAJOR   1
#define CTFILESYSTEM_VERSION_MINOR   0
#define CTFILESYSTEM_BASEBLOCKSIZE   32
#define CTFILESYSTEM_MAXSIZE   (64*1024)
#define CTFILESYSTEM_FAT_LENGTH   256
#define CTFS_SUPERBLOCK_FLAG_CRYPTED   0x0001
#define CTFS_SUPERBLOCK_FLAG_READONLY   0x0002


Define Documentation

#define CTFILESYSTEM_BASEBLOCKSIZE   32
 

Size of a base block. All other sizes used by the file system are multiple of this.

#define CTFILESYSTEM_FAT_LENGTH   256
 

#define CTFILESYSTEM_MAXSIZE   (64*1024)
 

Maximum capacity this file system supports. Actually this has implications to the size of the data cache. The hard limit is 64KB, because the ISO commands for the chipcard do not allow specifying an offset beyond 64KB.

#define CTFILESYSTEM_VERSION_MAJOR   1
 

#define CTFILESYSTEM_VERSION_MINOR   0
 

#define CTFS_SUPERBLOCK_FLAG_CRYPTED   0x0001
 

#define CTFS_SUPERBLOCK_FLAG_READONLY   0x0002
 


Generated on Fri Dec 3 23:10:24 2004 for libchipcard by  doxygen 1.3.9.1