|
@@ -1,12 +1,17 @@
|
|
|
-module(store_kai).
|
|
|
-author('Maxim Sokhatsky').
|
|
|
-copyright('Synrc Research Center s.r.o.').
|
|
|
--include("config.hrl").
|
|
|
--include("metainfo.hrl").
|
|
|
+
|
|
|
+-include_lib("kvs/include/config.hrl").
|
|
|
+-include_lib("kvs/include/metainfo.hrl").
|
|
|
-include_lib("stdlib/include/qlc.hrl").
|
|
|
+
|
|
|
-compile([export_all, nowarn_export_all]).
|
|
|
+
|
|
|
+
|
|
|
-record(data, { key, bucket, last_modified, vector_clocks, checksum, flags, value }).
|
|
|
|
|
|
+
|
|
|
start() -> kai:start(), ok.
|
|
|
stop() -> kai_store:stop(), ok.
|
|
|
version() -> {version,"KVS KAI"}.
|