|
Pharos 0.7.23
Modern Web Framework & Web App Hosting Service.
|
Declares helpers for cloning AppRuntime values. More...
#include "native_runtime_types.h"Go to the source code of this file.
Functions | |
App runtime cloning helpers | |
| int | clone_app_runtime_native (const AppRuntime *source, AppRuntime *target) |
| Deep-copies one loaded app runtime into another record. | |
Declares helpers for cloning AppRuntime values.
Definition in file native_app_runtime_clone.h.
| int clone_app_runtime_native | ( | const AppRuntime * | source, |
| AppRuntime * | target ) |
Deep-copies one loaded app runtime into another record.
| source | Source runtime metadata to duplicate. |
| target | Destination runtime record to populate. |
Definition at line 44 of file native_app_runtime_clone.c.
References AppRuntime::app_id, AppRuntime::app_root, AppRuntime::artifact_dir, AppRuntime::base_path, AppRuntime::build_dir, clear_cloned_app_runtime(), clone_optional_string(), AppRuntime::compiled_entrypoint, AppRuntime::debug, AppRuntime::error_report_path, AppRuntime::host_profile, AppRuntime::log_format, AppRuntime::log_path, AppRuntime::runtime_conf_path, and AppRuntime::state_path.
Referenced by build_worker_context_native().