CCF
Loading...
Searching...
No Matches
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
12namespace ccf
13{
14 using Module = std::string;
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}
TypedValue< V, ccf::kv::serialisers::BlitSerialiser< V > > RawCopySerialisedValue
Definition value.h:93
TypedMap< K, V, ccf::kv::serialisers::BlitSerialiser< K >, ccf::kv::serialisers::BlitSerialiser< V > > RawCopySerialisedMap
Definition map.h:105
Definition app_interface.h:15
ccf::kv::ValueSerialisedWith< V, ccf::kv::serialisers::JsonSerialiser, ccf::kv::serialisers::ZeroBlitUnitCreator > ServiceValue
Definition map.h:28
ccf::kv::RawCopySerialisedValue< std::string > ModulesQuickJsVersion
Definition modules.h:18
ccf::kv::RawCopySerialisedMap< std::string, std::vector< uint8_t > > ModulesQuickJsBytecode
Definition modules.h:17
ccf::kv::RawCopySerialisedMap< std::string, Module > Modules
Definition modules.h:15
ServiceValue< bool > InterpreterFlush
Definition modules.h:19
std::string Module
Definition modules.h:14