#ifndef __UPG_Hx__ #define __UPG_Hx__ #include "upgrade.h" #include "common.h" #include "xlist.h" enum { UPG_OK=0, UPG_BUSYING, UPG_HDR_FAIL, UPG_MD5_FAIL, }; int upg_init(void); int upg_host_send(int evt); int upg_board_list_set(char *s); handle_t upg_board_all_get(void); int upg_board_all_update(void); int upg_board_start(char *path); int upg_host_file_check(char *path); int upg_board_file_check(char *path); #endif