C# Class Mono.Fuse.Samples.RedirectFS

Inheritance: FileSystem
Afficher le fichier Open project: jonpryor/mono-fuse Class Usage Examples

Méthodes publiques

Méthode Description
Main ( string args ) : void
RedirectFS ( ) : System

Méthodes protégées

Méthode Description
OnAccessPath ( string path, AccessModes mask ) : Errno
OnChangePathOwner ( string path, long uid, long gid ) : Errno
OnChangePathPermissions ( string path, FilePermissions mode ) : Errno
OnChangePathTimes ( string path, Utimbuf &buf ) : Errno
OnCreateDirectory ( string path, FilePermissions mode ) : Errno
OnCreateHardLink ( string from, string to ) : Errno
OnCreateSpecialFile ( string path, FilePermissions mode, ulong rdev ) : Errno
OnCreateSymbolicLink ( string from, string to ) : Errno
OnGetFileSystemStatus ( string path, Statvfs &stbuf ) : Errno
OnGetPathExtendedAttribute ( string path, string name, byte value, int &bytesWritten ) : Errno
OnGetPathStatus ( string path, Stat &buf ) : Errno
OnListPathExtendedAttributes ( string path, string &names ) : Errno
OnLockHandle ( string file, Mono.Fuse.OpenedPathInfo info, FcntlCommand cmd, Flock &@lock ) : Errno
OnOpenHandle ( string path, Mono.Fuse.OpenedPathInfo info ) : Errno
OnReadDirectory ( string path, Mono.Fuse.OpenedPathInfo fi, IEnumerable &paths ) : Errno
OnReadHandle ( string path, Mono.Fuse.OpenedPathInfo info, byte buf, long offset, int &bytesRead ) : Errno
OnReadSymbolicLink ( string path, string &target ) : Errno
OnReleaseHandle ( string path, Mono.Fuse.OpenedPathInfo info ) : Errno
OnRemoveDirectory ( string path ) : Errno
OnRemoveFile ( string path ) : Errno
OnRemovePathExtendedAttribute ( string path, string name ) : Errno
OnRenamePath ( string from, string to ) : Errno
OnSetPathExtendedAttribute ( string path, string name, byte value, XattrFlags flags ) : Errno
OnSynchronizeHandle ( string path, Mono.Fuse.OpenedPathInfo info, bool onlyUserData ) : Errno
OnTruncateFile ( string path, long size ) : Errno
OnWriteHandle ( string path, Mono.Fuse.OpenedPathInfo info, byte buf, long offset, int &bytesWritten ) : Errno

Private Methods

Méthode Description
Error ( string message ) : bool
ParseArguments ( string args ) : bool
ProcessFile ( string path, OpenFlags flags, FdCb cb ) : Errno
ShowHelp ( ) : void

Method Details

Main() public static méthode

public static Main ( string args ) : void
args string
Résultat void

OnAccessPath() protected méthode

protected OnAccessPath ( string path, AccessModes mask ) : Errno
path string
mask AccessModes
Résultat Errno

OnChangePathOwner() protected méthode

protected OnChangePathOwner ( string path, long uid, long gid ) : Errno
path string
uid long
gid long
Résultat Errno

OnChangePathPermissions() protected méthode

protected OnChangePathPermissions ( string path, FilePermissions mode ) : Errno
path string
mode FilePermissions
Résultat Errno

OnChangePathTimes() protected méthode

protected OnChangePathTimes ( string path, Utimbuf &buf ) : Errno
path string
buf Utimbuf
Résultat Errno

OnCreateDirectory() protected méthode

protected OnCreateDirectory ( string path, FilePermissions mode ) : Errno
path string
mode FilePermissions
Résultat Errno

OnCreateHardLink() protected méthode

protected OnCreateHardLink ( string from, string to ) : Errno
from string
to string
Résultat Errno

OnCreateSpecialFile() protected méthode

protected OnCreateSpecialFile ( string path, FilePermissions mode, ulong rdev ) : Errno
path string
mode FilePermissions
rdev ulong
Résultat Errno

