CCF
Loading...
Searching...
No Matches
include
ccf
service
tables
modules.h
Go to the documentation of this file.
1
// Copyright (c) Microsoft Corporation. All rights reserved.
2
// Licensed under the Apache 2.0 License.
3
#pragma once
4
5
#include "
ccf/service/map.h
"
6
7
#include <optional>
8
#include <stdint.h>
9
#include <string>
10
#include <vector>
11
12
namespace
ccf
13
{
14
using
Module
= std::string;
15
using
Modules
=
ccf::kv::RawCopySerialisedMap<std::string, Module>
;
16
using
ModulesQuickJsBytecode
=
17
ccf::kv::RawCopySerialisedMap<std::string, std::vector<uint8_t>
>;
18
using
ModulesQuickJsVersion
=
ccf::kv::RawCopySerialisedValue<std::string>
;
19
using
InterpreterFlush
=
ServiceValue<bool>
;
20
21
namespace
Tables
22
{
23
static
constexpr
auto
MODULES =
"public:ccf.gov.modules"
;
24
static
constexpr
auto
MODULES_QUICKJS_BYTECODE =
25
"public:ccf.gov.modules_quickjs_bytecode"
;
26
static
constexpr
auto
MODULES_QUICKJS_VERSION =
27
"public:ccf.gov.modules_quickjs_version"
;
28
static
constexpr
auto
INTERPRETER_FLUSH =
29
"public:ccf.gov.interpreter.flush"
;
30
}
31
}
ccf::kv::TypedMap
Definition
map.h:30
ccf::kv::TypedValue
Definition
value.h:32
ccf
Definition
app_interface.h:14
ccf::Module
std::string Module
Definition
modules.h:14
map.h
Generated by
1.9.8