storage: add struct StoragePlugin and a plugin registry

This commit is contained in:
Max Kellermann
2014-02-05 19:23:02 +01:00
parent be081929f4
commit a0088ccce1
9 changed files with 177 additions and 6 deletions

View File

@@ -22,10 +22,8 @@
#include "check.h"
class Error;
class Storage;
struct StoragePlugin;
Storage *
CreateSmbclientStorage(const char *base, Error &error);
extern const StoragePlugin smbclient_storage_plugin;
#endif