Now a callback function is used to read blocks from disk. Used to cache blocks when iterating through the FS modules.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@2499 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Ingo Weinhold
2003-01-19 01:18:39 +00:00
parent e9a0da4169
commit 81f71acbee
+6 -1
View File
@@ -14,8 +14,13 @@
struct extended_partition_info;
struct fs_buffer_cache;
typedef status_t (*fs_get_buffer)(struct fs_buffer_cache *cache,
off_t offset, size_t size, void **buffer, size_t *actualSize);
typedef bool (*fs_identify_hook)(int deviceFD,
struct extended_partition_info *partitionInfo, float *priority);
struct extended_partition_info *partitionInfo, float *priority,
fs_get_buffer get_buffer, struct fs_buffer_cache *cache);
typedef struct fs_module_info {
module_info module;