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