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

Fuse::FileNode Interface Reference

Inheritance diagram for Fuse::FileNode:

Inheritance graph
[legend]
Collaboration diagram for Fuse::FileNode:

Collaboration graph
[legend]
List of all members.

Detailed Description

Interface for operation on file types.

The FileNode interface defines operations which are possible on various types of files. All operations may not be valid for every file type.


Public Member Functions

string ReadLink ()
 If the file is a symbolic link, return the link target.
IntPtr Open (uint flags, out int errCode)
int Release (IntPtr fh, uint flags)
int Flush (IntPtr fh)
int Read (IntPtr fh, FWBuffer data, uint size, ulong offset)


Member Function Documentation

int Fuse::FileNode::Flush IntPtr  fh  ) 
 

Flush is called on a close().. However this does not mean that the filehandle should be closed, because it might have been cloned. Instead Release() will be called when the last reference is closed.

Implemented in Sulf::GenericFileNode, and Sulf::PassthruFileNode.

IntPtr Fuse::FileNode::Open uint  flags,
out int  errCode
 

Open the file with the given flags and return a file descriptor.

Returns:
File descriptor on success (> 0), or a negative error code on failure (See Fuse.ErrorCode)

Implemented in Sulf::GenericFileNode, and Sulf::PassthruFileNode.

int Fuse::FileNode::Release IntPtr  fh,
uint  flags
 

Release the previously opened file descriptor.

Returns:
Zero on success, or a negative error code on failure (See Fuse.ErrorCode)

Implemented in Sulf::GenericFileNode, and Sulf::PassthruFileNode.


The documentation for this interface was generated from the following file:
Generated on Wed May 18 23:16:52 2005 for SULF by  doxygen 1.4.3