FreeNOS
Data Structures | Namespaces | Typedefs | Enumerations
FileSystem.h File Reference
#include <Types.h>

Go to the source code of this file.

Data Structures

struct  FileSystem::FileStat
 Contains file information. More...
 
struct  FileSystem::WaitSet
 Provides information about an inode. More...
 

Namespaces

 FileSystem
 

Typedefs

typedef u16 FileSystem::FileModes
 Multiple FileMode values combined. More...
 

Enumerations

enum  FileSystem::Action {
  FileSystem::CreateFile = 0, FileSystem::ReadFile, FileSystem::WriteFile, FileSystem::StatFile,
  FileSystem::DeleteFile, FileSystem::WaitFile, FileSystem::MountFileSystem, FileSystem::WaitFileSystem,
  FileSystem::GetFileSystems
}
 Actions which may be performed on a filesystem. More...
 
enum  FileSystem::Result {
  FileSystem::Success = 0, FileSystem::InvalidArgument, FileSystem::NotFound, FileSystem::RetryAgain,
  FileSystem::IOError, FileSystem::PermissionDenied, FileSystem::AlreadyExists, FileSystem::NotSupported,
  FileSystem::RedirectRequest, FileSystem::IpcError, FileSystem::TimedOut
}
 Result code for filesystem Actions. More...
 
enum  FileSystem::FileType {
  FileSystem::RegularFile = 0, FileSystem::DirectoryFile = 1, FileSystem::BlockDeviceFile = 2, FileSystem::CharacterDeviceFile = 3,
  FileSystem::SymlinkFile = 4, FileSystem::FIFOFile = 5, FileSystem::SocketFile = 6, FileSystem::UnknownFile = 7
}
 All possible filetypes. More...
 
enum  FileSystem::FileMode {
  FileSystem::OwnerR = 0400, FileSystem::OwnerW = 0200, FileSystem::OwnerX = 0100, FileSystem::OwnerRW = 0600,
  FileSystem::OwnerRX = 0500, FileSystem::OwnerRWX = 0700, FileSystem::GroupR = 0040, FileSystem::GroupW = 0020,
  FileSystem::GroupX = 0010, FileSystem::GroupRW = 0060, FileSystem::GroupRX = 0050, FileSystem::GroupRWX = 0070,
  FileSystem::OtherR = 0004, FileSystem::OtherW = 0002, FileSystem::OtherX = 0001, FileSystem::OtherRW = 0006,
  FileSystem::OtherRX = 0005, FileSystem::OtherRWX = 0007
}
 File access permissions. More...
 
enum  FileSystem::WaitStatus { FileSystem::Readable = (1 << 0), FileSystem::Writable = (1 << 1) }
 WaitSet status flags. More...