Convert file descriptors to generic streams
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
#pragma once
|
||||
|
||||
#include "src/kernel/fs.h"
|
||||
#include "src/kernel/stream.h"
|
||||
|
||||
#define FAT16 1
|
||||
|
||||
@@ -12,6 +13,8 @@ fs_node_t *fat16_open_at(const fs_node_t *directory, uint64_t index);
|
||||
|
||||
fs_node_t *fat16_open_again(const fs_node_t *source);
|
||||
|
||||
stream_t *fat16_open_stream(const fs_node_t *source);
|
||||
|
||||
void fat16_read(const fs_node_t *file, uint64_t offset, uint64_t size, void *to);
|
||||
|
||||
void fat16_close(fs_node_t *node);
|
||||
|
||||
Reference in New Issue
Block a user