Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
Loading...
Searching...
No Matches
native_runtime_load.c File Reference

Loads AppRuntime values from the finalized artifact-local app manifest and validates required runtime fields. More...

#include "native_runtime_load.h"
#include "native_support.h"
#include "native_json_config.h"
#include <stdlib.h>
#include <string.h>

Go to the source code of this file.

Macros

#define pharos_runtime_load_strdup   strdup

Functions

static void free_loaded_app_runtime_fields (AppRuntime *app)
int load_app_runtime_from_artifact_native (const char *artifact_dir, AppRuntime *app)
 Loads runtime metadata for one app from an emitted artifact directory.

Detailed Description

Loads AppRuntime values from the finalized artifact-local app manifest and validates required runtime fields.

Definition in file native_runtime_load.c.

Macro Definition Documentation

◆ pharos_runtime_load_strdup

#define pharos_runtime_load_strdup   strdup

Definition at line 17 of file native_runtime_load.c.

Referenced by load_app_runtime_from_artifact_native().

Function Documentation

◆ free_loaded_app_runtime_fields()

◆ load_app_runtime_from_artifact_native()

int load_app_runtime_from_artifact_native ( const char * artifact_dir,
AppRuntime * app )