more functions, cleanup and simple error checking

This commit is contained in:
Such Meme, Many Skill committed 2020-03-31 15:34:19 +02:00
1 parent 38f349618f
commit 30afcddd3a
5 files changed
+96 -101

No files matched your search

+2 -1
View File
@@ -20,7 +20,8 @@ enum utils_err_codes_te_call {
ERR_EMMC_READ_FAILED,
ERR_EMMC_WRITE_FAILED,
ERR_FILE_TOO_BIG_FOR_DEST,
ERR_SD_EJECTED
ERR_SD_EJECTED,
ERR_PARSE_FAIL
};
extern const char *utils_err_codes_te[];
+2 -1
View File
@@ -49,7 +49,8 @@ const char *utils_err_codes_te[] = { // these start at 50
"EMMC READ FAILED",
"EMMC WRITE FAILED",
"FILE TOO BIG FOR DEST",
"SD EJECTED"
"SD EJECTED",
"PARSING FAILED"
};
const char *pkg2names[] = {