Commit Graph

65 Commits

Author SHA1 Message Date
Fufu Fang
212e319f20 unified struct member name between link.h and cache.h 2019-04-24 04:21:38 +01:00
Fufu Fang
c6717e0450 changed a bunch of function to static function 2019-04-24 04:21:38 +01:00
Fufu Fang
e9e41165ae added CacheDir_create() and fs_release() 2019-04-24 04:21:38 +01:00
Fufu Fang
0c55dc5a0c wrote Seg_exist, Seg_set, refined CacheSystem_init 2019-04-24 04:21:38 +01:00
Fufu Fang
b1971a7c3f modified strndupcat, added more comments 2019-04-24 04:21:38 +01:00
Fufu Fang
e5c77f3680 Changed the way segments work, added more functions
Now segments are fixed size block of 128KiB
2019-04-24 04:21:38 +01:00
Fufu Fang
3d0269e90f added Cache_create 2019-04-24 04:21:38 +01:00
Fufu Fang
4b60b4e9be wrote the cache opening function 2019-04-24 04:21:38 +01:00
Fufu Fang
794fb9414f wrote more Cache_open 2019-04-24 04:21:37 +01:00
Fufu Fang
7ae6d6fe1b all the functions written so far compile fine, working on Cache_open 2019-04-24 04:21:37 +01:00
Fufu Fang
7cafdbf7d4 Completed metadata read/write functions 2019-04-24 04:21:37 +01:00
Fufu Fang
8d10316b95 changed the data type for file size. wrote Data_read() 2019-04-24 04:21:37 +01:00
Fufu Fang
c710904cfd wrote Data_create function 2019-04-24 04:21:37 +01:00
Fufu Fang
90eccb6049 created the skeletal cache.c 2019-04-24 04:21:37 +01:00
Fufu Fang
a3e2b0bc3b added some of the prototype for the cache controller 2019-04-24 04:21:37 +01:00