Pharos
0.7.23
Modern Web Framework & Web App Hosting Service.
Toggle main menu visibility
Loading...
Searching...
No Matches
native_migrate_verify.h
Go to the documentation of this file.
1
/**
2
* @file
3
* @brief Declares native migration verification entry points.
4
*/
5
6
#ifndef PHAROS_NATIVE_MIGRATE_VERIFY_H
7
#define PHAROS_NATIVE_MIGRATE_VERIFY_H
8
9
#include "
native_runtime_types.h
"
10
11
/** @name Migration verification helpers
12
* @{
13
*/
14
/**
15
* @brief Captures a sqlite migration verification report for one app.
16
* @param config Active serve configuration.
17
* @param app Finalized app runtime to verify.
18
* @param status_out Optional destination for an allocated verification status string.
19
* @param error_out Optional destination for an allocated error message.
20
* @return Newly allocated JSON report text, or NULL on failure.
21
*/
22
char
*
native_capture_migrate_verify_sqlite_report_json
(
const
ServeConfig
*config,
const
AppRuntime
*app,
char
**status_out,
char
**error_out);
23
24
25
/** @} */
26
#endif
native_capture_migrate_verify_sqlite_report_json
char * native_capture_migrate_verify_sqlite_report_json(const ServeConfig *config, const AppRuntime *app, char **status_out, char **error_out)
Captures a sqlite migration verification report for one app.
Definition
native_migrate_verify.c:998
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
ServeConfig
Parsed native serve configuration used to bootstrap the runtime listener.
Definition
native_runtime_types.h:16
src
native_runtime
c
native_migrate_verify.h
Generated by
1.17.0