Nucleus
Barry System headers (remove libc dependency) 18495cf (3 years, 2 months ago)diff --git a/include/nucleus/vfs.h b/include/nucleus/vfs.h index 6bdf673..019c006 100644 --- a/include/nucleus/vfs.h +++ b/include/nucleus/vfs.h @@ -2,16 +2,13 @@ #define _NUCLEUS_VFS_H #include <stddef.h> +#include <sys/dirent.h> +#include <sys/limits.h> #include <sys/types.h> -#include <dirent.h> -#include <nucleus/object.h> #include <nucleus/memory.h> +#include <nucleus/object.h> #include <nucleus/types.h> -#define NFILES 32 -#define NAME_MAX 255 -#define PATH_MAX 1024 - typedef Inode *(*mount_callback_t)(FSType *, int, const char *, void *); /* Structure for a Super Block */ @@ -93,8 +90,6 @@ extern ObjectType fileType; void init_vfs(void); File *create_anonymous_file(void); void register_fstype(const char *name, mount_callback_t mount); -int mount(const char *src, const char *target, const char *type, - unsigned long flags, void *data); Inode *lookup(const char *path, ObjectList *newcustody); /* Super Block functions */