2016-10-27 01:14:07 +00:00
|
|
|
#ifndef __DATASTORE_H__
|
|
|
|
#define __DATASTORE_H__
|
|
|
|
|
|
|
|
#include <stdint.h>
|
|
|
|
|
2016-10-27 03:32:23 +00:00
|
|
|
//const char* datastore_default_directory = "datastore";
|
2016-10-27 01:14:07 +00:00
|
|
|
|
2016-10-27 18:11:34 +00:00
|
|
|
struct Datastore {
|
2016-10-27 01:14:07 +00:00
|
|
|
char* type;
|
|
|
|
char* path;
|
|
|
|
char* storage_max;
|
|
|
|
int64_t storage_gc_watermark;
|
|
|
|
char* gc_period;
|
|
|
|
|
|
|
|
char* params;
|
|
|
|
int no_sync;
|
|
|
|
int hash_on_read;
|
|
|
|
int bloom_filter_size;
|
|
|
|
};
|
|
|
|
|
|
|
|
#endif
|