PrivMX Endpoint v2.7.0
Loading...
Searching...
No Matches
Constants.hpp
1/*
2PrivMX Endpoint.
3Copyright © 2024 Simplito sp. z o.o.
4
5This file is part of the PrivMX Platform (https://privmx.dev).
6This software is Licensed under the PrivMX Free License.
7
8See the License for the specific language governing permissions and
9limitations under the License.
10*/
11
12#ifndef _PRIVMXLIB_ENDPOINT_KVDB_CONSTANTS_HPP_
13#define _PRIVMXLIB_ENDPOINT_KVDB_CONSTANTS_HPP_
14
15#include <cstdint>
16
17namespace privmx {
18namespace endpoint {
19namespace kvdb {
20
21namespace KvdbDataSchema {
22 enum Version : int64_t {
23 UNKNOWN = 0,
24 VERSION_5 = 5
25 };
26}
27constexpr static KvdbDataSchema::Version CURRENT_KVDB_DATA_SCHEMA_VERSION = KvdbDataSchema::Version::VERSION_5;
28
29namespace KvdbEntryDataSchema {
30 enum Version : int64_t {
31 UNKNOWN = 0,
32 VERSION_5 = 5
33 };
34}
35constexpr static KvdbEntryDataSchema::Version CURRENT_KVDB_ENTRY_DATA_SCHEMA_VERSION = KvdbEntryDataSchema::Version::VERSION_5;
36
37} // namespace kvdb
38} // namespace endpoint
39} // namespace privmx
40
41#endif // #define _PRIVMXLIB_ENDPOINT_KVDB_CONSTANTS_HPP_
42