XenevaOS
Loading...
Searching...
No Matches
FatDir.h
Go to the documentation of this file.
1
30#ifndef __FAT_DIR_H__
31#define __FAT_DIR_H__
32
33#include <Fs\Fat\Fat.h>
34#include <Fs\Fat\FatFile.h>
35#include <Fs\vfs.h>
36#include <Fs\vdisk.h>
37#include <stdint.h>
38
39
40/*
41* FatCreateDir -- create an empty directory
42* @param fsys -- pointer to file system
43* @param parent_clust -- parent cluster which will
44* contain the newly created directory
45* @param filename -- name of the directory
46*/
47extern AuVFSNode* FatCreateDir(AuVFSNode* fsys, char* filename);
48
49/*
50* FatRemoveDir -- removes an empty directory
51* @param fsys -- Pointer to file system
52* @param file -- Pointer to directory node
53*/
54extern int FatRemoveDir(AuVFSNode* fsys, AuVFSNode* file);
55
56/*
57* FatOpenDir -- opens a directory
58* @param fs -- Pointer to file system node
59* @param path -- path of the directory
60*/
61extern AuVFSNode* FatOpenDir(AuVFSNode* fs, char *path);
62
63/*
64* FatDirectoyRead -- read a fat directory entry
65* @param fs -- File system node
66* @param dir -- Directory file
67* @param dirent -- Aurora Directory Entry
68*/
69extern int FatDirectoryRead(AuVFSNode* fs, AuVFSNode* dir, AuDirectoryEntry* dirent);
70#endif
int FatRemoveDir(AuVFSNode *fsys, AuVFSNode *file)
Definition FatDir.cpp:198
AuVFSNode * FatOpenDir(AuVFSNode *fs, char *path)
Definition FatDir.cpp:252
int FatDirectoryRead(AuVFSNode *fs, AuVFSNode *dir, AuDirectoryEntry *dirent)
Definition FatDir.cpp:298
AuVFSNode * FatCreateDir(AuVFSNode *fsys, char *filename)
Definition FatDir.cpp:46
char * path
Definition main.cpp:62
Definition vfs.h:64
Definition vfs.h:89