blob: 14733257ec950501cca4d733b96bcd7fa675172d (
plain) (
tree)
|
|
#ifndef __STORAGE_H__
#define __STORAGE_H__
#include "storage_sqlite.h"
enum storage_type {
STORAGE_TYPE_SQLITE,
};
struct storage_settings {
enum storage_type type;
union {
struct storage_settings_sqlite sqlite;
};
};
void storage_settings_destroy(const struct storage_settings *);
struct storage {
enum storage_type type;
union {
struct storage_sqlite *sqlite;
};
};
int storage_create(struct storage *, const struct storage_settings *);
void storage_destroy(struct storage *);
#endif
|