CCF
Loading...
Searching...
No Matches
entry_points.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
6#include "ds/work_beacon.h"
7
8#include <cstdint>
9
10extern "C"
11{
13 const EnclaveConfig& enclave_config,
14 const ccf::StartupConfig& ccf_config,
15 std::vector<uint8_t>&& startup_snapshot,
16 std::vector<uint8_t>& node_cert,
17 std::vector<uint8_t>& service_cert,
18 StartType start_type,
19 ccf::LoggerLevel log_level,
20 size_t num_worker_thread,
21 const ccf::ds::WorkBeaconPtr& work_beacon);
22
23 bool enclave_run();
24}
CreateNodeStatus
Definition enclave_interface_types.h:8
StartType
Definition enclave_interface_types.h:92
bool enclave_run()
Definition main.cpp:173
CreateNodeStatus enclave_create_node(const EnclaveConfig &enclave_config, const ccf::StartupConfig &ccf_config, std::vector< uint8_t > &&startup_snapshot, std::vector< uint8_t > &node_cert, std::vector< uint8_t > &service_cert, StartType start_type, ccf::LoggerLevel log_level, size_t num_worker_thread, const ccf::ds::WorkBeaconPtr &work_beacon)
Definition main.cpp:24
std::shared_ptr< WorkBeacon > WorkBeaconPtr
Definition work_beacon.h:60
LoggerLevel
Definition logger_level.h:8
Definition configuration.h:32
Definition startup_config.h:106