

Public Member Functions | |
| IntPtr | Open (out int errCode) |
| int | Release (IntPtr fh) |
| int | ReadDir (IntPtr fh, ulong offset, ReadDirCallback cb) |
| Node | Lookup (string name, ref int errCode) |
|
||||||||||||
|
if null is returned, then errCode will be used as the error code. The error code should be a negated errno (see enum Fuse.ErrorCode). Implemented in Sulf::DirNodeWrapper, Sulf::MapFS, and Sulf::PassthruDirNode. |
|
|
return directory handle (or fill errCode on error). This corresponds to an opendir() call. Implemented in Sulf::DirNodeWrapper, Sulf::MapFS, and Sulf::PassthruDirNode. |
|
||||||||||||||||
|
Read directory entries, starting at the given offset. Note that Unix directories normally contain special files "." and "..", so these should be added first, eg:
public int ReadDir( IntPtr fh, ulong offset, ReadDirCallback cb ) { // add standard entries cb(".", 0, (int)ModeFlags.Directory, 0); cb("..", 0, (int)ModeFlags.Directory, 0); // ... return 0; }
Implemented in Sulf::DirNodeWrapper, Sulf::MapFS, and Sulf::PassthruDirNode. |
|
|
Release directory handle. This corresponds to a closedir() call. Implemented in Sulf::DirNodeWrapper, Sulf::MapFS, and Sulf::PassthruDirNode. |
1.4.3