diff options
author | 2019-05-02 17:10:08 +0200 | |
---|---|---|
committer | 2019-05-09 15:12:03 +0200 | |
commit | 97e91b39fceed0309b6863f508f92db2bcc3b114 (patch) | |
tree | 722d36869dbee8a7e6e5a96514fefb51fd5de119 /src/memdb.h | |
parent | 4dbd0881526d93198db2c5d0a2e15605bab9aaae (diff) |
Introduce Any DB abstraction and memdb on its top
Signed-off-by: Jose Bollo <jose.bollo@iot.bzh>
Diffstat (limited to 'src/memdb.h')
-rw-r--r-- | src/memdb.h | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/src/memdb.h b/src/memdb.h new file mode 100644 index 0000000..0f1c9e7 --- /dev/null +++ b/src/memdb.h @@ -0,0 +1,24 @@ +/* + * Copyright (C) 2018 "IoT.bzh" + * Author José Bollo <jose.bollo@iot.bzh> + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * Unless required by applicable law or agreed to in writing, software + * distributed under the License is distributed on an "AS IS" BASIS, + * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. + * See the License for the specific language governing permissions and + * limitations under the License. + */ + +#pragma once + +extern +int +memdb_create( + anydb_t **memdb +); |