Done major changes to libisofs, including multisession and reading support

This commit is contained in:
Mario Danic
2007-08-27 22:51:48 +00:00
parent 4398b35960
commit fc48c23932
19 changed files with 573 additions and 117 deletions

View File

@ -92,6 +92,12 @@ int main(int argc, char **argv)
usage();
return 1;
}
if (!iso_init()) {
err(1, "Can't init libisofs");
}
iso_msgs_set_severities("NEVER", "ALL", "");
fd = fopen(argv[optind+1], "w");
if (!fd) {
err(1, "error opening output file");
@ -133,7 +139,7 @@ int main(int argc, char **argv)
opts.level = level;
opts.flags = flags;
opts.relaxed_constraints = 0;//constraints;
opts.input_charset = "UTF-8";
opts.input_charset = NULL;//"UTF-8";
opts.ouput_charset = "UTF-8";
src = iso_source_new_ecma119(volset, &opts);
@ -143,5 +149,6 @@ int main(int argc, char **argv)
}
fclose(fd);
iso_finish();
return 0;
}