1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 #ifndef SMMSTORETOOL__STORAGE_H__
4 #define SMMSTORETOOL__STORAGE_H__
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
;
17 bool storage_open(const char store_file
[], struct storage_t
*storage
, bool rw
);
19 bool storage_write_back(struct storage_t
*storage
);
21 void storage_drop(struct storage_t
*storage
);
23 #endif // SMMSTORETOOL__STORAGE_H__