25 lines
600 B
C
25 lines
600 B
C
#ifndef FSCTL_FUGUE_DIRENT_H
|
|
#define FSCTL_FUGUE_DIRENT_H 1
|
|
|
|
#include "fsctl/fugue/bits/dirent.h"
|
|
#include "fsctl/fugue/bits/file.h"
|
|
|
|
//---
|
|
// API
|
|
//---
|
|
|
|
/* fugue_dirent_init() : init dirent object */
|
|
extern int fugue_dirent_init(fugue_dirent_t *dirent, fugue_fs_t *fs);
|
|
|
|
/* fugue_dirent_dir_fetch() : fetch the current dir blob and walk to next */
|
|
extern void *fugue_dirent_dir_fetch(fugue_dirent_t *dirent);
|
|
|
|
/* fugue_dirent_name_fetch() : fetch fragment */
|
|
extern int fugue_dirent_name_fetch(
|
|
fugue_dirent_t *dirent,
|
|
fugue_file_t *file,
|
|
void *dir
|
|
);
|
|
|
|
#endif /* FSCTL_FUGUE_DIRENT_H */
|