10#define UPDATE_OPERATION_ROOT_DIR_PACKAGE_MAGIC 0
11#define UPDATE_OPERATION_MAX_MANIFEST_PATH_LEN 255u
12#define UPDATE_OPERATION_MIN_MANIFEST_VERSION 2
21bool update_operation_get_package_dir_name(
const char* full_path,
FuriString* out_manifest_dir);
25 UpdatePrepareResultOK,
26 UpdatePrepareResultManifestPathInvalid,
27 UpdatePrepareResultManifestFolderNotFound,
28 UpdatePrepareResultManifestInvalid,
29 UpdatePrepareResultStageMissing,
30 UpdatePrepareResultStageIntegrityError,
31 UpdatePrepareResultManifestPointerCreateError,
32 UpdatePrepareResultManifestPointerCheckError,
33 UpdatePrepareResultTargetMismatch,
34 UpdatePrepareResultOutdatedManifestVersion,
35 UpdatePrepareResultIntFull,
36 UpdatePrepareResultUnspecifiedError,
39const char* update_operation_describe_preparation_result(
const UpdatePrepareResult value);
46UpdatePrepareResult update_operation_prepare(
const char* manifest_file_path);
54bool update_operation_get_current_package_manifest_path(
Storage* storage,
FuriString* out_path);
59bool update_operation_is_armed(
void);
64void update_operation_disarm(
void);
APIs for working with storages, directories and files.
Definition storage_i.h:23