Debian Codegraph @

util/smmstoretool/storage.h

raw symbols SCIP
1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2
3 #ifndef SMMSTORETOOL__STORAGE_H__
4 #define SMMSTORETOOL__STORAGE_H__
5
6 #include "vs.h"
7 #include "utils.h"
8
9 struct storage_t {
10 bool rw;
11 struct mem_range_t file;
12 struct mem_range_t region;
13 struct mem_range_t store_area;
14 struct var_store_t vs;
15 };
16
17 bool storage_open(const char store_file[], struct storage_t *storage, bool rw);
18
19 bool storage_write_back(struct storage_t *storage);
20
21 void storage_drop(struct storage_t *storage);
22
23 #endif // SMMSTORETOOL__STORAGE_H__