diff options
Diffstat (limited to 'src/flatfile.h')
-rw-r--r-- | src/flatfile.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/flatfile.h b/src/flatfile.h index 9c7131d201..b1eea93140 100644 --- a/src/flatfile.h +++ b/src/flatfile.h @@ -31,6 +31,9 @@ public: /** Get the name of the file at the given position. */ fs::path FileName(const CDiskBlockPos& pos) const; + + /** Open a handle to the file at the given position. */ + FILE* Open(const CDiskBlockPos& pos, bool fReadOnly = false); }; #endif // BITCOIN_FLATFILE_H |