struct dir_context { ino_t dir; int flags; char *buf; int (*func)(struct ext2_dir_entry *dirent, int offset, int blocksize, char *buf, void *private); void *private; errcode_t errcode; };