3 ** Distributed under the terms of the MIT License.
5 #ifndef _FSSH_FS_INDEX_H
6 #define _FSSH_FS_INDEX_H
10 #include "fssh_dirent.h"
13 typedef struct fssh_index_info
{
16 fssh_time_t modification_time
;
17 fssh_time_t creation_time
;
27 extern int fssh_fs_create_index(fssh_dev_t device
, const char *name
,
28 uint32_t type
, uint32_t flags
);
29 extern int fssh_fs_remove_index(fssh_dev_t device
, const char *name
);
30 extern int fssh_fs_stat_index(fssh_dev_t device
, const char *name
,
31 struct fssh_index_info
*indexInfo
);
33 extern fssh_DIR
*fssh_fs_open_index_dir(fssh_dev_t device
);
34 extern int fssh_fs_close_index_dir(fssh_DIR
*indexDirectory
);
35 extern struct fssh_dirent
*fssh_fs_read_index_dir(fssh_DIR
*indexDirectory
);
36 extern void fssh_fs_rewind_index_dir(fssh_DIR
*indexDirectory
);
42 #endif /* _FSSH_FS_INDEX_H */