diff options
author | Peter Elliott <pelliott@ualberta.ca> | 2020-07-16 15:23:03 -0600 |
---|---|---|
committer | Andreas Kling <kling@serenityos.org> | 2020-07-19 11:46:37 +0200 |
commit | d01eba6fa3e144367501c9295a03641cb81f532b (patch) | |
tree | 312c95e6a140666cbc74a80b6bc7f07c2ecc110c /Kernel/FileSystem/Inode.h | |
parent | 76e34968fa9a09bdeecbd0944f0f4baef0f2d967 (diff) | |
download | serenity-d01eba6fa3e144367501c9295a03641cb81f532b.zip |
Kernel: Implement FIFOs/named pipes
Diffstat (limited to 'Kernel/FileSystem/Inode.h')
-rw-r--r-- | Kernel/FileSystem/Inode.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/Kernel/FileSystem/Inode.h b/Kernel/FileSystem/Inode.h index ff15682fbc..d6a13f01fb 100644 --- a/Kernel/FileSystem/Inode.h +++ b/Kernel/FileSystem/Inode.h @@ -32,6 +32,7 @@ #include <AK/RefCounted.h> #include <AK/String.h> #include <AK/WeakPtr.h> +#include <Kernel/FileSystem/FIFO.h> #include <Kernel/FileSystem/FileSystem.h> #include <Kernel/FileSystem/InodeIdentifier.h> #include <Kernel/FileSystem/InodeMetadata.h> @@ -111,6 +112,8 @@ public: void register_watcher(Badge<InodeWatcher>, InodeWatcher&); void unregister_watcher(Badge<InodeWatcher>, InodeWatcher&); + FIFO& fifo(); + // For InlineLinkedListNode. Inode* m_next { nullptr }; Inode* m_prev { nullptr }; @@ -134,6 +137,7 @@ private: RefPtr<LocalSocket> m_socket; HashTable<InodeWatcher*> m_watchers; bool m_metadata_dirty { false }; + RefPtr<FIFO> m_fifo; }; } |