blob: b4f61e0e81d382e7243b42069c461ee5fee8522d [file] [log] [blame]
b.liua76c9612025-03-28 13:58:09 +08001#ifndef _OTAD_H_
2#define _OTAD_H_
3
4#include "mbtk_log.h"
5
6
7#define OTA_DEBUG LOGD
8#define OTA_ERR LOGE
9#define UBUS_UNIX_SOCKET "/var/run/ubus/ubus.sock"
10
11enum {
12 OTA_TYPE_HTTP,
13 OTA_TYPE_UDP,
14 OTA_TYPE_SD,
15};
16
17
18// Add by liubin
19void revision_out_find(char *data, int len, unsigned int processed_cnt);
20int revision_out_update();
21// End by liubin
22#endif
23