diff --git a/src/state.hpp b/src/state.hpp index 6fb8e504..2cdbb4a5 100644 --- a/src/state.hpp +++ b/src/state.hpp @@ -31,6 +31,20 @@ public: FileInfo *fi; }; + struct OpenDir + { + OpenFile() + : ref_count(0), + backing_id(INVALID_BACKING_ID), + fi(nullptr) + { + } + + int ref_count; + int backing_id; + FileInfo *fi; + }; + public: struct GetSet {