org.catacombae.jfuse.types.fuse26
Class FUSEFillDir

java.lang.Object
  extended by 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()
           
 
Methods inherited from class java.lang.Object
clone, equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

FUSEFillDir

public FUSEFillDir(byte[] nativeContextPointer)
Method Detail

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 entry
stat - (const struct stat*) file attributes, can be NULL
off - (off_t) offset of the next entry or zero
Returns:
true if buffer is full, false otherwise