[HOS] Normalize new pkg2 identification

This commit is contained in:
ctcaer@gmail.com
2019-04-23 03:41:07 +03:00
parent 6aa1bdd1c6
commit 7c877c5bce
3 changed files with 5 additions and 6 deletions

View File

@@ -139,7 +139,7 @@ typedef struct _kip1_id_t
kip1_patchset_t* patchset;
} kip1_id_t;
void pkg2_parse_kips(link_t *info, pkg2_hdr_t *pkg2);
void pkg2_parse_kips(link_t *info, pkg2_hdr_t *pkg2, bool *new_pkg2);
int pkg2_has_kip(link_t *info, u64 tid);
void pkg2_replace_kip(link_t *info, u64 tid, pkg2_kip1_t *kip1);
void pkg2_add_kip(link_t *info, pkg2_kip1_t *kip1);