fssh_DIR
#define DIR fssh_DIR
fssh_DIR *fssh_opendir(const char *dirname);
struct fssh_dirent *fssh_readdir(fssh_DIR *dir);
int fssh_readdir_r(fssh_DIR *dir, struct fssh_dirent *entry,
int fssh_closedir(fssh_DIR *dir);
void fssh_rewinddir(fssh_DIR *dir);
void fssh_seekdir(fssh_DIR *dir, long int loc);
long int fssh_telldir(fssh_DIR *);
extern fssh_DIR *fssh_fs_open_attr_dir(const char *path);
extern fssh_DIR *fssh_fs_fopen_attr_dir(int fd);
extern int fssh_fs_close_attr_dir(fssh_DIR *dir);
extern struct fssh_dirent *fssh_fs_read_attr_dir(fssh_DIR *dir);
extern void fssh_fs_rewind_attr_dir(fssh_DIR *dir);
extern fssh_DIR *fssh_fs_open_index_dir(fssh_dev_t device);
extern int fssh_fs_close_index_dir(fssh_DIR *indexDirectory);
extern struct fssh_dirent *fssh_fs_read_index_dir(fssh_DIR *indexDirectory);
extern void fssh_fs_rewind_index_dir(fssh_DIR *indexDirectory);
extern fssh_DIR* fssh_fs_open_query(fssh_dev_t device,
extern fssh_DIR* fssh_fs_open_live_query(fssh_dev_t device,
extern int fssh_fs_close_query(fssh_DIR *d);
extern struct fssh_dirent* fssh_fs_read_query(fssh_DIR *d);