Pharos
0.7.23
Modern Web Framework & Web App Hosting Service.
Toggle main menu visibility
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
9
#include "
native_runtime_types.h
"
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
*/
20
int
load_app_runtime_from_artifact_native
(
const
char
*artifact_dir,
AppRuntime
*app);
21
22
23
/** @} */
24
#endif
load_app_runtime_from_artifact_native
int load_app_runtime_from_artifact_native(const char *artifact_dir, AppRuntime *app)
Loads runtime metadata for one app from an emitted artifact directory.
Definition
native_runtime_load.c:37
native_runtime_types.h
Defines shared native runtime data structures used across the Pharos C runtime.
AppRuntime
Loaded runtime metadata for one Pharos app artifact.
Definition
native_runtime_types.h:37
src
native_runtime
c
native_runtime_load.h
Generated by
1.17.0