blob: b4f61e0e81d382e7243b42069c461ee5fee8522d [file] [log] [blame]
#ifndef _OTAD_H_
#define _OTAD_H_
#include "mbtk_log.h"
#define OTA_DEBUG LOGD
#define OTA_ERR LOGE
#define UBUS_UNIX_SOCKET "/var/run/ubus/ubus.sock"
enum {
OTA_TYPE_HTTP,
OTA_TYPE_UDP,
OTA_TYPE_SD,
};
// Add by liubin
void revision_out_find(char *data, int len, unsigned int processed_cnt);
int revision_out_update();
// End by liubin
#endif