19 lines
212 B
C
19 lines
212 B
C
#ifndef FD_H
|
|
#define FD_H
|
|
|
|
#include <k/types.h>
|
|
|
|
#define MAX_FD 65535
|
|
|
|
struct file_entry
|
|
{
|
|
u8 open;
|
|
u32 lba;
|
|
u64 file_offset;
|
|
};
|
|
|
|
int register_fd(u32 lba);
|
|
int destroy_fd(int fd);
|
|
|
|
#endif /* !FD_H */
|