Loading...
Searching...
No Matches
RuntimeManifest.h
Go to the documentation of this file.
1// SPDX-License-Identifier: MIT
2// Copyright (c) gpridge developers
3// See LICENSE for details.
4
5#pragma once
6
7#include <string>
8#include <vector>
9
10namespace gpr::runtime {
11
15struct Component {
16 std::string name;
17 std::string version;
18 std::string role;
19 std::string load = "linked";
20 std::string path;
21 std::string sha256;
22 bool verified = false;
23};
24
27void registerComponent(Component component);
28
30[[nodiscard]] std::vector<Component> components();
31
35[[nodiscard]] std::string manifestJson();
36[[nodiscard]] std::string manifestSha256();
37
38} // namespace gpr::runtime
void registerComponent(Component component)
std::string manifestJson()
std::vector< Component > components()
A stable snapshot including the linked ABI dependencies.
std::string manifestSha256()
std::string load
linked, dlopen, or inprocess