[][src]Type Definition yarf_sys::fuse_fill_dir_t

type fuse_fill_dir_t = Option<unsafe extern "C" fn(buf: *mut c_void, name: *const c_char, stbuf: *const stat, off: off_t) -> c_int>;

Function to add an entry in a readdir() operation

@param buf the buffer passed to the readdir() operation @param name the file name of the directory entry @param stat file attributes, can be NULL @param off offset of the next entry or zero @return 1 if buffer is full, zero otherwise