New API call iso_file_source_get_aa_string()

and IsoFileSource_Iface.version == 1 with ifs_class
Now libisofs is able to load AA strings from images and to store them again.
This commit is contained in:
2009-01-15 21:58:48 +01:00
parent de99f93640
commit 9dc56426c0
5 changed files with 101 additions and 7 deletions

View File

@@ -115,3 +115,17 @@ IsoFilesystem* iso_file_source_get_filesystem(IsoFileSource *src)
{
return src->class->get_filesystem(src);
}
/* ts A90115 */
inline
int iso_file_source_get_aa_string(IsoFileSource *src,
unsigned char **aa_string, int flag)
{
if (src->class->version < 1) {
*aa_string = NULL;
return 1;
}
return src->class->get_aa_string(src, aa_string, flag);
}