storage: add struct StoragePlugin and a plugin registry
This commit is contained in:
@@ -23,9 +23,12 @@
|
||||
#include "check.h"
|
||||
#include "Compiler.h"
|
||||
|
||||
struct StoragePlugin;
|
||||
class Storage;
|
||||
class Path;
|
||||
|
||||
extern const StoragePlugin local_storage_plugin;
|
||||
|
||||
gcc_malloc gcc_nonnull_all
|
||||
Storage *
|
||||
CreateLocalStorage(Path base_fs);
|
||||
|
Reference in New Issue
Block a user