Turnstone Operating System
Loading...
Searching...
No Matches
fs.h File Reference

Filesystem header. More...

#include <types.h>
#include <disk.h>
#include <iterator.h>
#include <time.h>

Classes

struct  fs_stat_t
 
struct  path_t
 
struct  file_t
 
struct  directory_t
 
struct  path_interface_t
 
struct  filesystem_t
 

Macros

#define ___FS_H   0
 
#define PATH_DELIMETER_STR   "/"
 
#define PATH_DELIMETER_CHR   '/'
 
#define DIRECTORY_CURRENT_DIR   "."
 
#define DIRECTORY_PARENT_DIR   ".."
 

Typedefs

typedef enum fs_stat_type_t fs_stat_type_t
 
typedef struct fs_stat_t fs_stat_t
 
typedef struct path_context_t path_context_t
 
typedef struct path_t path_t
 
typedef enum file_seek_type_t file_seek_type_t
 
typedef struct file_context_t file_context_t
 
typedef struct file_t file_t
 
typedef struct directory_context_t directory_context_t
 
typedef struct directory_t directory_t
 
typedef void * path_interface_context_t
 
typedef struct path_interface_t path_interface_t
 
typedef struct filesystem_context_t filesystem_context_t
 
typedef struct filesystem_t filesystem_t
 

Enumerations

enum  fs_stat_type_t { FS_STAT_TYPE_NULL , FS_STAT_TYPE_FILE , FS_STAT_TYPE_DIR }
 
enum  file_seek_type_t { FILE_SEEK_TYPE_SET , FILE_SEEK_TYPE_CUR , FILE_SEEK_TYPE_END }
 

Functions

path_tfilesystem_new_path (filesystem_t *fs, const char_t *path_string)
 
path_interface_tfilesystem_empty_path_interface (filesystem_t *fs, path_t *p, fs_stat_type_t type)
 

Detailed Description

Filesystem header.

This work is licensed under TURNSTONE OS Public License. Please read and understand latest version of Licence.