OnCreateSymbolicLink() protected méthode

protected OnCreateSymbolicLink ( string from, string to ) : Errno
from string
to string
Résultat Errno

OnGetFileSystemStatus() protected méthode

protected OnGetFileSystemStatus ( string path, Statvfs &stbuf ) : Errno
path string
stbuf Statvfs
Résultat Errno

OnGetPathExtendedAttribute() protected méthode

protected OnGetPathExtendedAttribute ( string path, string name, byte value, int &bytesWritten ) : Errno
path string
name string
value byte
bytesWritten int
Résultat Errno

OnGetPathStatus() protected méthode

protected OnGetPathStatus ( string path, Stat &buf ) : Errno
path string
buf Stat
Résultat Errno

OnListPathExtendedAttributes() protected méthode

protected OnListPathExtendedAttributes ( string path, string &names ) : Errno
path string
names string
Résultat Errno

OnLockHandle() protected méthode

protected OnLockHandle ( string file, Mono.Fuse.OpenedPathInfo info, FcntlCommand cmd, Flock &@lock ) : Errno
file string
info Mono.Fuse.OpenedPathInfo
cmd FcntlCommand
@lock Flock
Résultat Errno

OnOpenHandle() protected méthode

protected OnOpenHandle ( string path, Mono.Fuse.OpenedPathInfo info ) : Errno
path string
info Mono.Fuse.OpenedPathInfo
Résultat Errno

OnReadDirectory() protected méthode

protected OnReadDirectory ( string path, Mono.Fuse.OpenedPathInfo fi, IEnumerable &paths ) : Errno
path string
fi Mono.Fuse.OpenedPathInfo
paths IEnumerable
Résultat Errno

OnReadHandle() protected méthode

protected OnReadHandle ( string path, Mono.Fuse.OpenedPathInfo info, byte buf, long offset, int &bytesRead ) : Errno
path string
info Mono.Fuse.OpenedPathInfo
buf byte
offset long
bytesRead int
Résultat Errno

OnReadSymbolicLink() protected méthode

protected OnReadSymbolicLink ( string path, string &target ) : Errno
path string
target string
Résultat Errno

OnReleaseHandle() protected méthode

protected OnReleaseHandle ( string path, Mono.Fuse.OpenedPathInfo info ) : Errno
path string
info Mono.Fuse.OpenedPathInfo
Résultat Errno

OnRemoveDirectory() protected méthode

protected OnRemoveDirectory ( string path ) : Errno
path string
Résultat Errno

OnRemoveFile() protected méthode

protected OnRemoveFile ( string path ) : Errno
path string
Résultat Errno

OnRemovePathExtendedAttribute() protected méthode

protected OnRemovePathExtendedAttribute ( string path, string name ) : Errno
path string
name string
Résultat Errno

OnRenamePath() protected méthode

protected OnRenamePath ( string from, string to ) : Errno
from string
to string
Résultat Errno

OnSetPathExtendedAttribute() protected méthode

protected OnSetPathExtendedAttribute ( string path, string name, byte value, XattrFlags flags ) : Errno
path string
name string
value byte
flags XattrFlags
Résultat Errno

OnSynchronizeHandle() protected méthode

protected OnSynchronizeHandle ( string path, Mono.Fuse.OpenedPathInfo info, bool onlyUserData ) : Errno
path string
info Mono.Fuse.OpenedPathInfo
onlyUserData bool
Résultat Errno

OnTruncateFile() protected méthode

protected OnTruncateFile ( string path, long size ) : Errno
path string
size long
Résultat Errno

OnWriteHandle() protected méthode

protected OnWriteHandle ( string path, Mono.Fuse.OpenedPathInfo info, byte buf, long offset, int &bytesWritten ) : Errno
path string
info Mono.Fuse.OpenedPathInfo
buf byte
offset long
bytesWritten int
Résultat Errno

RedirectFS() public méthode

public RedirectFS ( ) : System
Résultat System