mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 15:55:06 +00:00
Add a Unix namespace for foo_t types.
This allows me to keep prototyping things on a random desktop machine, even if that machine has its own ideas about foo_t types.
This commit is contained in:
parent
c6d6ba7512
commit
1f41a36c52
16 changed files with 116 additions and 49 deletions
|
@ -4,6 +4,7 @@
|
|||
#include "InodeIdentifier.h"
|
||||
#include "InodeMetadata.h"
|
||||
#include "Limits.h"
|
||||
#include "UnixTypes.h"
|
||||
#include <AK/ByteBuffer.h>
|
||||
#include <AK/HashMap.h>
|
||||
#include <AK/OwnPtr.h>
|
||||
|
@ -28,7 +29,7 @@ public:
|
|||
virtual bool writeInode(InodeIdentifier, const ByteBuffer&) = 0;
|
||||
virtual InodeMetadata inodeMetadata(InodeIdentifier) const = 0;
|
||||
|
||||
virtual ssize_t readInodeBytes(InodeIdentifier, FileOffset offset, size_t count, byte* buffer) const = 0;
|
||||
virtual ssize_t readInodeBytes(InodeIdentifier, Unix::off_t offset, size_t count, byte* buffer) const = 0;
|
||||
|
||||
struct DirectoryEntry {
|
||||
String name;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue