org.catacombae.jfuse.types.fuse26
Class FUSEFillDir
java.lang.Object
org.catacombae.jfuse.types.fuse26.FUSEFillDir
public class FUSEFillDir
- extends Object
Constructor Summary |
FUSEFillDir(byte[] nativeContextPointer)
|
Method Summary |
boolean |
fill(byte[] name,
Stat stat,
long off)
Function to add an entry in a readdir() operation |
void |
finalize()
|
FUSEFillDir
public FUSEFillDir(byte[] nativeContextPointer)
finalize
public void finalize()
throws Throwable
- Overrides:
finalize
in class Object
- Throws:
Throwable
fill
public boolean fill(byte[] name,
Stat stat,
long off)
- Function to add an entry in a readdir() operation
- Parameters:
name
- (const char*) the file name of the directory entrystat
- (const struct stat*) file attributes, can be NULLoff
- (off_t) offset of the next entry or zero
- Returns:
- true if buffer is full, false otherwise