diff options
Diffstat (limited to 'history.h')
-rw-r--r-- | history.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -175,6 +175,9 @@ private: /** Saves history */ void save_internal(bool vacuum); + /* Do a private, read-only map of the entirety of a history file with the given name. Returns true if successful. Returns the mapped memory region by reference. */ + bool map_file(const wcstring &name, const char **out_map_start, size_t *out_map_len, file_id_t *file_id); + /** Whether we're in maximum chaos mode, useful for testing */ bool chaos_mode; |