Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
native_runtime_load.h
Go to the documentation of this file.
1/**
2 * @file
3 * @brief Declares helpers for loading native runtime metadata from manifests.
4 */
5
6#ifndef PHAROS_NATIVE_RUNTIME_LOAD_H
7#define PHAROS_NATIVE_RUNTIME_LOAD_H
8
10
11/** @name Runtime loading helpers
12 * @{
13 */
14/**
15 * @brief Loads runtime metadata for one app from an emitted artifact directory.
16 * @param artifact_dir Artifact directory containing runtime metadata files.
17 * @param app Destination runtime record to populate.
18 * @return 0 on success, or a non-zero native status code on failure.
19 */
20int load_app_runtime_from_artifact_native(const char *artifact_dir, AppRuntime *app);
21
22
23/** @} */
24#endif
int load_app_runtime_from_artifact_native(const char *artifact_dir, AppRuntime *app)
Loads runtime metadata for one app from an emitted artifact directory.
Defines shared native runtime data structures used across the Pharos C runtime.
Loaded runtime metadata for one Pharos app artifact.