10 lines
474 B
C
10 lines
474 B
C
#ifndef __SFS_H
|
|
#define __SFS_H
|
|
extern int sfs_check_if_exists(struct vfs_device_t *device, char *path, int type);
|
|
extern int sfs_change_directory(struct vfs_device_t *device, char *path);
|
|
extern int sfs_check_magic(int device);
|
|
extern int sfs_load_superblock(struct vfs_device_t *device);
|
|
extern void sfs_list_contents(struct vfs_device_t *device, char *cwd);
|
|
extern int sfs_read_data(struct vfs_device_t *device, char *filepath, char *buffer, int len, int offset);
|
|
#endif
|