1 Star 0 Fork 1

AmumuI/swupdate_progress

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
swupdate_status.h 722 Bytes
一键复制 编辑 原始数据 按行查看 历史
xiefu 提交于 2024-09-05 11:20 +08:00 . first commit.
/*
* (C) Copyright 2015-2017
* Stefano Babic, DENX Software Engineering, sbabic@denx.de.
*
* SPDX-License-Identifier: LGPL-2.1-or-later
*/
#ifndef _SWUPDATE_STATUS_H
#define _SWUPDATE_STATUS_H
#ifdef __cplusplus
extern "C" {
#endif
/*
* This is used to send back the result of an update.
* It is strictly forbidden to change the order of entries.
* New values should be put at the end without altering the order.
*/
typedef enum {
IDLE,
START,
RUN,
SUCCESS,
FAILURE,
DOWNLOAD,
DONE,
SUBPROCESS,
PROGRESS,
} RECOVERY_STATUS;
typedef enum {
SOURCE_UNKNOWN,
SOURCE_WEBSERVER,
SOURCE_SURICATTA,
SOURCE_DOWNLOADER,
SOURCE_LOCAL
} sourcetype;
#ifdef __cplusplus
} // extern "C"
#endif
#endif
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
1
https://gitee.com/AmumuL/swupdate_progress.git
git@gitee.com:AmumuL/swupdate_progress.git
AmumuL
swupdate_progress
swupdate_progress
master

搜索帮助